/drivers/video/fbdev/ |
D | gxt4500.c | 143 #define writereg(par, reg, val) writel((val), (par)->regs + (reg)) macro 397 writereg(par, DTG_CONTROL, ctrlreg); in gxt4500_set_par() 409 writereg(par, PLL_C, tmp); in gxt4500_set_par() 410 writereg(par, PLL_M, mdivtab[par->pll_m - 1]); in gxt4500_set_par() 411 writereg(par, PLL_N, ndivtab[par->pll_n - 2]); in gxt4500_set_par() 415 writereg(par, PLL_POSTDIV, tmp | 0x9); in gxt4500_set_par() 418 writereg(par, PLL_POSTDIV, tmp); in gxt4500_set_par() 422 writereg(par, CURSOR_MODE, CURSOR_MODE_OFF); in gxt4500_set_par() 425 writereg(par, CTRL_REG0, CR0_RASTER_RESET | (CR0_RASTER_RESET << 16)); in gxt4500_set_par() 427 writereg(par, CTRL_REG0, CR0_RASTER_RESET << 16); in gxt4500_set_par() [all …]
|
/drivers/net/ethernet/cirrus/ |
D | mac89x0.c | 147 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 …]
|
D | cs89x0.c | 233 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 …]
|
/drivers/net/ethernet/amd/ |
D | declance.c | 296 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 …]
|
/drivers/media/pci/zoran/ |
D | zr36016.c | 56 if (ptr->codec->master_data->writereg) in zr36016_write() 57 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36016_write() 74 if ((ptr->codec->master_data->writereg) && (ptr->codec->master_data->readreg)) { in zr36016_readi() 75 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); 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); in zr36016_writei() 96 ptr->codec->master_data->writereg(ptr->codec, ZR016_IDATA, value & 0x0FF); in zr36016_writei()
|
D | videocodec.h | 285 void (*writereg)(struct videocodec *codec, __u16 reg, __u32 value); member
|
D | zr36050.c | 64 if (ptr->codec->master_data->writereg) in zr36050_write() 65 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write()
|
D | zr36060.c | 62 if (ptr->codec->master_data->writereg) in zr36060_write() 63 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
|
D | zoran_card.c | 1136 m->writereg = zr36060_write; in zoran_setup_videocodec() 1141 m->writereg = zr36050_write; in zoran_setup_videocodec() 1146 m->writereg = zr36016_write; in zoran_setup_videocodec()
|