Home
last modified time | relevance | path

Searched refs:dca (Results 1 – 17 of 17) sorted by relevance

/drivers/dca/
Ddca-core.c79 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->ops->dev_managed(dca, dev))) in dca_find_provider_by_dev()
161 return dca; in dca_find_provider_by_dev()
[all …]
Ddca-sysfs.c20 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->id); in dca_sysfs_add_provider()
59 dca->cd = cd; in dca_sysfs_add_provider()
63 void dca_sysfs_remove_provider(struct dca_provider *dca) in dca_sysfs_remove_provider() argument
[all …]
DMakefile2 obj-$(CONFIG_DCA) += dca.o
3 dca-objs := dca-core.o dca-sysfs.o
/drivers/dma/ioat/
Ddca.c98 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
278 dca = alloc_dca_provider(&ioat_dca_ops, in ioat_dca_init()
[all …]
DMakefile3 ioatdma-y := init.o dma.o prep.o dca.o sysfs.o
Dinit.c1087 static int ioat3_dma_probe(struct ioatdma_device *ioat_dma, int dca) in ioat3_dma_probe() argument
1190 if (dca) in ioat3_dma_probe()
1191 ioat_dma->dca = ioat_dca_init(pdev, ioat_dma->reg_base); in ioat3_dma_probe()
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()
1419 device->dca = NULL; in ioat_remove()
Ddma.h74 struct dca_provider *dca; member
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_llh_internal.h137 #define HW_ATL_RDM_DCADCPUID_ADR(dca) (0x00006100 + (dca) * 0x4) argument
208 #define HW_ATL_RDM_DCADDESC_EN_ADR(dca) (0x00006100 + (dca) * 0x4) argument
396 #define HW_ATL_RDM_DCADHDR_EN_ADR(dca) (0x00006100 + (dca) * 0x4) argument
415 #define HW_ATL_RDM_DCADPAY_EN_ADR(dca) (0x00006100 + (dca) * 0x4) argument
1543 #define HW_ATL_TDM_DCADCPUID_ADR(dca) (0x00008400 + (dca) * 0x4) argument
1616 #define HW_ATL_TDM_DCADDESC_EN_ADR(dca) (0x00008400 + (dca) * 0x4) argument
1931 #define HW_ATL_TDM_DCA_DCPUID_ADR(dca) (0x00008400 + (dca) * 0x4) argument
1950 #define HW_ATL_TDM_DCA_DDESC_EN_ADR(dca) (0x00008400 + (dca) * 0x4) argument
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() argument
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() argument
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() argument
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()
[all …]
Dhw_atl_llh.h165 void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
180 u32 dca);
204 u32 dca);
208 u32 dca);
582 void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
600 u32 dca);
/drivers/
DMakefile141 obj-$(CONFIG_DCA) += dca/
DKconfig127 source "drivers/dca/Kconfig"
/drivers/soc/fsl/dpio/
Dqbman-portal.h79 u8 dca; member
Dqbman-portal.c693 d->dca = (1 << QB_ENQUEUE_CMD_DCA_EN_SHIFT) | in qbman_swp_enqueue_multiple_direct()
773 d->dca = (1 << QB_ENQUEUE_CMD_DCA_EN_SHIFT) | in qbman_swp_enqueue_multiple_mem_back()
/drivers/infiniband/hw/qib/
Dqib_iba7322.c674 int dca; member
3328 if (!dd->cspec->msix_entries[msixnum].dca) in reset_dca_notifier()
3342 if (!m->dca) in setup_dca_notifier()
3445 int dca = 0; in qib_setup_7322_interrupt() local
3456 dca = irq_table[i].dca; in qib_setup_7322_interrupt()
3475 dca = 1; in qib_setup_7322_interrupt()
3502 dd->cspec->msix_entries[msixnum].dca = dca; in qib_setup_7322_interrupt()
Dqib.h437 int dca; member
/drivers/soc/fsl/qbman/
Dqman.c182 u8 dca; member