Home
last modified time | relevance | path

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

/Linux-v5.4/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()
32 void dca_sysfs_remove_req(struct dca_provider *dca, int slot) in dca_sysfs_remove_req() argument
37 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev) in dca_sysfs_add_provider() argument
45 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
47 dca->id = ret; in dca_sysfs_add_provider()
54 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id); in dca_sysfs_add_provider()
57 idr_remove(&dca_idr, dca->id); in dca_sysfs_add_provider()
61 dca->cd = cd; in dca_sysfs_add_provider()
65 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
/Linux-v5.4/include/linux/
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);
/Linux-v5.4/drivers/dma/ioat/
Ddca.c108 static int ioat_dca_dev_managed(struct dca_provider *dca, in ioat_dca_dev_managed() argument
111 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_dev_managed()
123 static int ioat_dca_add_requester(struct dca_provider *dca, struct device *dev) in ioat_dca_add_requester() argument
125 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_add_requester()
157 static int ioat_dca_remove_requester(struct dca_provider *dca, in ioat_dca_remove_requester() argument
160 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_remove_requester()
184 static u8 ioat_dca_get_tag(struct dca_provider *dca, in ioat_dca_get_tag() argument
190 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_get_tag()
259 struct dca_provider *dca; in ioat_dca_init() local
288 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.c1089 static int ioat3_dma_probe(struct ioatdma_device *ioat_dma, int dca) in ioat3_dma_probe() argument
1192 if (dca) in ioat3_dma_probe()
1193 ioat_dma->dca = ioat_dca_init(pdev, ioat_dma->reg_base); in ioat3_dma_probe()
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()
1407 device->dca = NULL; in ioat_remove()
Ddma.h74 struct dca_provider *dca; member
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_llh_internal.h106 #define HW_ATL_RDM_DCADCPUID_ADR(dca) (0x00006100 + (dca) * 0x4) argument
177 #define HW_ATL_RDM_DCADDESC_EN_ADR(dca) (0x00006100 + (dca) * 0x4) argument
365 #define HW_ATL_RDM_DCADHDR_EN_ADR(dca) (0x00006100 + (dca) * 0x4) argument
384 #define HW_ATL_RDM_DCADPAY_EN_ADR(dca) (0x00006100 + (dca) * 0x4) argument
1448 #define HW_ATL_TDM_DCADCPUID_ADR(dca) (0x00008400 + (dca) * 0x4) argument
1521 #define HW_ATL_TDM_DCADDESC_EN_ADR(dca) (0x00008400 + (dca) * 0x4) argument
1836 #define HW_ATL_TDM_DCA_DCPUID_ADR(dca) (0x00008400 + (dca) * 0x4) argument
1855 #define HW_ATL_TDM_DCA_DDESC_EN_ADR(dca) (0x00008400 + (dca) * 0x4) argument
Dhw_atl_llh.c306 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
308 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADCPUID_ADR(dca), in hw_atl_rdm_cpu_id_set()
337 u32 dca) in hw_atl_rdm_rx_desc_dca_en_set() argument
339 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADDESC_EN_ADR(dca), in hw_atl_rdm_rx_desc_dca_en_set()
408 u32 dca) in hw_atl_rdm_rx_head_dca_en_set() argument
410 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADHDR_EN_ADR(dca), in hw_atl_rdm_rx_head_dca_en_set()
417 u32 dca) in hw_atl_rdm_rx_pld_dca_en_set() argument
419 aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADPAY_EN_ADR(dca), in hw_atl_rdm_rx_pld_dca_en_set()
1169 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
1171 aq_hw_write_reg_bit(aq_hw, HW_ATL_TDM_DCADCPUID_ADR(dca), in hw_atl_tdm_cpu_id_set()
[all …]
Dhw_atl_llh.h146 void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
161 u32 dca);
185 u32 dca);
189 u32 dca);
549 void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
567 u32 dca);
/Linux-v5.4/drivers/soc/qcom/
Dllcc-sdm845.c37 #define SCT_ENTRY(uid, sid, mc, p, fs, bway, rway, cmod, ptw, dca, rp, a) \ argument
48 .dis_cap_alloc = dca, \
/Linux-v5.4/drivers/
DMakefile140 obj-$(CONFIG_DCA) += dca/
DKconfig127 source "drivers/dca/Kconfig"
/Linux-v5.4/drivers/soc/fsl/dpio/
Dqbman-portal.h72 u8 dca; member
Dqbman-portal.c477 memcpy(&p->dca, &d->dca, 31); in qbman_swp_enqueue()
/Linux-v5.4/include/soc/fsl/
Dqman.h283 u8 dca; member
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_iba7322.c674 int dca; member
3329 if (!dd->cspec->msix_entries[msixnum].dca) in reset_dca_notifier()
3343 if (!m->dca) in setup_dca_notifier()
3446 int dca = 0; in qib_setup_7322_interrupt() local
3457 dca = irq_table[i].dca; in qib_setup_7322_interrupt()
3476 dca = 1; in qib_setup_7322_interrupt()
3503 dd->cspec->msix_entries[msixnum].dca = dca; in qib_setup_7322_interrupt()
Dqib.h437 int dca; member
/Linux-v5.4/drivers/soc/fsl/qbman/
Dqman.c182 u8 dca; member
/Linux-v5.4/arch/m68k/ifpsp060/
Dfplsp.sa142 dc.l $660861ff,$00004dca,$60300c01,$00016608