Home
last modified time | relevance | path

Searched refs:dca (Results 1 - 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/dca/
H A Ddca-core.c13 #include <linux/dca.h>
79 struct dca_provider *dca, *_dca; in unregister_dca_providers() local
99 list_for_each_entry_safe(dca, _dca, &domain->dca_providers, node) in unregister_dca_providers()
100 list_move(&dca->node, &unregistered_providers); in unregister_dca_providers()
106 list_for_each_entry_safe(dca, _dca, &unregistered_providers, node) { in unregister_dca_providers()
107 dca_sysfs_remove_provider(dca); in unregister_dca_providers()
108 list_del(&dca->node); in unregister_dca_providers()
141 struct dca_provider *dca; in dca_find_provider_by_dev() local
159 list_for_each_entry(dca, &domain->dca_providers, node) in dca_find_provider_by_dev()
160 if ((!dev) || (dca in dca_find_provider_by_dev()
172 struct dca_provider *dca; dca_add_requester() local
227 struct dca_provider *dca; dca_remove_requester() local
259 struct dca_provider *dca; dca_common_get_tag() local
311 struct dca_provider *dca; alloc_dca_provider() local
329 free_dca_provider(struct dca_provider *dca) free_dca_provider() argument
340 register_dca_provider(struct dca_provider *dca, struct device *dev) register_dca_provider() argument
397 unregister_dca_provider(struct dca_provider *dca, struct device *dev) unregister_dca_provider() argument
[all...]
H A Ddca-sysfs.c12 #include <linux/dca.h>
20 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot) in dca_sysfs_add_req() argument
25 cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL, in dca_sysfs_add_req()
30 void dca_sysfs_remove_req(struct dca_provider *dca, int slot) in dca_sysfs_remove_req() argument
35 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev) in dca_sysfs_add_provider() argument
43 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
45 dca->id = ret; in dca_sysfs_add_provider()
52 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id); in dca_sysfs_add_provider()
55 idr_remove(&dca_idr, dca in dca_sysfs_add_provider()
63 dca_sysfs_remove_provider(struct dca_provider *dca) dca_sysfs_remove_provider() argument
[all...]
H A DMakefile2 obj-$(CONFIG_DCA) += dca.o
3 dca-objs := dca-core.o dca-sysfs.o
/kernel/linux/linux-6.6/drivers/dca/
H A Ddca-core.c13 #include <linux/dca.h>
79 struct dca_provider *dca, *_dca; in unregister_dca_providers() local
99 list_for_each_entry_safe(dca, _dca, &domain->dca_providers, node) in unregister_dca_providers()
100 list_move(&dca->node, &unregistered_providers); in unregister_dca_providers()
106 list_for_each_entry_safe(dca, _dca, &unregistered_providers, node) { in unregister_dca_providers()
107 dca_sysfs_remove_provider(dca); in unregister_dca_providers()
108 list_del(&dca->node); in unregister_dca_providers()
141 struct dca_provider *dca; in dca_find_provider_by_dev() local
159 list_for_each_entry(dca, &domain->dca_providers, node) in dca_find_provider_by_dev()
160 if ((!dev) || (dca in dca_find_provider_by_dev()
172 struct dca_provider *dca; dca_add_requester() local
227 struct dca_provider *dca; dca_remove_requester() local
259 struct dca_provider *dca; dca_common_get_tag() local
309 struct dca_provider *dca; alloc_dca_provider() local
327 free_dca_provider(struct dca_provider *dca) free_dca_provider() argument
338 register_dca_provider(struct dca_provider *dca, struct device *dev) register_dca_provider() argument
395 unregister_dca_provider(struct dca_provider *dca, struct device *dev) unregister_dca_provider() argument
[all...]
H A Ddca-sysfs.c12 #include <linux/dca.h>
20 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot) in dca_sysfs_add_req() argument
25 cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL, in dca_sysfs_add_req()
30 void dca_sysfs_remove_req(struct dca_provider *dca, int slot) in dca_sysfs_remove_req() argument
35 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev) in dca_sysfs_add_provider() argument
43 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
45 dca->id = ret; in dca_sysfs_add_provider()
52 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id); in dca_sysfs_add_provider()
55 idr_remove(&dca_idr, dca in dca_sysfs_add_provider()
63 dca_sysfs_remove_provider(struct dca_provider *dca) dca_sysfs_remove_provider() argument
[all...]
H A DMakefile2 obj-$(CONFIG_DCA) += dca.o
3 dca-objs := dca-core.o dca-sysfs.o
/kernel/linux/linux-5.10/include/linux/
H A Ddca.h42 void free_dca_provider(struct dca_provider *dca);
43 int register_dca_provider(struct dca_provider *dca, struct device *dev);
44 void unregister_dca_provider(struct dca_provider *dca, struct device *dev);
46 static inline void *dca_priv(struct dca_provider *dca) in dca_priv() argument
48 return (void *)dca + sizeof(struct dca_provider); in dca_priv()
61 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev);
62 void dca_sysfs_remove_provider(struct dca_provider *dca);
63 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot);
64 void dca_sysfs_remove_req(struct dca_provider *dca, int slot);
/kernel/linux/linux-6.6/include/linux/
H A Ddca.h42 void free_dca_provider(struct dca_provider *dca);
43 int register_dca_provider(struct dca_provider *dca, struct device *dev);
44 void unregister_dca_provider(struct dca_provider *dca, struct device *dev);
46 static inline void *dca_priv(struct dca_provider *dca) in dca_priv() argument
48 return (void *)dca + sizeof(struct dca_provider); in dca_priv()
61 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev);
62 void dca_sysfs_remove_provider(struct dca_provider *dca);
63 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot);
64 void dca_sysfs_remove_req(struct dca_provider *dca, int slot);
/kernel/linux/linux-5.10/drivers/dma/ioat/
H A Ddca.c11 #include <linux/dca.h>
98 static int ioat_dca_dev_managed(struct dca_provider *dca, in ioat_dca_dev_managed() argument
101 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_dev_managed()
113 static int ioat_dca_add_requester(struct dca_provider *dca, struct device *dev) in ioat_dca_add_requester() argument
115 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_add_requester()
147 static int ioat_dca_remove_requester(struct dca_provider *dca, in ioat_dca_remove_requester() argument
150 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_remove_requester()
174 static u8 ioat_dca_get_tag(struct dca_provider *dca, in ioat_dca_get_tag() argument
180 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_get_tag()
249 struct dca_provider *dca; in ioat_dca_init() local
[all...]
H A DMakefile3 ioatdma-y := init.o dma.o prep.o dca.o sysfs.o
H A Dinit.c17 #include <linux/dca.h>
128 MODULE_PARM_DESC(ioat_dca_enabled, "control support of dca service (default: 1)");
1087 static int ioat3_dma_probe(struct ioatdma_device *ioat_dma, int dca) in ioat3_dma_probe() argument
1112 /* dca is incompatible with raid operations */ in ioat3_dma_probe()
1190 if (dca) in ioat3_dma_probe()
1191 ioat_dma->dca = ioat_dca_init(pdev, ioat_dma->reg_base); in ioat3_dma_probe()
1415 dev_err(&pdev->dev, "Removing dma and dca services\n"); in ioat_remove()
1416 if (device->dca) { in ioat_remove()
1417 unregister_dca_provider(device->dca, &pdev->dev); in ioat_remove()
1418 free_dca_provider(device->dca); in ioat_remove()
[all...]
H A Ddma.h59 * @dca: direct cache access context
74 struct dca_provider *dca; member
/kernel/linux/linux-6.6/drivers/dma/ioat/
H A Ddca.c11 #include <linux/dca.h>
98 static int ioat_dca_dev_managed(struct dca_provider *dca, in ioat_dca_dev_managed() argument
101 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_dev_managed()
113 static int ioat_dca_add_requester(struct dca_provider *dca, struct device *dev) in ioat_dca_add_requester() argument
115 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_add_requester()
147 static int ioat_dca_remove_requester(struct dca_provider *dca, in ioat_dca_remove_requester() argument
150 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_remove_requester()
174 static u8 ioat_dca_get_tag(struct dca_provider *dca, in ioat_dca_get_tag() argument
180 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_get_tag()
249 struct dca_provider *dca; in ioat_dca_init() local
[all...]
H A DMakefile3 ioatdma-y := init.o dma.o prep.o dca.o sysfs.o
H A Dinit.c17 #include <linux/dca.h>
127 MODULE_PARM_DESC(ioat_dca_enabled, "control support of dca service (default: 1)");
1087 static int ioat3_dma_probe(struct ioatdma_device *ioat_dma, int dca) in ioat3_dma_probe() argument
1112 /* dca is incompatible with raid operations */ in ioat3_dma_probe()
1190 if (dca) in ioat3_dma_probe()
1191 ioat_dma->dca = ioat_dca_init(pdev, ioat_dma->reg_base); in ioat3_dma_probe()
1403 dev_err(&pdev->dev, "Removing dma and dca services\n"); in ioat_remove()
1404 if (device->dca) { in ioat_remove()
1405 unregister_dca_provider(device->dca, &pdev->dev); in ioat_remove()
1406 free_dca_provider(device->dca); in ioat_remove()
[all...]
H A Ddma.h59 * @dca: direct cache access context
74 struct dca_provider *dca; member
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_llh_internal.h136 /* register address for bitfield dca{d}_cpuid[7:0] */
137 #define HW_ATL_RDM_DCADCPUID_ADR(dca) (0x00006100 + (dca) * 0x4)
138 /* bitmask for bitfield dca{d}_cpuid[7:0] */
140 /* lower bit position of bitfield dca{d}_cpuid[7:0] */
201 /* rx dca{d}_desc_en bitfield definitions
202 * preprocessor definitions for the bitfield "dca{d}_desc_en".
203 * parameter: dca {d} | stride size 0x4 | range [0, 31]
207 /* register address for bitfield dca{d}_desc_en */
208 #define HW_ATL_RDM_DCADDESC_EN_ADR(dca) (
[all...]
H A Dhw_atl_llh.h165 void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
167 /* set rx dca enable */
170 /* set rx dca mode */
178 /* set rx descriptor dca enable */
180 u32 dca);
202 /* set rx header dca enable */
204 u32 dca);
206 /* set rx payload dca enable */
208 u32 dca);
582 void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
[all...]
H A Dhw_atl_llh.c351 void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca) in hw_atl_rdm_cpu_id_set() argument
353 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADCPUID_ADR(dca), in hw_atl_rdm_cpu_id_set()
382 u32 dca) in hw_atl_rdm_rx_desc_dca_en_set()
384 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADDESC_EN_ADR(dca), in hw_atl_rdm_rx_desc_dca_en_set()
453 u32 dca) in hw_atl_rdm_rx_head_dca_en_set()
455 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADHDR_EN_ADR(dca), in hw_atl_rdm_rx_head_dca_en_set()
462 u32 dca) in hw_atl_rdm_rx_pld_dca_en_set()
464 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADPAY_EN_ADR(dca), in hw_atl_rdm_rx_pld_dca_en_set()
1241 void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca) in hw_atl_tdm_cpu_id_set() argument
1243 aq_hw_write_reg_bit(aq_hw, HW_ATL_TDM_DCADCPUID_ADR(dca), in hw_atl_tdm_cpu_id_set()
381 hw_atl_rdm_rx_desc_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_desc_dca_en, u32 dca) hw_atl_rdm_rx_desc_dca_en_set() argument
452 hw_atl_rdm_rx_head_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_head_dca_en, u32 dca) hw_atl_rdm_rx_head_dca_en_set() argument
461 hw_atl_rdm_rx_pld_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_pld_dca_en, u32 dca) hw_atl_rdm_rx_pld_dca_en_set() argument
1267 hw_atl_tdm_tx_desc_dca_en_set(struct aq_hw_s *aq_hw, u32 tx_desc_dca_en, u32 dca) hw_atl_tdm_tx_desc_dca_en_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_llh_internal.h136 /* register address for bitfield dca{d}_cpuid[7:0] */
137 #define HW_ATL_RDM_DCADCPUID_ADR(dca) (0x00006100 + (dca) * 0x4)
138 /* bitmask for bitfield dca{d}_cpuid[7:0] */
140 /* lower bit position of bitfield dca{d}_cpuid[7:0] */
201 /* rx dca{d}_desc_en bitfield definitions
202 * preprocessor definitions for the bitfield "dca{d}_desc_en".
203 * parameter: dca {d} | stride size 0x4 | range [0, 31]
207 /* register address for bitfield dca{d}_desc_en */
208 #define HW_ATL_RDM_DCADDESC_EN_ADR(dca) (
[all...]
H A Dhw_atl_llh.h165 void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
167 /* set rx dca enable */
170 /* set rx dca mode */
178 /* set rx descriptor dca enable */
180 u32 dca);
202 /* set rx header dca enable */
204 u32 dca);
206 /* set rx payload dca enable */
208 u32 dca);
582 void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
[all...]
H A Dhw_atl_llh.c351 void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca) in hw_atl_rdm_cpu_id_set() argument
353 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADCPUID_ADR(dca), in hw_atl_rdm_cpu_id_set()
382 u32 dca) in hw_atl_rdm_rx_desc_dca_en_set()
384 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADDESC_EN_ADR(dca), in hw_atl_rdm_rx_desc_dca_en_set()
453 u32 dca) in hw_atl_rdm_rx_head_dca_en_set()
455 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADHDR_EN_ADR(dca), in hw_atl_rdm_rx_head_dca_en_set()
462 u32 dca) in hw_atl_rdm_rx_pld_dca_en_set()
464 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADPAY_EN_ADR(dca), in hw_atl_rdm_rx_pld_dca_en_set()
1241 void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca) in hw_atl_tdm_cpu_id_set() argument
1243 aq_hw_write_reg_bit(aq_hw, HW_ATL_TDM_DCADCPUID_ADR(dca), in hw_atl_tdm_cpu_id_set()
381 hw_atl_rdm_rx_desc_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_desc_dca_en, u32 dca) hw_atl_rdm_rx_desc_dca_en_set() argument
452 hw_atl_rdm_rx_head_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_head_dca_en, u32 dca) hw_atl_rdm_rx_head_dca_en_set() argument
461 hw_atl_rdm_rx_pld_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_pld_dca_en, u32 dca) hw_atl_rdm_rx_pld_dca_en_set() argument
1267 hw_atl_tdm_tx_desc_dca_en_set(struct aq_hw_s *aq_hw, u32 tx_desc_dca_en, u32 dca) hw_atl_tdm_tx_desc_dca_en_set() argument
[all...]
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dcpu.h114 C(dca, 18)
/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/
H A Dqbman-portal.h79 u8 dca; member
/kernel/linux/linux-6.6/drivers/soc/fsl/dpio/
H A Dqbman-portal.h81 u8 dca; member

Completed in 23 milliseconds

12