Home
last modified time | relevance | path

Searched refs:eeprom_data (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/media/video/
Dbttv-cards.c71 unsigned char eeprom_data[256]);
1816 static unsigned char eeprom_data[256]; variable
1897 void identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256]) in identify_by_eeprom()
1901 if (0 == strncmp(eeprom_data,"GET.MM20xPCTV",13)) in identify_by_eeprom()
1903 else if (0 == strncmp(eeprom_data+20,"Picolo",7)) in identify_by_eeprom()
1905 else if (eeprom_data[0] == 0x84 && eeprom_data[2]== 0) in identify_by_eeprom()
2138 bttv_readee(btv,eeprom_data,0xa0); in bttv_init_card2()
2139 identify_by_eeprom(btv,eeprom_data); in bttv_init_card2()
2167 bttv_readee(btv,eeprom_data,0xa0); in bttv_init_card2()
2172 bttv_readee(btv,eeprom_data,0xa0); in bttv_init_card2()
[all …]
/linux-2.4.37.9/drivers/net/e1000/
De1000_hw.c1056 uint16_t eeprom_data; in e1000_adjust_serdes_amplitude() local
1072 ret_val = e1000_read_eeprom(hw, EEPROM_SERDES_AMPLITUDE, 1, &eeprom_data); in e1000_adjust_serdes_amplitude()
1077 if (eeprom_data != EEPROM_RESERVED_WORD) { in e1000_adjust_serdes_amplitude()
1079 eeprom_data &= EEPROM_SERDES_AMPLITUDE_MASK; in e1000_adjust_serdes_amplitude()
1080 ret_val = e1000_write_phy_reg(hw, M88E1000_PHY_EXT_CTRL, eeprom_data); in e1000_adjust_serdes_amplitude()
1104 uint16_t eeprom_data; in e1000_setup_link() local
1129 1, &eeprom_data); in e1000_setup_link()
1134 if ((eeprom_data & EEPROM_WORD0F_PAUSE_MASK) == 0) in e1000_setup_link()
1136 else if ((eeprom_data & EEPROM_WORD0F_PAUSE_MASK) == in e1000_setup_link()
1168 1, &eeprom_data); in e1000_setup_link()
[all …]
De1000_ethtool.c590 uint16_t eeprom_data; in e1000_get_drvinfo() local
597 e1000_read_eeprom(&adapter->hw, 5, 1, &eeprom_data); in e1000_get_drvinfo()
605 (eeprom_data & 0xF000) >> 12, in e1000_get_drvinfo()
606 (eeprom_data & 0x0FF0) >> 4, in e1000_get_drvinfo()
607 eeprom_data & 0x000F); in e1000_get_drvinfo()
De1000_main.c879 uint16_t eeprom_data = 0; local
1077 EEPROM_INIT_CONTROL2_REG, 1, &eeprom_data);
1082 EEPROM_INIT_CONTROL1_REG, 1, &eeprom_data);
1091 EEPROM_INIT_CONTROL3_PORT_B, 1, &eeprom_data);
1097 EEPROM_INIT_CONTROL3_PORT_A, 1, &eeprom_data);
1100 if (eeprom_data & eeprom_apme_mask)
3349 uint16_t eeprom_data = 0; local
3371 &eeprom_data);
3373 (eeprom_data & EEPROM_WORD1A_ASPM_MASK)) {
/linux-2.4.37.9/drivers/net/e100/
De100_main.c3647 u16 eeprom_data[256]; in e100_ethtool_eeprom() local
3652 u8 *eeprom_data_bytes = (u8 *)eeprom_data; in e100_ethtool_eeprom()
3678 eeprom_data[i] = e100_eeprom_read(bdp, first_word + i); in e100_ethtool_eeprom()
3693 ptr = (void *)eeprom_data; in e100_ethtool_eeprom()
3697 eeprom_data[0] = e100_eeprom_read(bdp, first_word); in e100_ethtool_eeprom()
3703 eeprom_data[last_word - first_word] = in e100_ethtool_eeprom()
3709 e100_eeprom_write_block(bdp, first_word, eeprom_data, in e100_ethtool_eeprom()