Home
last modified time | relevance | path

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

/linux-5.19.10/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()
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 …]
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 …]
/linux-5.19.10/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.c55 if (ptr->codec->master_data->readreg) in zr36050_read()
56 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
Dzr36060.c56 if (ptr->codec->master_data->readreg) in zr36060_read()
57 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read()
Dzoran_card.c1140 m->readreg = zr36060_read; in zoran_setup_videocodec()
1145 m->readreg = zr36050_read; in zoran_setup_videocodec()
1150 m->readreg = zr36016_read; in zoran_setup_videocodec()
/linux-5.19.10/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()