@@ -69,7 +69,6 @@ int pci_enable_ats(struct pci_dev *dev, int ps)
69
69
dev -> ats_enabled = 1 ;
70
70
return 0 ;
71
71
}
72
- EXPORT_SYMBOL_GPL (pci_enable_ats );
73
72
74
73
/**
75
74
* pci_disable_ats - disable the ATS capability
@@ -88,7 +87,6 @@ void pci_disable_ats(struct pci_dev *dev)
88
87
89
88
dev -> ats_enabled = 0 ;
90
89
}
91
- EXPORT_SYMBOL_GPL (pci_disable_ats );
92
90
93
91
void pci_restore_ats_state (struct pci_dev * dev )
94
92
{
@@ -102,7 +100,6 @@ void pci_restore_ats_state(struct pci_dev *dev)
102
100
ctrl |= PCI_ATS_CTRL_STU (dev -> ats_stu - PCI_ATS_MIN_STU );
103
101
pci_write_config_word (dev , dev -> ats_cap + PCI_ATS_CTRL , ctrl );
104
102
}
105
- EXPORT_SYMBOL_GPL (pci_restore_ats_state );
106
103
107
104
/**
108
105
* pci_ats_queue_depth - query the ATS Invalidate Queue Depth
@@ -129,7 +126,6 @@ int pci_ats_queue_depth(struct pci_dev *dev)
129
126
pci_read_config_word (dev , dev -> ats_cap + PCI_ATS_CAP , & cap );
130
127
return PCI_ATS_CAP_QDEP (cap ) ? PCI_ATS_CAP_QDEP (cap ) : PCI_ATS_MAX_QDEP ;
131
128
}
132
- EXPORT_SYMBOL_GPL (pci_ats_queue_depth );
133
129
134
130
/**
135
131
* pci_ats_page_aligned - Return Page Aligned Request bit status.
@@ -156,7 +152,6 @@ int pci_ats_page_aligned(struct pci_dev *pdev)
156
152
157
153
return 0 ;
158
154
}
159
- EXPORT_SYMBOL_GPL (pci_ats_page_aligned );
160
155
161
156
#ifdef CONFIG_PCI_PRI
162
157
void pci_pri_init (struct pci_dev * pdev )
@@ -218,7 +213,6 @@ int pci_enable_pri(struct pci_dev *pdev, u32 reqs)
218
213
219
214
return 0 ;
220
215
}
221
- EXPORT_SYMBOL_GPL (pci_enable_pri );
222
216
223
217
/**
224
218
* pci_disable_pri - Disable PRI capability
@@ -271,7 +265,6 @@ void pci_restore_pri_state(struct pci_dev *pdev)
271
265
pci_write_config_dword (pdev , pri + PCI_PRI_ALLOC_REQ , reqs );
272
266
pci_write_config_word (pdev , pri + PCI_PRI_CTRL , control );
273
267
}
274
- EXPORT_SYMBOL_GPL (pci_restore_pri_state );
275
268
276
269
/**
277
270
* pci_reset_pri - Resets device's PRI state
@@ -299,7 +292,6 @@ int pci_reset_pri(struct pci_dev *pdev)
299
292
300
293
return 0 ;
301
294
}
302
- EXPORT_SYMBOL_GPL (pci_reset_pri );
303
295
304
296
/**
305
297
* pci_prg_resp_pasid_required - Return PRG Response PASID Required bit
@@ -315,7 +307,6 @@ int pci_prg_resp_pasid_required(struct pci_dev *pdev)
315
307
316
308
return pdev -> pasid_required ;
317
309
}
318
- EXPORT_SYMBOL_GPL (pci_prg_resp_pasid_required );
319
310
#endif /* CONFIG_PCI_PRI */
320
311
321
312
#ifdef CONFIG_PCI_PASID
@@ -373,7 +364,6 @@ int pci_enable_pasid(struct pci_dev *pdev, int features)
373
364
374
365
return 0 ;
375
366
}
376
- EXPORT_SYMBOL_GPL (pci_enable_pasid );
377
367
378
368
/**
379
369
* pci_disable_pasid - Disable the PASID capability
@@ -398,7 +388,6 @@ void pci_disable_pasid(struct pci_dev *pdev)
398
388
399
389
pdev -> pasid_enabled = 0 ;
400
390
}
401
- EXPORT_SYMBOL_GPL (pci_disable_pasid );
402
391
403
392
/**
404
393
* pci_restore_pasid_state - Restore PASID capabilities
@@ -421,7 +410,6 @@ void pci_restore_pasid_state(struct pci_dev *pdev)
421
410
control = PCI_PASID_CTRL_ENABLE | pdev -> pasid_features ;
422
411
pci_write_config_word (pdev , pasid + PCI_PASID_CTRL , control );
423
412
}
424
- EXPORT_SYMBOL_GPL (pci_restore_pasid_state );
425
413
426
414
/**
427
415
* pci_pasid_features - Check which PASID features are supported
@@ -450,7 +438,6 @@ int pci_pasid_features(struct pci_dev *pdev)
450
438
451
439
return supported ;
452
440
}
453
- EXPORT_SYMBOL_GPL (pci_pasid_features );
454
441
455
442
#define PASID_NUMBER_SHIFT 8
456
443
#define PASID_NUMBER_MASK (0x1f << PASID_NUMBER_SHIFT)
@@ -478,5 +465,4 @@ int pci_max_pasids(struct pci_dev *pdev)
478
465
479
466
return (1 << supported );
480
467
}
481
- EXPORT_SYMBOL_GPL (pci_max_pasids );
482
468
#endif /* CONFIG_PCI_PASID */
0 commit comments