/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | pci_common.c | 108 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() 212 static int sun4u_write_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_write_pci_cfg() argument 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() 257 static int sun4v_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4v_read_pci_cfg() argument 260 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_read_pci_cfg() [all …]
|
D | pci_sun4v.c | 260 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | pci.c | 88 struct device *bus_dev = &bridge->bus->dev; in pcibios_root_bridge_prepare() local 91 set_dev_node(bus_dev, acpi_get_node(acpi_device_handle(adev))); in pcibios_root_bridge_prepare()
|
/kernel/linux/linux-5.10/include/linux/ |
D | parport.h | 203 struct device bus_dev; /* to link with the bus */ member 254 #define to_parport_dev(n) container_of(n, struct parport, bus_dev)
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | core_cia.c | 90 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()
|
/kernel/linux/linux-5.10/tools/testing/nvdimm/test/ |
D | nfit.c | 733 static void smart_notify(struct device *bus_dev, in smart_notify() argument 753 device_lock(bus_dev); in smart_notify() 755 device_unlock(bus_dev); in smart_notify() 764 struct device *bus_dev, struct device *dimm_dev) in nfit_test_cmd_smart_set_threshold() argument 773 smart_notify(bus_dev, dimm_dev, smart, thresh); in nfit_test_cmd_smart_set_threshold() 783 struct device *bus_dev, struct device *dimm_dev) in nfit_test_cmd_smart_inject() argument 814 smart_notify(bus_dev, dimm_dev, smart, thresh); in nfit_test_cmd_smart_inject()
|
/kernel/linux/linux-5.10/drivers/acpi/nfit/ |
D | core.c | 3428 struct device *bus_dev; in acpi_nfit_desc_init_scrub_attr() local 3433 bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_desc_init_scrub_attr() 3434 nfit = sysfs_get_dirent(bus_dev->kobj.sd, "nfit"); in acpi_nfit_desc_init_scrub_attr() 3678 struct device *bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_shutdown() local 3698 nfit_device_lock(bus_dev); in acpi_nfit_shutdown() 3699 nfit_device_unlock(bus_dev); in acpi_nfit_shutdown()
|