Home
last modified time | relevance | path

Searched refs:kobj_to_dev (Results 1 – 25 of 188) sorted by relevance

12345678

/linux-6.6.21/drivers/pci/
Dpci-sysfs.c670 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj)); in pci_read_config()
745 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj)); in pci_write_config()
820 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_dev_config_attr_is_visible()
851 struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj)); in pci_read_legacy_io()
876 struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj)); in pci_write_legacy_io()
900 struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj)); in pci_mmap_legacy_mem()
920 struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj)); in pci_mmap_legacy_io()
1043 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_mmap_resource()
1083 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_resource_io()
1268 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_write_rom()
[all …]
Dpci-label.c118 struct device *dev = kobj_to_dev(kobj); in smbios_attr_is_visible()
219 struct device *dev = kobj_to_dev(kobj); in acpi_attr_is_visible()
/linux-6.6.21/drivers/mtd/spi-nor/
Dsysfs.c56 struct spi_device *spi = to_spi_device(kobj_to_dev(kobj)); in sfdp_read()
75 struct spi_device *spi = to_spi_device(kobj_to_dev(kobj)); in spi_nor_sysfs_is_visible()
90 struct spi_device *spi = to_spi_device(kobj_to_dev(kobj)); in spi_nor_sysfs_is_bin_visible()
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c270 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_read_crb()
287 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_write_crb()
316 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_read_mem()
338 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_write_mem()
403 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_write_pm_config()
453 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_read_pm_config()
546 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_write_esw_config()
630 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_read_esw_config()
682 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_write_npar_config()
729 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_read_npar_config()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_sysfs.c66 struct device *kdev = kobj_to_dev(kobj); in i915_l3_read()
94 struct device *kdev = kobj_to_dev(kobj); in i915_l3_write()
165 struct device *kdev = kobj_to_dev(kobj); in error_state_read()
200 struct device *kdev = kobj_to_dev(kobj); in error_state_write()
/linux-6.6.21/drivers/base/
Dtopology.c29 struct device *dev = kobj_to_dev(kobj); \
39 struct device *dev = kobj_to_dev(kobj); \
158 if (attr == &dev_attr_ppin.attr && !topology_ppin(kobj_to_dev(kobj)->id)) in topology_is_visible()
Ddevcoredump.c115 struct device *dev = kobj_to_dev(kobj); in devcd_data_read()
125 struct device *dev = kobj_to_dev(kobj); in devcd_data_write()
/linux-6.6.21/drivers/platform/x86/intel/
Dsdsi.c382 struct device *dev = kobj_to_dev(kobj); in provision_akc_write()
396 struct device *dev = kobj_to_dev(kobj); in provision_cap_write()
452 struct device *dev = kobj_to_dev(kobj); in state_certificate_read()
464 struct device *dev = kobj_to_dev(kobj); in meter_certificate_read()
475 struct device *dev = kobj_to_dev(kobj); in registers_read()
509 struct device *dev = kobj_to_dev(kobj); in sdsi_battr_is_visible()
/linux-6.6.21/drivers/platform/chrome/
Dcros_ec_vbc.c20 struct device *dev = kobj_to_dev(kobj); in vboot_context_read()
60 struct device *dev = kobj_to_dev(kobj); in vboot_context_write()
/linux-6.6.21/drivers/cxl/
Dport.c152 struct device *dev = kobj_to_dev(kobj); in CDAT_read()
171 struct device *dev = kobj_to_dev(kobj); in cxl_port_bin_attr_is_visible()
/linux-6.6.21/drivers/hid/
Dhid-roccat-pyra.c87 struct device *dev = kobj_to_dev(kobj)->parent->parent; in pyra_sysfs_read()
112 struct device *dev = kobj_to_dev(kobj)->parent->parent; in pyra_sysfs_write()
186 struct device *dev = kobj_to_dev(kobj)->parent->parent; in pyra_sysfs_read_profilex_settings()
204 struct device *dev = kobj_to_dev(kobj)->parent->parent; in pyra_sysfs_read_profilex_buttons()
241 struct device *dev = kobj_to_dev(kobj)->parent->parent; in pyra_sysfs_write_settings()
Dhid-roccat-common.c134 struct device *dev = kobj_to_dev(kobj)->parent->parent; in roccat_common2_sysfs_read()
157 struct device *dev = kobj_to_dev(kobj)->parent->parent; in roccat_common2_sysfs_write()
Dhid-roccat-lua.c30 struct device *dev = kobj_to_dev(kobj); in lua_sysfs_read()
52 struct device *dev = kobj_to_dev(kobj); in lua_sysfs_write()
Dhid-roccat-koneplus.c85 struct device *dev = kobj_to_dev(kobj)->parent->parent; in koneplus_sysfs_read()
110 struct device *dev = kobj_to_dev(kobj)->parent->parent; in koneplus_sysfs_write()
189 struct device *dev = kobj_to_dev(kobj)->parent->parent; in koneplus_sysfs_read_profilex_settings()
207 struct device *dev = kobj_to_dev(kobj)->parent->parent; in koneplus_sysfs_read_profilex_buttons()
Dhid-roccat-kovaplus.c128 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_read()
153 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_write()
219 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_read_profilex_settings()
237 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_read_profilex_buttons()
Dhid-roccat-kone.c266 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_read_settings()
290 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_write_settings()
336 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_read_profilex()
356 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_write_profilex()
/linux-6.6.21/drivers/rapidio/
Drio-sysfs.c120 struct rio_dev *dev = to_rio_dev(kobj_to_dev(kobj)); in rio_read_config()
191 struct rio_dev *dev = to_rio_dev(kobj_to_dev(kobj)); in rio_write_config()
262 struct rio_dev *rdev = to_rio_dev(kobj_to_dev(kobj)); in rio_dev_is_attr_visible()
/linux-6.6.21/drivers/misc/ocxl/
Dsysfs.c100 struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj)); in global_mmio_read()
131 struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj)); in global_mmio_mmap()
/linux-6.6.21/arch/s390/pci/
Dpci_sysfs.c127 struct device *dev = kobj_to_dev(kobj); in util_string_read()
141 struct device *dev = kobj_to_dev(kobj); in report_error_write()
/linux-6.6.21/drivers/i2c/
Di2c-slave-eeprom.c99 eeprom = dev_get_drvdata(kobj_to_dev(kobj)); in i2c_slave_eeprom_bin_read()
114 eeprom = dev_get_drvdata(kobj_to_dev(kobj)); in i2c_slave_eeprom_bin_write()
/linux-6.6.21/drivers/power/supply/
Dds2781_battery.c629 struct device *dev = kobj_to_dev(kobj); in ds2781_read_param_eeprom_bin()
642 struct device *dev = kobj_to_dev(kobj); in ds2781_write_param_eeprom_bin()
674 struct device *dev = kobj_to_dev(kobj); in ds2781_read_user_eeprom_bin()
688 struct device *dev = kobj_to_dev(kobj); in ds2781_write_user_eeprom_bin()
Dds2780_battery.c627 struct device *dev = kobj_to_dev(kobj); in ds2780_read_param_eeprom_bin()
640 struct device *dev = kobj_to_dev(kobj); in ds2780_write_param_eeprom_bin()
672 struct device *dev = kobj_to_dev(kobj); in ds2780_read_user_eeprom_bin()
685 struct device *dev = kobj_to_dev(kobj); in ds2780_write_user_eeprom_bin()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gt_sysfs.c40 struct device *dev = kobj_to_dev(kobj); in intel_gt_sysfs_get_drvdata()
/linux-6.6.21/drivers/base/firmware_loader/
Dsysfs.c265 struct device *dev = kobj_to_dev(kobj); in firmware_data_read()
322 struct device *dev = kobj_to_dev(kobj); in firmware_data_write()
/linux-6.6.21/drivers/platform/x86/intel/pmt/
Dclass.c99 struct device *dev = kobj_to_dev(kobj); in intel_pmt_mmap()
334 struct device *dev = kobj_to_dev(entry->kobj); in intel_pmt_dev_destroy()

12345678