Searched refs:read_reg (Results 1 - 25 of 26) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/ivtv/
H A Divtv-gpio.c111 curout = read_reg(IVTV_REG_GPIO_OUT);
112 curdir = read_reg(IVTV_REG_GPIO_DIR);
135 curout = read_reg(IVTV_REG_GPIO_OUT);
136 curdir = read_reg(IVTV_REG_GPIO_DIR);
159 read_reg(IVTV_REG_GPIO_DIR), read_reg(IVTV_REG_GPIO_OUT));
203 if (mask == 0 || (read_reg(IVTV_REG_GPIO_IN) & mask))
263 ctrl->value = (read_reg(IVTV_REG_GPIO_OUT) & mask) == data;
285 read_reg(IVTV_REG_GPIO_DIR), read_reg(IVTV_REG_GPIO_OU
[all...]
H A Divtv-yuv.c844 itv->yuv_info.reg_2834 = read_reg(0x02834);
845 itv->yuv_info.reg_2838 = read_reg(0x02838);
846 itv->yuv_info.reg_283c = read_reg(0x0283c);
847 itv->yuv_info.reg_2840 = read_reg(0x02840);
848 itv->yuv_info.reg_2844 = read_reg(0x02844);
849 itv->yuv_info.reg_2848 = read_reg(0x02848);
850 itv->yuv_info.reg_2854 = read_reg(0x02854);
851 itv->yuv_info.reg_285c = read_reg(0x0285c);
852 itv->yuv_info.reg_2864 = read_reg(0x02864);
853 itv->yuv_info.reg_2870 = read_reg(
[all...]
H A Divtv-irq.c420 write_reg_sync(read_reg(IVTV_REG_DMAXFER) | 0x02, IVTV_REG_DMAXFER);
437 write_reg_sync(read_reg(IVTV_REG_DMAXFER) | 0x01, IVTV_REG_DMAXFER);
452 if (read_reg(IVTV_REG_DMASTATUS) & 0x14) {
453 IVTV_DEBUG_WARN("DEC DMA ERROR %x\n", read_reg(IVTV_REG_DMASTATUS));
454 write_reg(read_reg(IVTV_REG_DMASTATUS) & 3, IVTV_REG_DMASTATUS);
506 write_reg(read_reg(IVTV_REG_DMASTATUS) & 3, IVTV_REG_DMASTATUS);
567 read_reg(IVTV_REG_DMASTATUS), itv->cur_dma_stream);
573 write_reg(read_reg(IVTV_REG_DMASTATUS) & 3, IVTV_REG_DMASTATUS);
693 unsigned int frame = read_reg(0x28c0) & 1;
764 stat = read_reg(IVTV_REG_IRQSTATU
[all...]
H A Divtv-firmware.c208 write_reg(read_reg(IVTV_REG_SPU) & IVTV_MASK_SPU_ENABLE, IVTV_REG_SPU);
211 write_reg(read_reg(IVTV_REG_VPU) & IVTV_MASK_VPU_ENABLE15, IVTV_REG_VPU);
213 write_reg(read_reg(IVTV_REG_VPU) & IVTV_MASK_VPU_ENABLE16, IVTV_REG_VPU);
H A Divtv-i2c.c189 return read_reg(IVTV_REG_I2C_GETSCL_OFFSET) & 1;
195 return read_reg(IVTV_REG_I2C_GETSDA_OFFSET) & 1;
513 return read_reg(IVTV_REG_I2C_GETSCL_OFFSET) & 1;
520 return read_reg(IVTV_REG_I2C_GETSDA_OFFSET) & 1;
H A Divtv-udma.c185 write_reg_sync(read_reg(IVTV_REG_DMAXFER) | 0x01, IVTV_REG_DMAXFER);
H A Divtv-driver.h855 #define read_reg(reg) readl(itv->reg_mem + (reg)) macro
858 do { write_reg(val, reg); read_reg(reg); } while (0)
H A Divtv-streams.c819 (read_reg(IVTV_REG_DMASTATUS) & 0x02)) {
827 } else if (read_reg(IVTV_REG_DMASTATUS) & 0x02) {
H A Divtv-fileops.c848 if (read_reg(0x82c) == 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/
H A Dtherm_windtunnel.c152 read_reg( struct i2c_client *cl, int reg, int len ) function
187 temp = read_reg( x.thermostat, 0, 2 );
193 casetemp = read_reg(x.fan, 0x0b, 1) << 8;
194 casetemp |= (read_reg(x.fan, 0x06, 1) & 0x7) << 5;
228 x.r0 = read_reg( x.fan, 0x00, 1 );
229 x.r1 = read_reg( x.fan, 0x01, 1 );
230 x.r20 = read_reg( x.fan, 0x20, 1 );
231 x.r23 = read_reg( x.fan, 0x23, 1 );
232 x.r25 = read_reg( x.fan, 0x25, 1 );
235 if( (val=read_reg(
[all...]
H A Dtherm_adt746x.c112 read_reg(struct thermostat* th, int reg) function
191 tmp[1] = read_reg(th, addr);
192 tmp[0] = read_reg(th, addr + 1);
231 manual = read_reg(th, MANUAL_MODE[fan]);
237 manual = read_reg(th,
243 manual = read_reg(th, MANUAL_MODE[fan]);
256 th->temps[i] = read_reg(th, TEMP_REG[i]);
393 rc = read_reg(th, 0);
414 th->initial_limits[i] = read_reg(th, LIMIT_REG[i]);
505 BUILD_SHOW_FUNC_INT(sensor1_temperature, (read_reg(thermosta
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/paride/
H A Dpt.c252 static inline int read_reg(struct pi_adapter *pi, int reg) function
278 s = read_reg(pi, 7);
279 e = read_reg(pi, 1);
280 p = read_reg(pi, 2);
313 if (read_reg(pi, 2) != 1) {
332 if (read_reg(pi, 7) & STAT_DRQ) {
333 n = (((read_reg(pi, 4) + 256 * read_reg(pi, 5)) +
335 p = read_reg(pi, 2) & 3;
402 s = read_reg(p
[all...]
H A Dpg.c263 static inline int read_reg(struct pg *dev, int reg) function
301 s = read_reg(dev, 7);
302 e = read_reg(dev, 1);
303 p = read_reg(dev, 2);
333 if (read_reg(dev, 2) != 1) {
361 while (read_reg(dev, 7) & STAT_DRQ) {
362 d = (read_reg(dev, 4) + 256 * read_reg(dev, 5));
364 p = read_reg(dev, 2) & 3;
400 got[i] = read_reg(de
[all...]
H A Dpcd.c326 static inline int read_reg(struct pcd_unit *cd, int reg) function
346 s = read_reg(cd, 7);
347 e = read_reg(cd, 1);
348 p = read_reg(cd, 2);
380 if (read_reg(cd, 2) != 1) {
402 while (read_reg(cd, 7) & IDE_DRQ) {
403 d = read_reg(cd, 4) + 256 * read_reg(cd, 5);
405 p = read_reg(cd, 2) & 3;
539 flg &= (read_reg(c
[all...]
H A Dpf.c375 static inline int read_reg(struct pf_unit *pf, int reg) function
395 s = read_reg(pf, 7);
396 e = read_reg(pf, 1);
397 p = read_reg(pf, 2);
429 if (read_reg(pf, 2) != 1) {
447 if ((read_reg(pf, 2) & 2) && (read_reg(pf, 7) & STAT_DRQ)) {
448 n = (((read_reg(pf, 4) + 256 * read_reg(pf, 5)) +
537 flg &= (read_reg(p
[all...]
H A Dpd.c251 static inline int read_reg(struct pd_unit *disk, int reg) function
306 e = (read_reg(disk, 1) << 8) + read_reg(disk, 7);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/shared/
H A Dbcmrobo.c1179 ASSERT(robo->ops->read_reg);
1276 robo->ops->read_reg(robo, PAGE_CTRL, REG_CTRL_MIIPO, &reg_val, sizeof(reg_val));
1286 robo->ops->read_reg(robo, PAGE_CTRL, REG_CTRL_MIIPO, &reg_val,
1415 robo->ops->read_reg(robo, PAGE_VLAN, REG_VLAN_CTRL0, &val8, sizeof(val8));
1422 robo->ops->read_reg(robo, PAGE_VLAN, REG_VLAN_CTRL1, &val8, sizeof(val8));
1565 SPINWAIT((robo->ops->read_reg(robo, PAGE_VTBL, REG_VTBL_CTRL,
1596 SPINWAIT((robo->ops->read_reg(robo, PAGE_VTBL, REG_VTBL_CTRL,
1734 robo->ops->read_reg(robo, 0, 0x8, &val8, sizeof(val8));
1740 robo->ops->read_reg(robo, 0, 0xb, &val8, sizeof(val8));
1746 robo->ops->read_reg(rob
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/pci/
H A Dopti621.c197 static u8 read_reg(int reg) function
295 read_reg(CNTRL_REG);
297 read_reg(STRAP_REG);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dac97.h129 int (*read_reg) (struct ac97_hwint *dev, u8 reg); member in struct:ac97_hwint
H A Dac97.c86 reg0 = dev->read_reg (dev, AC97_RESET);
129 dev->last_written_mixer_values[reg / 2] = dev->read_reg (dev, reg);
H A Dswarm_cs4297a.c309 volatile u16 read_reg; member in struct:cs4297a_state
780 printk(KERN_INFO "cs4297a: rdr reg %x -> %x\n", s->read_reg, s->read_value));
956 s->read_reg = (data >> 40) & 0x7f;
1029 s->read_reg = (data >> 40) & 0x7f;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/include/
H A Dbcmrobo.h125 int (*read_reg)(robo_info_t *robo, uint8 page, uint8 reg, void *val, int len); member in struct:__anon3182
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/pcmcia/
H A Dsynclink_cs.c334 #define read_reg(info, reg) inb((info)->io_base + (reg)) macro
341 (unsigned char) (read_reg(info, (reg)) | (mask)))
344 (unsigned char) (read_reg(info, (reg)) & ~(mask)))
759 while (read_reg(info, (unsigned char)(channel+STAR)) & BIT2) {
923 if (!(fifo_count = (unsigned char)(read_reg(info, CHA+RBCL) & 0x1f)))
931 data[0] = read_reg(info, CHA + RXFIFO);
972 fifo_count = (unsigned char)(read_reg(info, CHA+RBCL) & 0x1f);
977 if (!fifo_count && (read_reg(info,CHA+STAR) & BIT5))
985 data = read_reg(info, CHA + RXFIFO);
986 status = read_reg(inf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dsynclinkmp.c635 static unsigned char read_reg(SLMP_INFO *info, unsigned char addr);
1603 RegValue = read_reg(info, CTL);
2176 unsigned char status = read_reg(info, SR1) & info->ie1_value & (FLGD + IDLD + CDCD + BRKD);
2177 unsigned char status2 = read_reg(info, SR2) & info->ie2_value & OVRN;
2242 while((status = read_reg(info,CST0)) & BIT0)
2246 DataByte = read_reg(info,TRB);
2363 unsigned char status = read_reg(info, SR1) & info->ie1_value & (UDRN + IDLE + CCTS);
2425 unsigned char status = read_reg(info,RXDMA + DSR) & 0xc0;
2442 unsigned char status = read_reg(info,RXDMA + DSR) & 0x30;
2457 unsigned char status_reg1 = read_reg(inf
5587 unsigned char read_reg(SLMP_INFO * info, unsigned char Addr) function
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/irda/
H A Dstir4200.c211 static inline int read_reg(struct stir_cb *stir, __u16 reg, function
600 err = read_reg(stir, REG_FIFOCTL, stir->fifo_status,

Completed in 178 milliseconds

12