dca 79 drivers/dca/dca-core.c struct dca_provider *dca, *_dca; dca 99 drivers/dca/dca-core.c list_for_each_entry_safe(dca, _dca, &domain->dca_providers, node) dca 100 drivers/dca/dca-core.c list_move(&dca->node, &unregistered_providers); dca 106 drivers/dca/dca-core.c list_for_each_entry_safe(dca, _dca, &unregistered_providers, node) { dca 107 drivers/dca/dca-core.c dca_sysfs_remove_provider(dca); dca 108 drivers/dca/dca-core.c list_del(&dca->node); dca 141 drivers/dca/dca-core.c struct dca_provider *dca; dca 159 drivers/dca/dca-core.c list_for_each_entry(dca, &domain->dca_providers, node) dca 160 drivers/dca/dca-core.c if ((!dev) || (dca->ops->dev_managed(dca, dev))) dca 161 drivers/dca/dca-core.c return dca; dca 172 drivers/dca/dca-core.c struct dca_provider *dca; dca 184 drivers/dca/dca-core.c dca = dca_find_provider_by_dev(dev); dca 185 drivers/dca/dca-core.c if (dca) { dca 197 drivers/dca/dca-core.c list_for_each_entry(dca, &domain->dca_providers, node) { dca 198 drivers/dca/dca-core.c slot = dca->ops->add_requester(dca, dev); dca 208 drivers/dca/dca-core.c err = dca_sysfs_add_req(dca, dev, slot); dca 211 drivers/dca/dca-core.c if (dca == dca_find_provider_by_dev(dev)) dca 212 drivers/dca/dca-core.c dca->ops->remove_requester(dca, dev); dca 227 drivers/dca/dca-core.c struct dca_provider *dca; dca 235 drivers/dca/dca-core.c dca = dca_find_provider_by_dev(dev); dca 236 drivers/dca/dca-core.c if (!dca) { dca 240 drivers/dca/dca-core.c slot = dca->ops->remove_requester(dca, dev); dca 246 drivers/dca/dca-core.c dca_sysfs_remove_req(dca, slot); dca 259 drivers/dca/dca-core.c struct dca_provider *dca; dca 265 drivers/dca/dca-core.c dca = dca_find_provider_by_dev(dev); dca 266 drivers/dca/dca-core.c if (!dca) { dca 270 drivers/dca/dca-core.c tag = dca->ops->get_tag(dca, dev, cpu); dca 311 drivers/dca/dca-core.c struct dca_provider *dca; dca 314 drivers/dca/dca-core.c alloc_size = (sizeof(*dca) + priv_size); dca 315 drivers/dca/dca-core.c dca = kzalloc(alloc_size, GFP_KERNEL); dca 316 drivers/dca/dca-core.c if (!dca) dca 318 drivers/dca/dca-core.c dca->ops = ops; dca 320 drivers/dca/dca-core.c return dca; dca 329 drivers/dca/dca-core.c void free_dca_provider(struct dca_provider *dca) dca 331 drivers/dca/dca-core.c kfree(dca); dca 340 drivers/dca/dca-core.c int register_dca_provider(struct dca_provider *dca, struct device *dev) dca 353 drivers/dca/dca-core.c err = dca_sysfs_add_provider(dca, dev); dca 364 drivers/dca/dca-core.c dca_sysfs_remove_provider(dca); dca 383 drivers/dca/dca-core.c list_add(&dca->node, &domain->dca_providers); dca 397 drivers/dca/dca-core.c void unregister_dca_provider(struct dca_provider *dca, struct device *dev) dca 413 drivers/dca/dca-core.c list_del(&dca->node); dca 422 drivers/dca/dca-core.c dca_sysfs_remove_provider(dca); dca 20 drivers/dca/dca-sysfs.c int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot) dca 25 drivers/dca/dca-sysfs.c cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL, dca 32 drivers/dca/dca-sysfs.c void dca_sysfs_remove_req(struct dca_provider *dca, int slot) dca 37 drivers/dca/dca-sysfs.c int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev) dca 45 drivers/dca/dca-sysfs.c ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); dca 47 drivers/dca/dca-sysfs.c dca->id = ret; dca 54 drivers/dca/dca-sysfs.c cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id); dca 57 drivers/dca/dca-sysfs.c idr_remove(&dca_idr, dca->id); dca 61 drivers/dca/dca-sysfs.c dca->cd = cd; dca 65 drivers/dca/dca-sysfs.c void dca_sysfs_remove_provider(struct dca_provider *dca) dca 67 drivers/dca/dca-sysfs.c device_unregister(dca->cd); dca 68 drivers/dca/dca-sysfs.c dca->cd = NULL; dca 70 drivers/dca/dca-sysfs.c idr_remove(&dca_idr, dca->id); dca 108 drivers/dma/ioat/dca.c static int ioat_dca_dev_managed(struct dca_provider *dca, dca 111 drivers/dma/ioat/dca.c struct ioat_dca_priv *ioatdca = dca_priv(dca); dca 123 drivers/dma/ioat/dca.c static int ioat_dca_add_requester(struct dca_provider *dca, struct device *dev) dca 125 drivers/dma/ioat/dca.c struct ioat_dca_priv *ioatdca = dca_priv(dca); dca 157 drivers/dma/ioat/dca.c static int ioat_dca_remove_requester(struct dca_provider *dca, dca 160 drivers/dma/ioat/dca.c struct ioat_dca_priv *ioatdca = dca_priv(dca); dca 184 drivers/dma/ioat/dca.c static u8 ioat_dca_get_tag(struct dca_provider *dca, dca 190 drivers/dma/ioat/dca.c struct ioat_dca_priv *ioatdca = dca_priv(dca); dca 259 drivers/dma/ioat/dca.c struct dca_provider *dca; dca 288 drivers/dma/ioat/dca.c dca = alloc_dca_provider(&ioat_dca_ops, dca 290 drivers/dma/ioat/dca.c if (!dca) dca 293 drivers/dma/ioat/dca.c ioatdca = dca_priv(dca); dca 330 drivers/dma/ioat/dca.c free_dca_provider(dca); dca 334 drivers/dma/ioat/dca.c err = register_dca_provider(dca, &pdev->dev); dca 336 drivers/dma/ioat/dca.c free_dca_provider(dca); dca 340 drivers/dma/ioat/dca.c return dca; dca 74 drivers/dma/ioat/dma.h struct dca_provider *dca; dca 1089 drivers/dma/ioat/init.c static int ioat3_dma_probe(struct ioatdma_device *ioat_dma, int dca) dca 1192 drivers/dma/ioat/init.c if (dca) dca 1193 drivers/dma/ioat/init.c ioat_dma->dca = ioat_dca_init(pdev, ioat_dma->reg_base); dca 1404 drivers/dma/ioat/init.c if (device->dca) { dca 1405 drivers/dma/ioat/init.c unregister_dca_provider(device->dca, &pdev->dev); dca 1406 drivers/dma/ioat/init.c free_dca_provider(device->dca); dca 1407 drivers/dma/ioat/init.c device->dca = NULL; dca 437 drivers/infiniband/hw/qib/qib.h int dca; dca 674 drivers/infiniband/hw/qib/qib_iba7322.c int dca; dca 3329 drivers/infiniband/hw/qib/qib_iba7322.c if (!dd->cspec->msix_entries[msixnum].dca) dca 3343 drivers/infiniband/hw/qib/qib_iba7322.c if (!m->dca) dca 3446 drivers/infiniband/hw/qib/qib_iba7322.c int dca = 0; dca 3457 drivers/infiniband/hw/qib/qib_iba7322.c dca = irq_table[i].dca; dca 3476 drivers/infiniband/hw/qib/qib_iba7322.c dca = 1; dca 3503 drivers/infiniband/hw/qib/qib_iba7322.c dd->cspec->msix_entries[msixnum].dca = dca; dca 306 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca) dca 308 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADCPUID_ADR(dca), dca 337 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 dca) dca 339 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADDESC_EN_ADR(dca), dca 408 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 dca) dca 410 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADHDR_EN_ADR(dca), dca 417 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 dca) dca 419 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RDM_DCADPAY_EN_ADR(dca), dca 1169 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca) dca 1171 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_TDM_DCADCPUID_ADR(dca), dca 1196 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 dca) dca 1198 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_TDM_DCADDESC_EN_ADR(dca), dca 146 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca); dca 161 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 dca); dca 185 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 dca); dca 189 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 dca); dca 549 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca); dca 567 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 dca); dca 106 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RDM_DCADCPUID_ADR(dca) (0x00006100 + (dca) * 0x4) dca 177 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RDM_DCADDESC_EN_ADR(dca) (0x00006100 + (dca) * 0x4) dca 365 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RDM_DCADHDR_EN_ADR(dca) (0x00006100 + (dca) * 0x4) dca 384 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RDM_DCADPAY_EN_ADR(dca) (0x00006100 + (dca) * 0x4) dca 1448 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_TDM_DCADCPUID_ADR(dca) (0x00008400 + (dca) * 0x4) dca 1521 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_TDM_DCADDESC_EN_ADR(dca) (0x00008400 + (dca) * 0x4) dca 1836 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_TDM_DCA_DCPUID_ADR(dca) (0x00008400 + (dca) * 0x4) dca 1855 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_TDM_DCA_DDESC_EN_ADR(dca) (0x00008400 + (dca) * 0x4) dca 477 drivers/soc/fsl/dpio/qbman-portal.c memcpy(&p->dca, &d->dca, 31); dca 72 drivers/soc/fsl/dpio/qbman-portal.h u8 dca; dca 182 drivers/soc/fsl/qbman/qman.c u8 dca; dca 37 drivers/soc/qcom/llcc-sdm845.c #define SCT_ENTRY(uid, sid, mc, p, fs, bway, rway, cmod, ptw, dca, rp, a) \ dca 48 drivers/soc/qcom/llcc-sdm845.c .dis_cap_alloc = dca, \ dca 42 include/linux/dca.h void free_dca_provider(struct dca_provider *dca); dca 43 include/linux/dca.h int register_dca_provider(struct dca_provider *dca, struct device *dev); dca 44 include/linux/dca.h void unregister_dca_provider(struct dca_provider *dca, struct device *dev); dca 46 include/linux/dca.h static inline void *dca_priv(struct dca_provider *dca) dca 48 include/linux/dca.h return (void *)dca + sizeof(struct dca_provider); dca 61 include/linux/dca.h int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev); dca 62 include/linux/dca.h void dca_sysfs_remove_provider(struct dca_provider *dca); dca 63 include/linux/dca.h int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot); dca 64 include/linux/dca.h void dca_sysfs_remove_req(struct dca_provider *dca, int slot); dca 283 include/soc/fsl/qman.h u8 dca;