Searched refs:fsl_mc_device (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/include/linux/fsl/ |
D | mc.h | 21 struct fsl_mc_device; 41 int (*probe)(struct fsl_mc_device *dev); 42 int (*remove)(struct fsl_mc_device *dev); 43 void (*shutdown)(struct fsl_mc_device *dev); 44 int (*suspend)(struct fsl_mc_device *dev, pm_message_t state); 45 int (*resume)(struct fsl_mc_device *dev); 99 struct fsl_mc_device *mc_dev; 185 struct fsl_mc_device { struct 199 container_of(_dev, struct fsl_mc_device, dev) argument 329 struct fsl_mc_device *dpmcp_dev; [all …]
|
/Linux-v4.19/drivers/bus/fsl-mc/ |
D | fsl-mc-allocator.c | 15 static bool __must_check fsl_mc_is_allocatable(struct fsl_mc_device *mc_dev) in fsl_mc_is_allocatable() 34 struct fsl_mc_device in fsl_mc_resource_pool_add_device() 39 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_pool_add_device() 97 static int __must_check fsl_mc_resource_pool_remove_device(struct fsl_mc_device in fsl_mc_resource_pool_remove_device() 100 struct fsl_mc_device *mc_bus_dev; in fsl_mc_resource_pool_remove_device() 181 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_allocate() 268 int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev, in fsl_mc_object_allocate() 270 struct fsl_mc_device **new_mc_adev) in fsl_mc_object_allocate() 272 struct fsl_mc_device *mc_bus_dev; in fsl_mc_object_allocate() 274 struct fsl_mc_device *mc_adev; in fsl_mc_object_allocate() [all …]
|
D | dprc-driver.c | 25 static bool fsl_mc_device_match(struct fsl_mc_device *mc_dev, in fsl_mc_device_match() 37 struct fsl_mc_device *mc_dev; in __fsl_mc_device_remove_if_not_in_mc() 74 static void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, in dprc_remove_devices() 102 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in __fsl_mc_device_match() 107 static struct fsl_mc_device *fsl_mc_device_lookup(struct fsl_mc_obj_desc in fsl_mc_device_lookup() 109 struct fsl_mc_device in fsl_mc_device_lookup() 131 static void check_plugged_state_change(struct fsl_mc_device *mc_dev, in check_plugged_state_change() 167 static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev, in dprc_add_new_devices() 175 struct fsl_mc_device *child_dev; in dprc_add_new_devices() 217 static int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev, in dprc_scan_objects() [all …]
|
D | mc-io.c | 13 struct fsl_mc_device *dpmcp_dev) in fsl_mc_io_set_dpmcp() 38 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev; in fsl_mc_io_unset_dpmcp() 68 struct fsl_mc_device *dpmcp_dev, in fsl_create_mc_io() 132 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev; in fsl_destroy_mc_io() 160 int __must_check fsl_mc_portal_allocate(struct fsl_mc_device *mc_dev, in fsl_mc_portal_allocate() 164 struct fsl_mc_device *mc_bus_dev; in fsl_mc_portal_allocate() 168 struct fsl_mc_device *dpmcp_dev; in fsl_mc_portal_allocate() 229 struct fsl_mc_device *dpmcp_dev; in fsl_mc_portal_free() 258 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev; in fsl_mc_portal_reset()
|
D | fsl-mc-bus.c | 36 struct fsl_mc_device *root_mc_bus_dev; 82 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_bus_match() 120 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_bus_uevent() 133 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in modalias_show() 220 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_probe() 238 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_remove() 253 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_shutdown() 397 static int translate_mc_addr(struct fsl_mc_device *mc_dev, in translate_mc_addr() 432 static int fsl_mc_device_get_mmio_regions(struct fsl_mc_device *mc_dev, in fsl_mc_device_get_mmio_regions() 433 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions() [all …]
|
D | fsl-mc-private.h | 505 struct fsl_mc_device mc_dev; 518 struct fsl_mc_device **new_mc_dev); 520 void fsl_mc_device_remove(struct fsl_mc_device *mc_dev); 530 void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev); 532 void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev); 557 struct fsl_mc_device *dpmcp_dev,
|
D | fsl-mc-msi.c | 24 static irq_hw_number_t fsl_mc_domain_calc_hwirq(struct fsl_mc_device *dev, in fsl_mc_domain_calc_hwirq() 59 static void __fsl_mc_msi_write_msg(struct fsl_mc_device *mc_bus_dev, in __fsl_mc_msi_write_msg() 63 struct fsl_mc_device *owner_mc_dev = mc_dev_irq->mc_dev; in __fsl_mc_msi_write_msg() 121 struct fsl_mc_device *mc_bus_dev = to_fsl_mc_device(msi_desc->dev); in fsl_mc_msi_write_msg()
|
/Linux-v4.19/drivers/staging/fsl-dpaa2/rtc/ |
D | rtc.c | 15 struct fsl_mc_device *rtc_mc_dev; 26 struct fsl_mc_device *mc_dev = ptp_dpaa2->rtc_mc_dev; in ptp_dpaa2_adjfreq() 56 struct fsl_mc_device *mc_dev = ptp_dpaa2->rtc_mc_dev; in ptp_dpaa2_adjtime() 81 struct fsl_mc_device *mc_dev = ptp_dpaa2->rtc_mc_dev; in ptp_dpaa2_gettime() 103 struct fsl_mc_device *mc_dev = ptp_dpaa2->rtc_mc_dev; in ptp_dpaa2_settime() 132 static int rtc_probe(struct fsl_mc_device *mc_dev) in rtc_probe() 190 static int rtc_remove(struct fsl_mc_device *mc_dev) in rtc_remove()
|
/Linux-v4.19/drivers/soc/fsl/dpio/ |
D | dpio-driver.c | 41 static void unregister_dpio_irq_handlers(struct fsl_mc_device *dpio_dev) in unregister_dpio_irq_handlers() 51 static int register_dpio_irq_handlers(struct fsl_mc_device *dpio_dev, int cpu) in register_dpio_irq_handlers() 85 static int dpaa2_dpio_probe(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_probe() 207 static void dpio_teardown_irqs(struct fsl_mc_device *dpio_dev) in dpio_teardown_irqs() 213 static int dpaa2_dpio_remove(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_remove()
|
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethernet/ |
D | dpaa2-eth.h | 282 struct fsl_mc_device *dpcon; 315 struct fsl_mc_device *dpbp_dev;
|
D | dpaa2-eth.c | 1442 static struct fsl_mc_device *setup_dpcon(struct dpaa2_eth_priv *priv) in setup_dpcon() 1444 struct fsl_mc_device *dpcon; in setup_dpcon() 1491 struct fsl_mc_device *dpcon) in free_dpcon() 1743 struct fsl_mc_device *dpbp_dev; in setup_dpbp() 1877 static int setup_dpni(struct fsl_mc_device *ls_dev) in setup_dpni() 2389 struct fsl_mc_device *dpni_dev = to_fsl_mc_device(dev); in dpni_irq0_handler_thread() 2406 static int setup_irqs(struct fsl_mc_device *ls_dev) in setup_irqs() 2475 static int dpaa2_eth_probe(struct fsl_mc_device *dpni_dev) in dpaa2_eth_probe() 2607 static int dpaa2_eth_remove(struct fsl_mc_device *ls_dev) in dpaa2_eth_remove()
|
/Linux-v4.19/drivers/irqchip/ |
D | irq-gic-v3-its-fsl-mc-msi.c | 30 struct fsl_mc_device *mc_bus_dev; in its_fsl_mc_msi_prepare()
|
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethsw/ |
D | ethsw.c | 556 static int ethsw_setup_irqs(struct fsl_mc_device *sw_dev) in ethsw_setup_irqs() 617 static void ethsw_teardown_irqs(struct fsl_mc_device *sw_dev) in ethsw_teardown_irqs() 1157 static int ethsw_init(struct fsl_mc_device *sw_dev) in ethsw_init() 1309 static void ethsw_takedown(struct fsl_mc_device *sw_dev) in ethsw_takedown() 1322 static int ethsw_remove(struct fsl_mc_device *sw_dev) in ethsw_remove() 1401 static int ethsw_probe(struct fsl_mc_device *sw_dev) in ethsw_probe()
|