Home
last modified time | relevance | path

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

/Linux-v4.19/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.h168 unsigned char eedata[256]; /* Eeprom data */ member
Dtm6000-cards.c1024 if (!memcmp(&dev->eedata[tm6000_boards[i].eename_pos], in use_alternative_detection_method()
/Linux-v4.19/drivers/media/pci/saa7134/
Dsaa7134-i2c.c383 saa7134_i2c_eeprom(struct saa7134_dev *dev, unsigned char *eedata, int len) in saa7134_i2c_eeprom() argument
398 if (len != (err = i2c_master_recv(&dev->i2c_client,eedata,len))) { in saa7134_i2c_eeprom()
407 pr_info("i2c eeprom %02x: %*ph\n", i, size, &eedata[i]); in saa7134_i2c_eeprom()
448 saa7134_i2c_eeprom(dev,dev->eedata,sizeof(dev->eedata)); in saa7134_i2c_register()
Dsaa7134-cards.c7801 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) { in saa7134_board_init2()
7831 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) { in saa7134_board_init2()
7848 if (dev->autodetected && (dev->eedata[0x27] == 0x03)) { in saa7134_board_init2()
7863 hauppauge_eeprom(dev, dev->eedata+0x80); in saa7134_board_init2()
7866 hauppauge_eeprom(dev, dev->eedata+0x80); in saa7134_board_init2()
7958 if (!dev->autodetected || (dev->eedata[0x41] == 0xd0)) in saa7134_board_init2()
7960 if (dev->eedata[0x41] == 0x02) { in saa7134_board_init2()
7969 dev->name, dev->eedata[0x41]); in saa7134_board_init2()
Dsaa7134.h594 unsigned char eedata[256]; member
Dsaa7134-dvb.c1442 u8 dev_id = dev->eedata[2]; in dvb_init()
1935 if ((dev->eedata[2] == 0x07) && use_frontend) { in dvb_fini()
/Linux-v4.19/drivers/media/pci/cx18/
Dcx18-driver.c305 static void cx18_eeprom_dump(struct cx18 *cx, unsigned char *eedata, int len) in cx18_eeprom_dump() argument
313 printk(KERN_CONT " %02x", eedata[i]); in cx18_eeprom_dump()
323 u8 eedata[256]; in cx18_read_eeprom() local
335 if (tveeprom_read(c, eedata, sizeof(eedata))) in cx18_read_eeprom()
342 tveeprom_hauppauge_analog(tv, eedata); in cx18_read_eeprom()
347 cx18_eeprom_dump(cx, eedata, sizeof(eedata)); in cx18_read_eeprom()
349 eedata[2], eedata[1], eedata[4], eedata[3]); in cx18_read_eeprom()
353 cx18_eeprom_dump(cx, eedata, sizeof(eedata)); in cx18_read_eeprom()
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-i2c.c313 void bttv_readee(struct bttv *btv, unsigned char *eedata, int addr) in bttv_readee() argument
315 memset(eedata, 0, 256); in bttv_readee()
319 tveeprom_read(&btv->i2c_client, eedata, 256); in bttv_readee()
Dbttv.h374 extern void bttv_readee(struct bttv *btv, unsigned char *eedata, int addr);
/Linux-v4.19/include/media/
Dtveeprom.h116 int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);
/Linux-v4.19/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()
1009 &dev->eedata, &dev->eedata_len); in em28xx_i2c_register()
Dem28xx.h712 u8 *eedata; member
Dem28xx-cards.c3099 if (!dev->eedata) in em28xx_card_setup()
3106 tveeprom_hauppauge_analog(&tv, dev->eedata); in em28xx_card_setup()
3192 kfree(dev->eedata); in em28xx_card_setup()
3193 dev->eedata = NULL; in em28xx_card_setup()
/Linux-v4.19/drivers/media/common/
Dtveeprom.c746 int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len) in tveeprom_read() argument
757 err = i2c_master_recv(c, eedata, len); in tveeprom_read()
764 16, 1, eedata, len, true); in tveeprom_read()
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-driver.c408 u8 eedata[256]; in ivtv_read_eeprom() local
411 tveeprom_read(&itv->i2c_client, eedata, sizeof(eedata)); in ivtv_read_eeprom()
412 tveeprom_hauppauge_analog(tv, eedata); in ivtv_read_eeprom()
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1222 u8 *eedata, int len) in read_eeprom() argument
1227 u8 *eedata_cur = eedata; in read_eeprom()
1255 i, 16, &eedata[i]); in read_eeprom()
Dcx231xx.h673 unsigned char eedata[256]; member
/Linux-v4.19/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()
/Linux-v4.19/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()