Searched defs:eeprom_data (Results 1 - 25 of 27) sorted by relevance

12

/drivers/media/video/au0828/
H A Dau0828-cards.c154 static void hauppauge_eeprom(struct au0828_dev *dev, u8 *eeprom_data) argument
158 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
/drivers/media/video/saa7164/
H A Dsaa7164-cards.c615 static void hauppauge_eeprom(struct saa7164_dev *dev, u8 *eeprom_data) argument
621 eeprom_data);
/drivers/media/video/
H A Dtveeprom.c428 unsigned char *eeprom_data)
470 if (eeprom_data[0] == 0x1a &&
471 eeprom_data[1] == 0xeb &&
472 eeprom_data[2] == 0x67 &&
473 eeprom_data[3] == 0x95)
475 else if ((eeprom_data[0] & 0xe1) == 0x01 &&
476 eeprom_data[1] == 0x00 &&
477 eeprom_data[2] == 0x00 &&
478 eeprom_data[8] == 0x84)
480 else if (eeprom_data[
427 tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee, unsigned char *eeprom_data) argument
[all...]
/drivers/misc/eeprom/
H A Deeprom.c42 struct eeprom_data { struct
53 struct eeprom_data *data = i2c_get_clientdata(client);
89 struct eeprom_data *data = i2c_get_clientdata(client);
162 struct eeprom_data *data;
165 if (!(data = kzalloc(sizeof(struct eeprom_data), GFP_KERNEL))) {
/drivers/media/video/cx23885/
H A Dcx23885-cards.c740 static void hauppauge_eeprom(struct cx23885_dev *dev, u8 *eeprom_data) argument
745 eeprom_data);
/drivers/media/video/cx88/
H A Dcx88-cards.c2822 static void leadtek_eeprom(struct cx88_core *core, u8 *eeprom_data) argument
2824 if (eeprom_data[4] != 0x7d ||
2825 eeprom_data[5] != 0x10 ||
2826 eeprom_data[7] != 0x66) {
2832 switch (eeprom_data[6]) {
2847 core->board.tuner_type, eeprom_data[0]);
2850 static void hauppauge_eeprom(struct cx88_core *core, u8 *eeprom_data) argument
2854 tveeprom_hauppauge_analog(&core->i2c_client, &tv, eeprom_data);
2948 static void gdi_eeprom(struct cx88_core *core, u8 *eeprom_data) argument
2950 const char *name = (eeprom_data[
[all...]
/drivers/media/video/saa7134/
H A Dsaa7134-cards.c7267 static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data) argument
7271 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
/drivers/staging/comedi/drivers/
H A Dni_labpc.h93 unsigned int eeprom_data[EEPROM_SIZE]; member in struct:labpc_private
H A Dcb_pcidda.c232 u16 eeprom_data[EEPROM_SIZE]; /* software copy of board's eeprom */ member in struct:cb_pcidda_private
379 devpriv->eeprom_data[index] = cb_pcidda_read_eeprom(dev, index);
380 dev_dbg(dev->hw_dev, "%i:0x%x\n", index, devpriv->eeprom_data[index]);
823 eeprom_coarse_byte(devpriv->eeprom_data
826 eeprom_fine_byte(devpriv->eeprom_data
829 eeprom_coarse_byte(devpriv->eeprom_data
832 eeprom_fine_byte(devpriv->eeprom_data
/drivers/infiniband/hw/nes/
H A Dnes_utils.c89 u16 eeprom_data; local
99 eeprom_data = nes_read16_eeprom(nesdev->regs, 0);
100 nes_debug(NES_DBG_HW, "EEPROM Offset 0 = 0x%04X\n", eeprom_data);
101 eeprom_offset = 2 + (((eeprom_data & 0x007f) << 3) <<
102 ((eeprom_data & 0x0080) >> 7));
105 eeprom_data = nes_read16_eeprom(nesdev->regs, eeprom_offset + 4);
106 if (eeprom_data != 0x5746) {
107 nes_debug(NES_DBG_HW, "Not a valid Firmware Image = 0x%04X\n", eeprom_data);
111 eeprom_data = nes_read16_eeprom(nesdev->regs, eeprom_offset + 2);
113 eeprom_offset + 2, eeprom_data);
[all...]
H A Dnes.c888 u32 eeprom_data = 0xdead; local
894 eeprom_data = nes_read32(nesdev->regs + NES_EEPROM_DATA);
900 return snprintf(buf, PAGE_SIZE, "0x%x\n", eeprom_data);
1163 static DRIVER_ATTR(eeprom_data, S_IRUSR | S_IWUSR,
/drivers/media/video/gspca/
H A Dtv8532.c140 static const u8 eeprom_data[][3] = { variable
190 for (i = 0; i < ARRAY_SIZE(eeprom_data); i++) {
192 reg_w1(gspca_dev, R04_WTRAM_DATA_L, eeprom_data[i][2]);
193 reg_w1(gspca_dev, R05_WTRAM_DATA_M, eeprom_data[i][1]);
194 reg_w1(gspca_dev, R06_WTRAM_DATA_H, eeprom_data[i][0]);
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82598.c47 u8 *eeprom_data);
1036 * @eeprom_data: value read
1041 u8 *eeprom_data)
1084 *eeprom_data = (u8)(sfp_data >> 8);
1040 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument
H A Dixgbe_phy.c1181 * @eeprom_data: value read
1186 u8 *eeprom_data)
1190 eeprom_data);
1197 * @eeprom_data: value to write
1202 u8 eeprom_data)
1206 eeprom_data);
1185 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument
1201 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) argument
/drivers/net/wireless/iwlwifi/
H A Diwl-eeprom.c387 __le16 *eeprom_data)
421 *eeprom_data = cpu_to_le16(r >> 16);
725 __le16 eeprom_data; local
727 ret = iwl_read_otp_word(trans, addr, &eeprom_data);
730 e[cache_addr / 2] = eeprom_data;
386 iwl_read_otp_word(struct iwl_trans *trans, u16 addr, __le16 *eeprom_data) argument
/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c679 u16 eeprom_data; local
686 adapter->hw.nvm.ops.read(&adapter->hw, 5, 1, &eeprom_data);
689 (eeprom_data & 0xF000) >> 12,
690 (eeprom_data & 0x0FF0) >> 4,
691 eeprom_data & 0x000F);
H A Digb_main.c1839 u16 eeprom_data = 0; local
2050 hw->nvm.ops.read(hw, NVM_INIT_CONTROL3_PORT_A, 1, &eeprom_data);
2054 &eeprom_data);
2056 hw->nvm.ops.read(hw, NVM_INIT_CONTROL3_PORT_B, 1, &eeprom_data);
2058 if (eeprom_data & eeprom_apme_mask)
/drivers/scsi/qla4xxx/
H A Dql4_nvram.h105 struct eeprom_data { struct
/drivers/media/video/bt8xx/
H A Dbttv-cards.c89 unsigned char eeprom_data[256]);
2902 static unsigned char eeprom_data[256]; variable
2979 static void identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256]) argument
2983 if (0 == strncmp(eeprom_data,"GET MM20xPCTV",13))
2985 else if (0 == strncmp(eeprom_data+20,"Picolo",7))
2987 else if (eeprom_data[0] == 0x84 && eeprom_data[2]== 0)
3342 bttv_readee(btv,eeprom_data,0xa0);
3343 identify_by_eeprom(btv,eeprom_data);
3371 bttv_readee(btv,eeprom_data,
[all...]
/drivers/net/ethernet/intel/e1000/
H A De1000_hw.c676 u16 eeprom_data; local
693 &eeprom_data);
698 if (eeprom_data != EEPROM_RESERVED_WORD) {
700 eeprom_data &= EEPROM_SERDES_AMPLITUDE_MASK;
702 e1000_write_phy_reg(hw, M88E1000_PHY_EXT_CTRL, eeprom_data);
724 u16 eeprom_data; local
738 1, &eeprom_data);
743 if ((eeprom_data & EEPROM_WORD0F_PAUSE_MASK) == 0)
745 else if ((eeprom_data & EEPROM_WORD0F_PAUSE_MASK) ==
775 1, &eeprom_data);
4017 u16 i, eeprom_data; local
4053 u16 i, eeprom_data; local
4289 u16 eeprom_data, i; local
4486 u16 eeprom_data, i, temp; local
5476 u16 eeprom_data; local
[all...]
H A De1000_main.c952 u16 eeprom_data = 0; local
1153 EEPROM_INIT_CONTROL2_REG, 1, &eeprom_data);
1160 EEPROM_INIT_CONTROL3_PORT_B, 1, &eeprom_data);
1166 EEPROM_INIT_CONTROL3_PORT_A, 1, &eeprom_data);
1169 if (eeprom_data & eeprom_apme_mask)
/drivers/net/ethernet/smsc/
H A Dsmsc911x.c2019 u8 eeprom_data[SMSC911X_EEPROM_SIZE]; local
2027 int ret = smsc911x_eeprom_read_location(pdata, i, eeprom_data);
2034 memcpy(data, &eeprom_data[eeprom->offset], len);
H A Dsmsc9420.c419 u8 eeprom_data[SMSC9420_EEPROM_SIZE]; local
426 int ret = smsc9420_eeprom_read_location(pd, i, eeprom_data);
433 memcpy(data, &eeprom_data[eeprom->offset], len);
/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c6083 u16 eeprom_data = 0; local
6315 eeprom_data = er32(WUC);
6318 (eeprom_data & E1000_WUC_PHY_WAKE))
6324 1, &eeprom_data);
6327 1, &eeprom_data);
6331 if (eeprom_data & eeprom_apme_mask)
/drivers/staging/et131x/
H A Det131x.c514 u8 eeprom_data[2]; member in struct:et131x_adapter
849 eeprom_read(adapter, 0x70, &adapter->eeprom_data[0]);
850 eeprom_read(adapter, 0x71, &adapter->eeprom_data[1]);
852 if (adapter->eeprom_data[0] != 0xcd)
854 adapter->eeprom_data[1] = 0x00;
1783 if ((adapter->eeprom_data[1] & 0x4) == 0) {
1789 if ((adapter->eeprom_data[1] & 0x8) == 0)

Completed in 747 milliseconds

12