Searched refs:bus_dev (Results 1 – 11 of 11) sorted by relevance
/drivers/hwmon/occ/ |
D | sysfs.c | 126 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 132 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 138 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 144 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 150 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 156 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 162 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 167 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 181 return sysfs_create_group(&occ->bus_dev->kobj, &occ_sysfs); in occ_setup_sysfs() 186 sysfs_remove_group(&occ->bus_dev->kobj, &occ_sysfs); in occ_shutdown()
|
D | common.c | 727 struct device *dev = occ->bus_dev; in occ_setup_sensor_attrs() 1028 dev_info(occ->bus_dev, "OCC found, code level: %.16s\n", in occ_parse_poll_response() 1040 dev_warn(occ->bus_dev, "exceeded response buffer\n"); in occ_parse_poll_response() 1044 dev_dbg(occ->bus_dev, " %04x..%04x: %.4s (%d sensors)\n", in occ_parse_poll_response() 1060 dev_warn(occ->bus_dev, "sensor not supported %.4s\n", in occ_parse_poll_response() 1070 dev_dbg(occ->bus_dev, "Max resp size: %u+%zd=%zd\n", size, in occ_parse_poll_response() 1084 dev_info(occ->bus_dev, "host is not ready\n"); in occ_setup() 1087 dev_err(occ->bus_dev, "failed to get OCC poll response: %d\n", in occ_setup() 1097 dev_err(occ->bus_dev, "failed to setup sensor attrs: %d\n", in occ_setup() 1102 occ->hwmon = devm_hwmon_device_register_with_groups(occ->bus_dev, name, in occ_setup() [all …]
|
D | p9_sbe.c | 70 occ->bus_dev = &pdev->dev; in p9_sbe_occ_probe()
|
D | common.h | 92 struct device *bus_dev; member
|
D | p8_i2c.c | 216 occ->bus_dev = &client->dev; in p8_i2c_occ_probe()
|
/drivers/bus/fsl-mc/ |
D | fsl-mc-msi.c | 184 struct device *bus_dev; in fsl_mc_find_msi_domain() local 189 bus_dev = root_dprc_dev->parent; in fsl_mc_find_msi_domain() 191 if (bus_dev->of_node) { in fsl_mc_find_msi_domain() 202 msi_domain = of_msi_get_domain(bus_dev, in fsl_mc_find_msi_domain() 203 bus_dev->of_node, in fsl_mc_find_msi_domain()
|
/drivers/parport/ |
D | share.c | 378 struct device *dev = get_device(&port->bus_dev); in parport_get_port() 386 device_unregister(&port->bus_dev); in parport_del_port() 401 put_device(&port->bus_dev); in parport_put_port() 492 tmp->bus_dev.bus = &parport_bus_type; in parport_register_port() 493 tmp->bus_dev.release = free_port; in parport_register_port() 494 dev_set_name(&tmp->bus_dev, name); in parport_register_port() 495 tmp->bus_dev.type = &parport_device_type; in parport_register_port() 503 ret = device_register(&tmp->bus_dev); in parport_register_port() 505 put_device(&tmp->bus_dev); in parport_register_port() 756 par_dev->dev.parent = &port->bus_dev; in parport_register_dev_model()
|
D | parport_ip32.c | 593 parport_ip32_dma.buf = dma_map_single(&p->bus_dev, addr, count, dir); in parport_ip32_dma_start() 678 dma_unmap_single(&p->bus_dev, parport_ip32_dma.buf, in parport_ip32_dma_stop()
|
/drivers/net/fddi/ |
D | defxx.c | 376 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_port_write_long() 400 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_port_read_long() 586 bp->bus_dev = bdev; in dfx_register() 733 struct device *bdev = bp->bus_dev; in dfx_bus_init() 893 struct device *bdev = bp->bus_dev; in dfx_bus_uninit() 955 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_bus_config_check() 1053 struct device *bdev = bp->bus_dev; in dfx_driver_init() 1155 bp->kmalloced = top_v = dma_alloc_coherent(bp->bus_dev, alloc_size, in dfx_driver_init() 1962 struct device *bdev = bp->bus_dev; in dfx_interrupt() 3029 dma_addr = dma_map_single(bp->bus_dev, in dfx_rcv_init() [all …]
|
D | defxx.h | 1778 struct device *bus_dev; member
|
/drivers/acpi/nfit/ |
D | core.c | 3427 struct device *bus_dev; in acpi_nfit_desc_init_scrub_attr() local 3432 bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_desc_init_scrub_attr() 3433 nfit = sysfs_get_dirent(bus_dev->kobj.sd, "nfit"); in acpi_nfit_desc_init_scrub_attr() 3677 struct device *bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_shutdown() local 3697 nfit_device_lock(bus_dev); in acpi_nfit_shutdown() 3698 nfit_device_unlock(bus_dev); in acpi_nfit_shutdown()
|