Home
last modified time | relevance | path

Searched refs:eeprom_addr (Results 1 – 13 of 13) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_eeprom.c92 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 …]
Damdgpu_eeprom.h30 u32 eeprom_addr, u8 *eeprom_buf,
34 u32 eeprom_addr, u8 *eeprom_buf,
/drivers/parisc/
Deisa.c63 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()
Deisa_enumerator.c480 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/
Dpvrusb2-eeprom.c50 hdw->eeprom_addr); in pvr2_eeprom_fetch()
51 addr = hdw->eeprom_addr; in pvr2_eeprom_fetch()
Dpvrusb2-hdw-internal.h333 int eeprom_addr; member
Dpvrusb2-hdw.c2188 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/
Dxgbe-phy-v2.c1241 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/
Didt_89hpesx.c1097 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/
Ddl2k.h374 void __iomem *eeprom_addr; member
Ddl2k.c138 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/
Daf9035.c491 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/
Di40e_adminq_cmd.h1932 __le16 eeprom_addr; member