Home
last modified time | relevance | path

Searched refs:bus_dev (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/hwmon/occ/
A Dsysfs.c126 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()
A Dp9_sbe.c92 sysfs_notify(&occ->bus_dev->kobj, NULL, in p9_sbe_occ_send_cmd()
141 occ->bus_dev = &pdev->dev; in p9_sbe_occ_probe()
153 rc = device_create_bin_file(occ->bus_dev, &bin_attr_ffdc); in p9_sbe_occ_probe()
155 dev_warn(occ->bus_dev, in p9_sbe_occ_probe()
169 device_remove_bin_file(occ->bus_dev, &bin_attr_ffdc); in p9_sbe_occ_remove()
A Dcommon.c779 struct device *dev = occ->bus_dev; in occ_setup_sensor_attrs()
1093 dev_info(occ->bus_dev, "OCC found, code level: %.16s\n", in occ_parse_poll_response()
1105 dev_warn(occ->bus_dev, "exceeded response buffer\n"); in occ_parse_poll_response()
1109 dev_dbg(occ->bus_dev, " %04x..%04x: %.4s (%d sensors)\n", in occ_parse_poll_response()
1125 dev_warn(occ->bus_dev, "sensor not supported %.4s\n", in occ_parse_poll_response()
1135 dev_dbg(occ->bus_dev, "Max resp size: %u+%zd=%zd\n", size, in occ_parse_poll_response()
1149 dev_info(occ->bus_dev, "host is not ready\n"); in occ_setup()
1152 dev_err(occ->bus_dev, in occ_setup()
1163 dev_err(occ->bus_dev, "failed to setup sensor attrs: %d\n", in occ_setup()
1172 dev_err(occ->bus_dev, "failed to register hwmon device: %d\n", in occ_setup()
[all …]
A Dcommon.h92 struct device *bus_dev; member
A Dp8_i2c.c219 occ->bus_dev = &client->dev; in p8_i2c_occ_probe()
/linux/arch/sparc/kernel/
A Dpci_common.c108 static int sun4u_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_read_pci_cfg() argument
111 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_read_pci_cfg()
112 unsigned char bus = bus_dev->number; in sun4u_read_pci_cfg()
129 if (!bus_dev->number && !PCI_SLOT(devfn)) in sun4u_read_pci_cfg()
215 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_write_pci_cfg()
216 unsigned char bus = bus_dev->number; in sun4u_write_pci_cfg()
219 if (!bus_dev->number && !PCI_SLOT(devfn)) in sun4u_write_pci_cfg()
260 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_read_pci_cfg()
262 unsigned int bus = bus_dev->number; in sun4v_read_pci_cfg()
293 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_write_pci_cfg()
[all …]
A Dpci_sun4v.c260 struct pci_bus *bus_dev) in dma_4v_iotsb_bind() argument
268 list_for_each_entry(pdev, &bus_dev->devices, bus_list) { in dma_4v_iotsb_bind()
274 bus = bus_dev->number; in dma_4v_iotsb_bind()
/linux/drivers/interconnect/samsung/
A Dexynos.c113 struct device *bus_dev = pdev->dev.parent; in exynos_generic_icc_probe() local
131 provider->dev = bus_dev; in exynos_generic_icc_probe()
147 bus_dev->of_node); in exynos_generic_icc_probe()
148 if (of_property_read_u32(bus_dev->of_node, "samsung,data-clock-ratio", in exynos_generic_icc_probe()
155 ret = dev_pm_qos_add_request(bus_dev, &priv->qos_req, in exynos_generic_icc_probe()
163 icc_parent_node = exynos_icc_get_parent(bus_dev->of_node); in exynos_generic_icc_probe()
/linux/drivers/bus/fsl-mc/
A Dfsl-mc-msi.c184 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()
/linux/drivers/parport/
A Dshare.c378 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()
A Dparport_ip32.c593 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/
A Ddefxx.c434 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()
1043 struct device *bdev = bp->bus_dev; in dfx_driver_init()
3153 bp->bus_dev, in dfx_rcv_queue_process()
3158 bp->bus_dev, in dfx_rcv_queue_process()
3193 bp->bus_dev, in dfx_rcv_queue_process()
3513 dma_unmap_single(bp->bus_dev, in dfx_xmt_done()
3574 dma_unmap_single(bp->bus_dev, in dfx_rcv_flush()
[all …]
A Ddefxx.h1779 struct device *bus_dev; member
/linux/arch/arm64/kernel/
A Dpci.c87 struct device *bus_dev; in pcibios_root_bridge_prepare() local
104 bus_dev = &bridge->bus->dev; in pcibios_root_bridge_prepare()
107 set_dev_node(bus_dev, acpi_get_node(acpi_device_handle(adev))); in pcibios_root_bridge_prepare()
/linux/include/linux/
A Dparport.h203 struct device bus_dev; /* to link with the bus */ member
254 #define to_parport_dev(n) container_of(n, struct parport, bus_dev)
/linux/arch/alpha/kernel/
A Dcore_cia.c90 mk_conf_addr(struct pci_bus *bus_dev, unsigned int device_fn, int where, in mk_conf_addr() argument
93 u8 bus = bus_dev->number; in mk_conf_addr()
/linux/tools/testing/nvdimm/test/
A Dnfit.c732 static void smart_notify(struct device *bus_dev, in smart_notify() argument
752 device_lock(bus_dev); in smart_notify()
754 device_unlock(bus_dev); in smart_notify()
763 struct device *bus_dev, struct device *dimm_dev) in nfit_test_cmd_smart_set_threshold() argument
772 smart_notify(bus_dev, dimm_dev, smart, thresh); in nfit_test_cmd_smart_set_threshold()
782 struct device *bus_dev, struct device *dimm_dev) in nfit_test_cmd_smart_inject() argument
813 smart_notify(bus_dev, dimm_dev, smart, thresh); in nfit_test_cmd_smart_inject()
/linux/drivers/acpi/nfit/
A Dcore.c3417 struct device *bus_dev; in acpi_nfit_desc_init_scrub_attr() local
3422 bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_desc_init_scrub_attr()
3423 nfit = sysfs_get_dirent(bus_dev->kobj.sd, "nfit"); in acpi_nfit_desc_init_scrub_attr()
3667 struct device *bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_shutdown() local
3687 nfit_device_lock(bus_dev); in acpi_nfit_shutdown()
3688 nfit_device_unlock(bus_dev); in acpi_nfit_shutdown()

Completed in 75 milliseconds