/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_eeprom.c | 92 static int __amdgpu_eeprom_xfer(struct i2c_adapter *i2c_adap, u32 eeprom_addr, in __amdgpu_eeprom_xfer() argument 111 buf_size -= len, eeprom_addr += len, eeprom_buf += len) { in __amdgpu_eeprom_xfer() 114 msgs[0].addr = MAKE_I2C_ADDR(eeprom_addr); in __amdgpu_eeprom_xfer() 116 msgs[0].buf[0] = (eeprom_addr >> 8) & 0xff; in __amdgpu_eeprom_xfer() 117 msgs[0].buf[1] = eeprom_addr & 0xff; in __amdgpu_eeprom_xfer() 136 len = min(EEPROM_PAGE_SIZE - (eeprom_addr & in __amdgpu_eeprom_xfer() 181 static int amdgpu_eeprom_xfer(struct i2c_adapter *i2c_adap, u32 eeprom_addr, in amdgpu_eeprom_xfer() argument 195 return __amdgpu_eeprom_xfer(i2c_adap, eeprom_addr, in amdgpu_eeprom_xfer() 200 eeprom_addr, buf_size, in amdgpu_eeprom_xfer() 213 buf_size -= ps, eeprom_addr += ps, eeprom_buf += ps) { in amdgpu_eeprom_xfer() [all …]
|
D | amdgpu_eeprom.h | 30 u32 eeprom_addr, u8 *eeprom_buf, 34 u32 eeprom_addr, u8 *eeprom_buf,
|
/drivers/parisc/ |
D | eisa.c | 63 unsigned long eeprom_addr; member 344 eisa_dev.eeprom_addr = dev->addr[0]; in eisa_probe() 348 eisa_dev.eeprom_addr = SNAKES_EEPROM_BASE_ADDR; in eisa_probe() 350 eisa_dev.eeprom_addr = MIRAGE_EEPROM_BASE_ADDR; in eisa_probe() 353 eisa_eeprom_addr = ioremap(eisa_dev.eeprom_addr, HPEE_MAX_LENGTH); in eisa_probe() 359 result = eisa_enumerator(eisa_dev.eeprom_addr, &eisa_dev.hba.io_space, in eisa_probe()
|
D | eisa_enumerator.c | 480 int eisa_enumerator(unsigned long eeprom_addr, in eisa_enumerator() argument 488 eeprom_buf[i] = gsc_readb(eeprom_addr+i); in eisa_enumerator()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-eeprom.c | 50 hdw->eeprom_addr); in pvr2_eeprom_fetch() 51 addr = hdw->eeprom_addr; in pvr2_eeprom_fetch()
|
D | pvrusb2-hdw-internal.h | 333 int eeprom_addr; member
|
D | pvrusb2-hdw.c | 2188 hdw->eeprom_addr = ret; in pvr2_hdw_setup_low() 2542 hdw->eeprom_addr = -1; in pvr2_hdw_create() 3343 hdw->eeprom_addr); in pvr2_full_eeprom_fetch() 3344 addr = hdw->eeprom_addr; in pvr2_full_eeprom_fetch()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-phy-v2.c | 1241 u8 eeprom_addr; in xgbe_phy_sfp_read_eeprom() local 1252 eeprom_addr = 0; in xgbe_phy_sfp_read_eeprom() 1254 &eeprom_addr, sizeof(eeprom_addr), in xgbe_phy_sfp_read_eeprom() 1381 u8 eeprom_addr, eeprom_data[XGBE_SFP_EEPROM_MAX]; in xgbe_phy_module_eeprom() local 1427 eeprom_addr = 0; in xgbe_phy_module_eeprom() 1429 &eeprom_addr, sizeof(eeprom_addr), in xgbe_phy_module_eeprom() 1442 eeprom_addr = 0; in xgbe_phy_module_eeprom() 1444 &eeprom_addr, sizeof(eeprom_addr), in xgbe_phy_module_eeprom()
|
/drivers/misc/eeprom/ |
D | idt_89hpesx.c | 1097 u32 eeprom_addr; in idt_get_fw_data() local 1119 ret = fwnode_property_read_u32(fwnode, "reg", &eeprom_addr); in idt_get_fw_data() 1120 if (ret || (eeprom_addr == 0)) { in idt_get_fw_data() 1127 pdev->eeaddr = eeprom_addr << 1; in idt_get_fw_data()
|
/drivers/net/ethernet/dlink/ |
D | dl2k.h | 374 void __iomem *eeprom_addr; member
|
D | dl2k.c | 138 np->eeprom_addr = ioaddr; in rio_probe1() 293 pci_iounmap(pdev, np->eeprom_addr); in rio_probe1() 1373 void __iomem *ioaddr = np->eeprom_addr; in read_eeprom() 1807 pci_iounmap(pdev, np->eeprom_addr); in rio_remove1()
|
/drivers/media/usb/dvb-usb-v2/ |
D | af9035.c | 491 unsigned int utmp, eeprom_addr; in af9035_identify_state() local 532 eeprom_addr = EEPROM_BASE_IT9135; in af9035_identify_state() 539 eeprom_addr = EEPROM_BASE_AF9035; in af9035_identify_state() 544 ret = af9035_rd_regs(d, eeprom_addr + i, &state->eeprom[i], 32); in af9035_identify_state()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq_cmd.h | 1932 __le16 eeprom_addr; member
|