Searched defs:reg_nr (Results 1 - 8 of 8) sorted by relevance
/drivers/clocksource/ |
H A D | sh_mtu2.c | 67 static inline unsigned long sh_mtu2_read(struct sh_mtu2_priv *p, int reg_nr) argument 73 if (reg_nr == TSTR) 76 offs = mtu2_reg_offs[reg_nr]; 78 if ((reg_nr == TCNT) || (reg_nr == TGR)) 84 static inline void sh_mtu2_write(struct sh_mtu2_priv *p, int reg_nr, argument 91 if (reg_nr == TSTR) { 96 offs = mtu2_reg_offs[reg_nr]; 98 if ((reg_nr == TCNT) || (reg_nr [all...] |
H A D | sh_tmu.c | 55 static inline unsigned long sh_tmu_read(struct sh_tmu_priv *p, int reg_nr) argument 61 if (reg_nr == TSTR) 64 offs = reg_nr << 2; 66 if (reg_nr == TCR) 72 static inline void sh_tmu_write(struct sh_tmu_priv *p, int reg_nr, argument 79 if (reg_nr == TSTR) { 84 offs = reg_nr << 2; 86 if (reg_nr == TCR)
|
H A D | sh_cmt.c | 64 static inline unsigned long sh_cmt_read(struct sh_cmt_priv *p, int reg_nr) argument 70 if (reg_nr == CMSTR) { 74 offs = reg_nr; 80 if ((reg_nr == CMCNT) || (reg_nr == CMCOR)) 87 static inline void sh_cmt_write(struct sh_cmt_priv *p, int reg_nr, argument 94 if (reg_nr == CMSTR) { 98 offs = reg_nr; 104 if ((reg_nr == CMCNT) || (reg_nr [all...] |
/drivers/input/keyboard/ |
H A D | sh_keysc.c | 53 static unsigned long sh_keysc_read(struct sh_keysc_priv *p, int reg_nr) argument 55 return ioread16(p->iomem_base + (reg_nr << 2)); 58 static void sh_keysc_write(struct sh_keysc_priv *p, int reg_nr, argument 61 iowrite16(value, p->iomem_base + (reg_nr << 2));
|
/drivers/leds/ |
H A D | leds-renesas-tpu.c | 66 static inline unsigned short r_tpu_read(struct r_tpu_priv *p, int reg_nr) argument 70 unsigned long offs = reg_nr << 2; 72 if (reg_nr == TSTR) 78 static inline void r_tpu_write(struct r_tpu_priv *p, int reg_nr, argument 83 unsigned long offs = reg_nr << 2; 85 if (reg_nr == TSTR) {
|
/drivers/net/ethernet/ |
H A D | jme.c | 2415 mdio_memcpy(struct jme_adapter *jme, u32 *p, int reg_nr) argument 2420 for (i = 0 ; i < reg_nr ; ++i)
|
/drivers/net/ethernet/xircom/ |
H A D | xirc2ps_cs.c | 1273 int reg_nr; member in struct:set_address_info 1285 if (sa_info->reg_nr > 15) { 1286 sa_info->reg_nr = 8; 1291 PutByte(sa_info->reg_nr++, addr[5 - i]); 1293 PutByte(sa_info->reg_nr++, addr[i]); 1314 sa_info.reg_nr = 15 + 1;
|
/drivers/video/ |
H A D | sh_mobile_lcdcfb.c | 97 static bool banked(int reg_nr) argument 99 switch (reg_nr) { 123 int reg_nr, unsigned long data) 125 iowrite32(data, chan->lcdc->base + chan->reg_offs[reg_nr]); 126 if (banked(reg_nr)) 127 iowrite32(data, chan->lcdc->base + chan->reg_offs[reg_nr] + 132 int reg_nr, unsigned long data) 134 iowrite32(data, chan->lcdc->base + chan->reg_offs[reg_nr] + 139 int reg_nr) 141 return ioread32(chan->lcdc->base + chan->reg_offs[reg_nr]); 122 lcdc_write_chan(struct sh_mobile_lcdc_chan *chan, int reg_nr, unsigned long data) argument 131 lcdc_write_chan_mirror(struct sh_mobile_lcdc_chan *chan, int reg_nr, unsigned long data) argument 138 lcdc_read_chan(struct sh_mobile_lcdc_chan *chan, int reg_nr) argument [all...] |
Completed in 209 milliseconds