Searched refs:readreg (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/cirrus/ |
D | mac89x0.c | 141 readreg(struct net_device *dev, int portno) in readreg() function 221 rev_type = readreg(dev, PRODUCT_ID_ADD); in mac89x0_device_probe() 241 if ((readreg(dev, PP_SelfST) & (EEPROM_PRESENT | EEPROM_OK)) == 0) { in mac89x0_device_probe() 249 unsigned short s = readreg(dev, PP_IA + i); in mac89x0_device_probe() 291 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) & ~ENABLE_IRQ); in net_open() 308 writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) | SERIAL_RX_ON | SERIAL_TX_ON); in net_open() 325 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) | ENABLE_IRQ); in net_open() 351 if ((readreg(dev, PP_BusST) & READY_FOR_TX_NOW) == 0) { in net_send_packet() 442 status = readreg(dev, PP_RxStatus); in net_rx() 458 length = readreg(dev, PP_RxLength); in net_rx() [all …]
|
D | cs89x0.c | 224 readreg(struct net_device *dev, u16 regno) in readreg() function 249 while (readreg(dev, PP_SelfST) & SI_BUSY) in wait_eeprom_ready() 268 buffer[i] = readreg(dev, PP_EEData); in get_eeprom_data() 521 writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) | SERIAL_TX_ON); in send_test_pkt() 531 if (readreg(dev, PP_BusST) & READY_FOR_TX_NOW) in send_test_pkt() 543 if ((readreg(dev, PP_TxEvent) & TX_SEND_OK_BITS) == TX_OK) { in send_test_pkt() 581 if ((readreg(dev, PP_LineST) & LINK_OK) == 0) in detect_tp() 601 readreg(dev, PP_TestCTL) | FDX_8900); in detect_tp() 604 fdx = readreg(dev, PP_TestCTL) & FDX_8900; in detect_tp() 622 while (readreg(dev, PP_AutoNegST) & AUTO_NEG_BUSY) { in detect_tp() [all …]
|
/linux-6.1.9/drivers/media/pci/zoran/ |
D | zr36016.c | 39 if (ptr->codec->master_data->readreg) in zr36016_read() 40 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36016_read() 74 if ((ptr->codec->master_data->writereg) && (ptr->codec->master_data->readreg)) { in zr36016_readi() 76 value = (ptr->codec->master_data->readreg(ptr->codec, ZR016_IDATA)) & 0xFF; in zr36016_readi()
|
D | videocodec.h | 284 __u32 (*readreg)(struct videocodec *codec, __u16 reg); member
|
D | zr36050.c | 47 if (ptr->codec->master_data->readreg) in zr36050_read() 48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
|
D | zr36060.c | 47 if (ptr->codec->master_data->readreg) in zr36060_read() 48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read()
|
D | zoran_card.c | 1135 m->readreg = zr36060_read; in zoran_setup_videocodec() 1140 m->readreg = zr36050_read; in zoran_setup_videocodec() 1145 m->readreg = zr36016_read; in zoran_setup_videocodec()
|
/linux-6.1.9/drivers/video/fbdev/ |
D | gxt4500.c | 142 #define readreg(par, reg) readl((par)->regs + (reg)) macro 395 ctrlreg = readreg(par, DTG_CONTROL); in gxt4500_set_par() 400 tmp = readreg(par, PLL_C) & ~0x7f; in gxt4500_set_par() 495 ctrlreg = readreg(par, SYNC_CTL) & in gxt4500_set_par() 569 ctrl = readreg(par, SYNC_CTL); in gxt4500_blank() 571 dctl = readreg(par, DISP_CTL); in gxt4500_blank()
|