Home
last modified time | relevance | path

Searched refs:writereg (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/drivers/video/fbdev/
Dgxt4500.c142 #define writereg(par, reg, val) writel((val), (par)->regs + (reg)) macro
396 writereg(par, DTG_CONTROL, ctrlreg); in gxt4500_set_par()
408 writereg(par, PLL_C, tmp); in gxt4500_set_par()
409 writereg(par, PLL_M, mdivtab[par->pll_m - 1]); in gxt4500_set_par()
410 writereg(par, PLL_N, ndivtab[par->pll_n - 2]); in gxt4500_set_par()
414 writereg(par, PLL_POSTDIV, tmp | 0x9); in gxt4500_set_par()
417 writereg(par, PLL_POSTDIV, tmp); in gxt4500_set_par()
421 writereg(par, CURSOR_MODE, CURSOR_MODE_OFF); in gxt4500_set_par()
424 writereg(par, CTRL_REG0, CR0_RASTER_RESET | (CR0_RASTER_RESET << 16)); in gxt4500_set_par()
426 writereg(par, CTRL_REG0, CR0_RASTER_RESET << 16); in gxt4500_set_par()
[all …]
/linux-5.19.10/drivers/net/ethernet/cirrus/
Dmac89x0.c147 writereg(struct net_device *dev, int portno, int value) in writereg() function
291 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) & ~ENABLE_IRQ); in net_open()
299 writereg(dev, PP_CS8900_ISAINT, 0); in net_open()
301 writereg(dev, PP_CS8920_ISAINT, 0); in net_open()
305 writereg(dev, PP_IA+i*2, dev->dev_addr[i*2] | (dev->dev_addr[i*2+1] << 8)); in net_open()
308 writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) | SERIAL_RX_ON | SERIAL_TX_ON); in net_open()
312 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT); in net_open()
316 writereg(dev, PP_RxCFG, lp->curr_rx_cfg); in net_open()
318 writereg(dev, PP_TxCFG, TX_LOST_CRS_ENBL | TX_SQE_ERROR_ENBL | TX_OK_ENBL | in net_open()
321 writereg(dev, PP_BufCFG, READY_FOR_TX_ENBL | RX_MISS_COUNT_OVRFLOW_ENBL | in net_open()
[all …]
Dcs89x0.c233 writereg(struct net_device *dev, u16 regno, u16 value) in writereg() function
265 writereg(dev, PP_EECMD, (off + i) | EEPROM_READ_CMD); in get_eeprom_data()
307 writereg(dev, PP_CS8900_ISAINT, i); in write_irq()
309 writereg(dev, PP_CS8920_ISAINT, irq); in write_irq()
364 writereg(dev, PP_CS8900_ISADMA, dma - 5); in write_dma()
366 writereg(dev, PP_CS8920_ISADMA, dma); in write_dma()
501 writereg(dev, PP_SelfCTL, selfcontrol); in control_dc_dc()
521 writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) | SERIAL_TX_ON); in send_test_pkt()
573 writereg(dev, PP_LineCTL, lp->linectl & ~AUI_ONLY); in detect_tp()
600 writereg(dev, PP_TestCTL, in detect_tp()
[all …]
/linux-5.19.10/drivers/net/ethernet/amd/
Ddeclance.c296 static inline void writereg(volatile unsigned short *regptr, short value) in writereg() function
313 writereg(&ll->rap, LE_CSR1); in load_csrs()
314 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs()
315 writereg(&ll->rap, LE_CSR2); in load_csrs()
316 writereg(&ll->rdp, leptr >> 16); in load_csrs()
317 writereg(&ll->rap, LE_CSR3); in load_csrs()
318 writereg(&ll->rdp, lp->busmaster_regval); in load_csrs()
321 writereg(&ll->rap, LE_CSR0); in load_csrs()
532 writereg(&ll->rap, LE_CSR0); in init_restart_lance()
533 writereg(&ll->rdp, LE_C0_INIT); in init_restart_lance()
[all …]
/linux-5.19.10/drivers/staging/media/zoran/
Dzr36016.c63 if (ptr->codec->master_data->writereg) in zr36016_write()
64 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36016_write()
77 if ((ptr->codec->master_data->writereg) && (ptr->codec->master_data->readreg)) { in zr36016_readi()
78 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); // ADDR in zr36016_readi()
94 if (ptr->codec->master_data->writereg) { in zr36016_writei()
95 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); // ADDR in zr36016_writei()
96 ptr->codec->master_data->writereg(ptr->codec, ZR016_IDATA, value & 0x0FF); // DATA in zr36016_writei()
Dvideocodec.h285 void (*writereg)(struct videocodec *codec, __u16 reg, __u32 value); member
Dzr36050.c71 if (ptr->codec->master_data->writereg) in zr36050_write()
72 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write()
Dzr36060.c69 if (ptr->codec->master_data->writereg) in zr36060_write()
70 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
Dzoran_card.c1141 m->writereg = zr36060_write; in zoran_setup_videocodec()
1146 m->writereg = zr36050_write; in zoran_setup_videocodec()
1151 m->writereg = zr36016_write; in zoran_setup_videocodec()