Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/drivers/mtd/spi-nor/
Dsysfs.c54 struct spi_device *spi = to_spi_device(kobj_to_dev(kobj)); in sfdp_read()
73 struct spi_device *spi = to_spi_device(kobj_to_dev(kobj)); in spi_nor_sysfs_is_visible()
86 struct spi_device *spi = to_spi_device(kobj_to_dev(kobj)); in spi_nor_sysfs_is_bin_visible()
/linux-6.1.9/drivers/pci/
Dpci-sysfs.c674 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj)); in pci_read_config()
749 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj)); in pci_write_config()
817 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_dev_config_attr_is_visible()
848 struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj)); in pci_read_legacy_io()
873 struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj)); in pci_write_legacy_io()
897 struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj)); in pci_mmap_legacy_mem()
917 struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj)); in pci_mmap_legacy_io()
1040 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_mmap_resource()
1079 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_resource_io()
1261 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()
Dvpd.c277 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj)); in vpd_read()
286 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj)); in vpd_write()
300 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in vpd_attr_is_visible()
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c271 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_read_crb()
288 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_write_crb()
317 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_read_mem()
339 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_write_mem()
404 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_write_pm_config()
454 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_read_pm_config()
547 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_write_esw_config()
631 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_read_esw_config()
683 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_write_npar_config()
730 struct device *dev = kobj_to_dev(kobj); in qlcnic_sysfs_read_npar_config()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_sysfs.c67 struct device *kdev = kobj_to_dev(kobj); in i915_l3_read()
95 struct device *kdev = kobj_to_dev(kobj); in i915_l3_write()
166 struct device *kdev = kobj_to_dev(kobj); in error_state_read()
201 struct device *kdev = kobj_to_dev(kobj); in error_state_write()
/linux-6.1.9/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.1.9/drivers/cxl/
Dport.c88 struct device *dev = kobj_to_dev(kobj); in CDAT_read()
107 struct device *dev = kobj_to_dev(kobj); in cxl_port_bin_attr_is_visible()
/linux-6.1.9/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.1.9/drivers/hid/
Dhid-roccat-pyra.c90 struct device *dev = kobj_to_dev(kobj)->parent->parent; in pyra_sysfs_read()
115 struct device *dev = kobj_to_dev(kobj)->parent->parent; in pyra_sysfs_write()
189 struct device *dev = kobj_to_dev(kobj)->parent->parent; in pyra_sysfs_read_profilex_settings()
207 struct device *dev = kobj_to_dev(kobj)->parent->parent; in pyra_sysfs_read_profilex_buttons()
244 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.c87 struct device *dev = kobj_to_dev(kobj)->parent->parent; in koneplus_sysfs_read()
112 struct device *dev = kobj_to_dev(kobj)->parent->parent; in koneplus_sysfs_write()
191 struct device *dev = kobj_to_dev(kobj)->parent->parent; in koneplus_sysfs_read_profilex_settings()
209 struct device *dev = kobj_to_dev(kobj)->parent->parent; in koneplus_sysfs_read_profilex_buttons()
Dhid-roccat-kovaplus.c130 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_read()
155 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_write()
221 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_read_profilex_settings()
239 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kovaplus_sysfs_read_profilex_buttons()
Dhid-roccat-kone.c269 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_read_settings()
293 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_write_settings()
339 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_read_profilex()
359 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_write_profilex()
/linux-6.1.9/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.1.9/drivers/platform/x86/intel/
Dsdsi.c373 struct device *dev = kobj_to_dev(kobj); in provision_akc_write()
387 struct device *dev = kobj_to_dev(kobj); in provision_cap_write()
401 struct device *dev = kobj_to_dev(kobj); in state_certificate_read()
449 struct device *dev = kobj_to_dev(kobj); in registers_read()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/power/supply/
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()
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()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gt_sysfs.c39 struct device *dev = kobj_to_dev(kobj); in intel_gt_sysfs_get_drvdata()
/linux-6.1.9/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()

1234567