| /linux/drivers/hwmon/occ/ |
| H A D | sysfs.c | 178 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 184 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 190 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 196 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 202 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 208 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 214 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 220 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 225 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() 230 sysfs_notify(&occ->bus_dev->kobj, NULL, name); in occ_sysfs_poll_done() [all …]
|
| H A D | common.c | 779 struct device *dev = occ->bus_dev; in occ_setup_sensor_attrs() 1060 dev_info(occ->bus_dev, "OCC found, code level: %.16s\n", in occ_parse_poll_response() 1072 dev_warn(occ->bus_dev, "exceeded response buffer\n"); in occ_parse_poll_response() 1076 dev_dbg(occ->bus_dev, " %04x..%04x: %.4s (%d sensors)\n", in occ_parse_poll_response() 1092 dev_warn(occ->bus_dev, "sensor not supported %.4s\n", in occ_parse_poll_response() 1102 dev_dbg(occ->bus_dev, "Max resp size: %u+%zd=%zd\n", size, in occ_parse_poll_response() 1124 dev_err(occ->bus_dev, in occ_active() 1136 dev_err(occ->bus_dev, in occ_active() 1141 occ->hwmon = hwmon_device_register_with_groups(occ->bus_dev, in occ_active() 1147 dev_err(occ->bus_dev, in occ_active() [all …]
|
| H A D | common.h | 92 struct device *bus_dev; member
|
| H A D | p8_i2c.c | 220 occ->bus_dev = &client->dev; in p8_i2c_occ_probe()
|
| /linux/drivers/interconnect/samsung/ |
| H A D | exynos.c | 106 struct device *bus_dev = pdev->dev.parent; in exynos_generic_icc_probe() local 124 provider->dev = bus_dev; in exynos_generic_icc_probe() 136 bus_dev->of_node); in exynos_generic_icc_probe() 142 if (of_property_read_u32(bus_dev->of_node, "samsung,data-clock-ratio", in exynos_generic_icc_probe() 152 ret = dev_pm_qos_add_request(bus_dev, &priv->qos_req, in exynos_generic_icc_probe() 157 icc_parent_node = exynos_icc_get_parent(bus_dev->of_node); in exynos_generic_icc_probe()
|
| /linux/drivers/bus/fsl-mc/ |
| H A D | fsl-mc-msi.c | 183 struct device *bus_dev; in fsl_mc_find_msi_domain() local 188 bus_dev = root_dprc_dev->parent; in fsl_mc_find_msi_domain() 190 if (bus_dev->of_node) { in fsl_mc_find_msi_domain() 201 msi_domain = of_msi_get_domain(bus_dev, in fsl_mc_find_msi_domain() 202 bus_dev->of_node, in fsl_mc_find_msi_domain()
|
| /linux/drivers/parport/ |
| H A D | share.c | 368 struct device *dev = get_device(&port->bus_dev); in parport_get_port() 376 device_unregister(&port->bus_dev); in parport_del_port() 391 put_device(&port->bus_dev); in parport_put_port() 471 dev_set_name(&tmp->bus_dev, "parport%d", tmp->portnum); in parport_register_port() 472 tmp->bus_dev.bus = &parport_bus_type; in parport_register_port() 473 tmp->bus_dev.release = free_port; in parport_register_port() 474 tmp->bus_dev.type = &parport_device_type; in parport_register_port() 476 tmp->name = dev_name(&tmp->bus_dev); in parport_register_port() 482 ret = device_register(&tmp->bus_dev); in parport_register_port() 484 put_device(&tmp->bus_dev); in parport_register_port() [all …]
|
| H A 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()
|
| /linux/drivers/net/fddi/ |
| H A D | defxx.c | 377 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_port_write_long() 399 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_port_read_long() 434 struct device *bdev = bp->bus_dev; in dfx_get_bars() 569 bp->bus_dev = bdev; in dfx_register() 724 struct device *bdev = bp->bus_dev; in dfx_bus_init() 883 struct device *bdev = bp->bus_dev; in dfx_bus_uninit() 945 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_bus_config_check() 1043 struct device *bdev = bp->bus_dev; in dfx_driver_init() 1144 bp->kmalloced = top_v = dma_alloc_coherent(bp->bus_dev, alloc_size, in dfx_driver_init() 1951 struct device *bdev = bp->bus_dev; in dfx_interrupt() [all …]
|
| H A D | defxx.h | 1779 struct device *bus_dev; member
|
| /linux/arch/loongarch/pci/ |
| H A D | acpi.c | 30 struct device *bus_dev = &bridge->bus->dev; in pcibios_root_bridge_prepare() local 37 set_dev_node(bus_dev, pa_to_nid(cfg->res.start)); in pcibios_root_bridge_prepare()
|
| /linux/include/linux/ |
| H A D | parport.h | 198 struct device bus_dev; /* to link with the bus */ member 249 #define to_parport_dev(n) container_of(n, struct parport, bus_dev)
|
| /linux/drivers/pci/ |
| H A D | pci-acpi.c | 1574 struct device *bus_dev; in pcibios_root_bridge_prepare() local 1591 bus_dev = &bridge->bus->dev; in pcibios_root_bridge_prepare() 1594 set_dev_node(bus_dev, acpi_get_node(acpi_device_handle(adev))); in pcibios_root_bridge_prepare()
|
| /linux/arch/sparc/kernel/ |
| H A D | pci_sun4v.c | 261 struct pci_bus *bus_dev) in dma_4v_iotsb_bind() argument 269 list_for_each_entry(pdev, &bus_dev->devices, bus_list) { in dma_4v_iotsb_bind() 275 bus = bus_dev->number; in dma_4v_iotsb_bind()
|
| /linux/tools/testing/nvdimm/test/ |
| H A D | nfit.c | 735 static void smart_notify(struct device *bus_dev, in smart_notify() argument 755 device_lock(bus_dev); in smart_notify() 757 device_unlock(bus_dev); in smart_notify() 766 struct device *bus_dev, struct device *dimm_dev) in nfit_test_cmd_smart_set_threshold() argument 775 smart_notify(bus_dev, dimm_dev, smart, thresh); in nfit_test_cmd_smart_set_threshold() 785 struct device *bus_dev, struct device *dimm_dev) in nfit_test_cmd_smart_inject() argument 816 smart_notify(bus_dev, dimm_dev, smart, thresh); in nfit_test_cmd_smart_inject()
|
| /linux/drivers/acpi/nfit/ |
| H A D | core.c | 3038 struct device *bus_dev; in acpi_nfit_desc_init_scrub_attr() local 3043 bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_desc_init_scrub_attr() 3044 nfit = sysfs_get_dirent(bus_dev->kobj.sd, "nfit"); in acpi_nfit_desc_init_scrub_attr() 3304 struct device *bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_shutdown() local 3324 device_lock(bus_dev); in acpi_nfit_shutdown() 3325 device_unlock(bus_dev); in acpi_nfit_shutdown()
|