Home
last modified time | relevance | path

Searched refs:eedata (Results 1 – 19 of 19) sorted by relevance

/drivers/media/usb/tm6000/
Dtm6000-i2c.c215 unsigned char *p = dev->eedata; in tm6000_i2c_eeprom()
222 for (i = 0; i < sizeof(dev->eedata); ) { in tm6000_i2c_eeprom()
226 if (p == dev->eedata) in tm6000_i2c_eeprom()
239 printk(KERN_CONT " %02x", dev->eedata[i]); in tm6000_i2c_eeprom()
240 if ((dev->eedata[i] >= ' ') && (dev->eedata[i] <= 'z')) in tm6000_i2c_eeprom()
241 bytes[i%16] = dev->eedata[i]; in tm6000_i2c_eeprom()
Dtm6000.h167 unsigned char eedata[256]; /* Eeprom data */ member
Dtm6000-cards.c1024 if (!memcmp(&dev->eedata[tm6000_boards[i].eename_pos], in use_alternative_detection_method()
/drivers/media/pci/cx18/
Dcx18-driver.c296 static void cx18_eeprom_dump(struct cx18 *cx, unsigned char *eedata, int len) in cx18_eeprom_dump() argument
304 printk(KERN_CONT " %02x", eedata[i]); in cx18_eeprom_dump()
314 u8 eedata[256]; in cx18_read_eeprom() local
326 if (tveeprom_read(c, eedata, sizeof(eedata))) in cx18_read_eeprom()
333 tveeprom_hauppauge_analog(tv, eedata); in cx18_read_eeprom()
338 cx18_eeprom_dump(cx, eedata, sizeof(eedata)); in cx18_read_eeprom()
340 eedata[2], eedata[1], eedata[4], eedata[3]); in cx18_read_eeprom()
344 cx18_eeprom_dump(cx, eedata, sizeof(eedata)); in cx18_read_eeprom()
/drivers/media/pci/saa7134/
Dsaa7134-i2c.c378 saa7134_i2c_eeprom(struct saa7134_dev *dev, unsigned char *eedata, int len) in saa7134_i2c_eeprom() argument
393 if (len != (err = i2c_master_recv(&dev->i2c_client,eedata,len))) { in saa7134_i2c_eeprom()
402 pr_info("i2c eeprom %02x: %*ph\n", i, size, &eedata[i]); in saa7134_i2c_eeprom()
443 saa7134_i2c_eeprom(dev,dev->eedata,sizeof(dev->eedata)); in saa7134_i2c_register()
Dsaa7134-cards.c7807 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) { in saa7134_board_init2()
7837 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) { in saa7134_board_init2()
7854 if (dev->autodetected && (dev->eedata[0x27] == 0x03)) { in saa7134_board_init2()
7869 hauppauge_eeprom(dev, dev->eedata+0x80); in saa7134_board_init2()
7872 hauppauge_eeprom(dev, dev->eedata+0x80); in saa7134_board_init2()
7964 if (!dev->autodetected || (dev->eedata[0x41] == 0xd0)) in saa7134_board_init2()
7966 if (dev->eedata[0x41] == 0x02) { in saa7134_board_init2()
7975 dev->name, dev->eedata[0x41]); in saa7134_board_init2()
Dsaa7134.h588 unsigned char eedata[256]; member
Dsaa7134-dvb.c1447 u8 dev_id = dev->eedata[2]; in dvb_init()
1940 if ((dev->eedata[2] == 0x07) && use_frontend) { in dvb_fini()
/drivers/media/pci/bt8xx/
Dbttv-i2c.c301 void bttv_readee(struct bttv *btv, unsigned char *eedata, int addr) in bttv_readee() argument
303 memset(eedata, 0, 256); in bttv_readee()
307 tveeprom_read(&btv->i2c_client, eedata, 256); in bttv_readee()
Dbttv.h374 extern void bttv_readee(struct bttv *btv, unsigned char *eedata, int addr);
/drivers/media/usb/em28xx/
Dem28xx-i2c.c677 u8 **eedata, u16 *eedata_len) in em28xx_i2c_eeprom() argument
689 *eedata = NULL; in em28xx_i2c_eeprom()
817 *eedata = data; in em28xx_i2c_eeprom()
819 dev_config = (void *)*eedata; in em28xx_i2c_eeprom()
1010 &dev->eedata, &dev->eedata_len); in em28xx_i2c_register()
Dem28xx.h719 u8 *eedata; member
Dem28xx-cards.c3162 if (!dev->eedata) in em28xx_card_setup()
3169 tveeprom_hauppauge_analog(&tv, dev->eedata); in em28xx_card_setup()
3255 kfree(dev->eedata); in em28xx_card_setup()
3256 dev->eedata = NULL; in em28xx_card_setup()
/drivers/media/common/
Dtveeprom.c738 int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len) in tveeprom_read() argument
749 err = i2c_master_recv(c, eedata, len); in tveeprom_read()
756 16, 1, eedata, len, true); in tveeprom_read()
/drivers/media/pci/ivtv/
Divtv-driver.c407 u8 eedata[256]; in ivtv_read_eeprom() local
410 tveeprom_read(&itv->i2c_client, eedata, sizeof(eedata)); in ivtv_read_eeprom()
411 tveeprom_hauppauge_analog(tv, eedata); in ivtv_read_eeprom()
/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1212 u8 *eedata, int len) in read_eeprom() argument
1217 u8 *eedata_cur = eedata; in read_eeprom()
1245 i, 16, &eedata[i]); in read_eeprom()
Dcx231xx.h647 unsigned char eedata[256]; member
/drivers/net/ethernet/natsemi/
Dnatsemi.c861 int eedata = eeprom_read(ioaddr, i + 7); in natsemi_probe1() local
862 dev->dev_addr[i*2] = (eedata << 1) + (prev_eedata >> 15); in natsemi_probe1()
863 dev->dev_addr[i*2+1] = eedata >> 7; in natsemi_probe1()
864 prev_eedata = eedata; in natsemi_probe1()
/drivers/net/ethernet/agere/
Det131x.c696 static const u8 eedata[4] = { 0xFE, 0x13, 0x10, 0xFF }; in et131x_init_eeprom() local
703 if (eeprom_write(adapter, i, eedata[i]) < 0) in et131x_init_eeprom()