Home
last modified time | relevance | path

Searched refs:readreg (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/cirrus/
Dmac89x0.c141 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()
247 unsigned short s = readreg(dev, PP_IA + i); in mac89x0_device_probe()
288 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) & ~ENABLE_IRQ); in net_open()
305 writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) | SERIAL_RX_ON | SERIAL_TX_ON); in net_open()
322 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) | ENABLE_IRQ); in net_open()
348 if ((readreg(dev, PP_BusST) & READY_FOR_TX_NOW) == 0) { in net_send_packet()
439 status = readreg(dev, PP_RxStatus); in net_rx()
455 length = readreg(dev, PP_RxLength); in net_rx()
[all …]
Dcs89x0.c224 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 …]
/drivers/staging/media/zoran/
Dzr36016.c48 if (ptr->codec->master_data->readreg) in zr36016_read()
49 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36016_read()
77 if ((ptr->codec->master_data->writereg) && (ptr->codec->master_data->readreg)) { in zr36016_readi()
79 value = (ptr->codec->master_data->readreg(ptr->codec, ZR016_IDATA)) & 0xFF; // DATA in zr36016_readi()
Dvideocodec.h284 __u32 (*readreg)(struct videocodec *codec, __u16 reg); member
Dzr36050.c57 if (ptr->codec->master_data->readreg) in zr36050_read()
58 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
Dzr36060.c59 if (ptr->codec->master_data->readreg) in zr36060_read()
60 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read()
Dzoran_card.c1021 m->readreg = zr36060_read; in zoran_setup_videocodec()
1026 m->readreg = zr36050_read; in zoran_setup_videocodec()
1031 m->readreg = zr36016_read; in zoran_setup_videocodec()
/drivers/video/fbdev/
Dgxt4500.c141 #define readreg(par, reg) readl((par)->regs + (reg)) macro
394 ctrlreg = readreg(par, DTG_CONTROL); in gxt4500_set_par()
399 tmp = readreg(par, PLL_C) & ~0x7f; in gxt4500_set_par()
494 ctrlreg = readreg(par, SYNC_CTL) & in gxt4500_set_par()
568 ctrl = readreg(par, SYNC_CTL); in gxt4500_blank()
570 dctl = readreg(par, DISP_CTL); in gxt4500_blank()
/drivers/ide/
Dqd65xx.c271 u8 savereg, readreg; in qd_testreg() local
276 readreg = inb_p(port); in qd_testreg()
287 return (readreg != QD_TESTVAL); in qd_testreg()
/drivers/net/ethernet/amd/
Dni65.c161 #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_ADDRREG),\
170 #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_DATAREG)) macro
461 if( (j=readreg(CSR0)) != 0x4) { in ni65_probe1()
513 if(readreg(CSR0) & CSR0_IDON) in ni65_probe1()
805 if( (i=readreg(CSR0) ) != 0x4) in ni65_lance_reinit()