Searched refs:offset (Results 326 - 350 of 2051) sorted by relevance

<<11121314151617181920>>

/drivers/isdn/hisax/
H A Disurf.c37 ReadISAC(struct IsdnCardState *cs, u_char offset) argument
39 return (readb(cs->hw.isurf.isac + offset));
43 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) argument
45 writeb(value, cs->hw.isurf.isac + offset); mb();
68 * mode = 2 access with IRQ off and using last offset
72 ReadISAR(struct IsdnCardState *cs, int mode, u_char offset) argument
74 return (readb(cs->hw.isurf.isar + offset));
78 WriteISAR(struct IsdnCardState *cs, int mode, u_char offset, u_char value) argument
80 writeb(value, cs->hw.isurf.isar + offset); mb();
H A Dmic.c66 ReadISAC(struct IsdnCardState *cs, u_char offset) argument
68 return (readreg(cs->hw.mic.adr, cs->hw.mic.isac, offset));
72 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) argument
74 writereg(cs->hw.mic.adr, cs->hw.mic.isac, offset, value);
90 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
93 cs->hw.mic.hscx, offset + (hscx ? 0x40 : 0)));
97 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
100 cs->hw.mic.hscx, offset + (hscx ? 0x40 : 0), value);
H A Dsportster.c54 ReadISAC(struct IsdnCardState *cs, u_char offset) argument
56 return (bytein(calc_off(cs->hw.spt.isac, offset)));
60 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) argument
62 byteout(calc_off(cs->hw.spt.isac, offset), value);
78 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
80 return (bytein(calc_off(cs->hw.spt.hscx[hscx], offset)));
84 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
86 byteout(calc_off(cs->hw.spt.hscx[hscx], offset), value);
H A Dtelespci.c181 ReadISAC(struct IsdnCardState *cs, u_char offset) argument
183 return (readisac(cs->hw.teles0.membase, offset));
187 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) argument
189 writeisac(cs->hw.teles0.membase, offset, value);
205 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
207 return (readhscx(cs->hw.teles0.membase, hscx, offset));
211 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
213 writehscx(cs->hw.teles0.membase, hscx, offset, value);
/drivers/media/dvb/dvb-core/
H A Ddvb_ringbuffer.h156 * <offset> Offset into packet to read from.
163 int offset, u8 __user *buf, size_t len);
165 int offset, u8 *buf, size_t len);
/drivers/mtd/maps/
H A Dsolutionengine.c41 .offset = 0x00000000,
48 .offset = MTDPART_OFS_NXTBLK,
60 /* First probe at offset 0 */
/drivers/mtd/nand/
H A Dspia.c41 * IO offset to Port E data register
46 * IO offset to Port E data direction
71 .offset = 0,
75 .offset = 2 * 1024 * 1024,
H A Dams-delta.c43 .offset = 0,
46 .offset = 3 * SZ_1M + SZ_512K,
49 .offset = 3 * SZ_1M + SZ_512K + SZ_256K,
52 .offset = 4 * SZ_1M,
55 .offset = 4 * SZ_1M + 1 * SZ_256K,
58 .offset = 32 * SZ_1M - 3 * SZ_256K,
/drivers/rtc/
H A Drtc-vr41xx.c76 #define rtc1_read(offset) readw(rtc1_base + (offset))
77 #define rtc1_write(offset, value) writew((value), rtc1_base + (offset))
79 #define rtc2_read(offset) readw(rtc2_base + (offset))
80 #define rtc2_write(offset, value) writew((value), rtc2_base + (offset))
/drivers/s390/block/
H A Dxpram.c52 unsigned int offset; /* start page of xpram segment */ member in struct:__anon3916
199 if ((bio->bi_sector >> 3) > 0xffffffffU - xdev->offset)
201 index = (bio->bi_sector >> 3) + xdev->offset;
334 unsigned long offset; local
360 offset = 0;
365 xpram_devices[i].offset = offset;
366 offset += xpram_devices[i].size;
/drivers/edac/
H A Dcell_edac.c37 unsigned long address, pfn, offset, syndrome; local
47 offset = address & ~PAGE_MASK;
51 edac_mc_handle_ce(mci, csrow->first_page + pfn, offset,
59 unsigned long address, pfn, offset; local
69 offset = address & ~PAGE_MASK;
72 edac_mc_handle_ue(mci, csrow->first_page + pfn, offset, 0, "");
/drivers/gpu/drm/via/
H A Dvia_mm.c49 dev_priv->agp_offset = agp->offset;
52 DRM_DEBUG("offset = %u, size = %u\n", agp->offset, agp->size);
65 dev_priv->vram_offset = fb->offset;
68 DRM_DEBUG("offset = %u, size = %u\n", fb->offset, fb->size);
166 mem->offset = ((mem->type == VIA_MEM_VIDEO) ?
179 mem->offset = 0;
/drivers/input/misc/
H A Dapanel.c258 ssize_t offset; local
261 for (offset = 0; offset < 0x10000; offset += 0x10) {
262 if (check_signature(bios + offset, signature,
264 return bios + offset;
/drivers/mfd/
H A Dtwl6030-irq.c251 int twl6030_interrupt_unmask(u8 bit_mask, u8 offset) argument
256 REG_INT_STS_A + offset);
259 REG_INT_STS_A + offset); /* unmask INT_MSK_A/B/C */
264 int twl6030_interrupt_mask(u8 bit_mask, u8 offset) argument
269 REG_INT_STS_A + offset);
272 REG_INT_STS_A + offset); /* mask INT_MSK_A/B/C */
/drivers/mtd/
H A Dbcm63xxpart.c154 parts[curpart].offset = 0;
160 parts[curpart].offset = kerneladdr;
167 parts[curpart].offset = rootfsaddr;
175 parts[curpart].offset = master->size - nvramlen;
181 parts[curpart].offset = cfelen;
185 pr_info("Partition %d is %s offset %lx and length %lx\n", i,
186 parts[i].name, (long unsigned int)(parts[i].offset),
189 pr_info("Spare partition is offset %x and length %x\n", spareaddr,
/drivers/net/wireless/b43/
H A Dphy_common.h328 void b43_phy_mask(struct b43_wldev *dev, u16 offset, u16 mask);
333 void b43_phy_set(struct b43_wldev *dev, u16 offset, u16 set);
338 void b43_phy_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set);
355 void b43_radio_mask(struct b43_wldev *dev, u16 offset, u16 mask);
360 void b43_radio_set(struct b43_wldev *dev, u16 offset, u16 set);
365 void b43_radio_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set);
/drivers/hwmon/
H A Dlm85.c416 #define show_fan_offset(offset) \
417 static SENSOR_DEVICE_ATTR(fan##offset##_input, S_IRUGO, \
418 show_fan, NULL, offset - 1); \
419 static SENSOR_DEVICE_ATTR(fan##offset##_min, S_IRUGO | S_IWUSR, \
420 show_fan_min, set_fan_min, offset - 1)
653 #define show_pwm_reg(offset) \
654 static SENSOR_DEVICE_ATTR(pwm##offset, S_IRUGO | S_IWUSR, \
655 show_pwm, set_pwm, offset - 1); \
656 static SENSOR_DEVICE_ATTR(pwm##offset##_enable, S_IRUGO | S_IWUSR, \
657 show_pwm_enable, set_pwm_enable, offset
[all...]
H A Dit87.c512 #define show_in_offset(offset) \
513 static SENSOR_DEVICE_ATTR(in##offset##_input, S_IRUGO, \
514 show_in, NULL, offset);
516 #define limit_in_offset(offset) \
517 static SENSOR_DEVICE_ATTR(in##offset##_min, S_IRUGO | S_IWUSR, \
518 show_in_min, set_in_min, offset); \
519 static SENSOR_DEVICE_ATTR(in##offset##_max, S_IRUGO | S_IWUSR, \
520 show_in_max, set_in_max, offset);
604 #define show_temp_offset(offset) \
605 static SENSOR_DEVICE_ATTR(temp##offset##_inpu
[all...]
/drivers/gpio/
H A Dgpio-tegra.c123 static void tegra_gpio_set(struct gpio_chip *chip, unsigned offset, int value) argument
125 tegra_gpio_mask_write(GPIO_MSK_OUT(offset), offset, value); local
128 static int tegra_gpio_get(struct gpio_chip *chip, unsigned offset) argument
130 return (tegra_gpio_readl(GPIO_IN(offset)) >> GPIO_BIT(offset)) & 0x1;
133 static int tegra_gpio_direction_input(struct gpio_chip *chip, unsigned offset) argument
135 tegra_gpio_mask_write(GPIO_MSK_OE(offset), offset, 0); local
139 static int tegra_gpio_direction_output(struct gpio_chip *chip, unsigned offset, argument
143 tegra_gpio_mask_write(GPIO_MSK_OE(offset), offset, 1); local
147 tegra_gpio_to_irq(struct gpio_chip *chip, unsigned offset) argument
[all...]
/drivers/video/
H A Dbf537-lq035.c516 var->red.offset = info->var.red.offset;
517 var->green.offset = info->var.green.offset;
518 var->blue.offset = info->var.blue.offset;
522 var->transp.offset = 0;
609 value = (red << info->var.red.offset) |
610 (green << info->var.green.offset)|
611 (blue << info->var.blue.offset);
[all...]
H A Dbfin-lq035q1-fb.c443 var->red.offset = info->var.red.offset;
444 var->green.offset = info->var.green.offset;
445 var->blue.offset = info->var.blue.offset;
449 var->transp.offset = 0;
514 value = (red << info->var.red.offset) |
515 (green << info->var.green.offset) |
516 (blue << info->var.blue.offset);
[all...]
H A Doffb.c115 value = (cr << info->var.red.offset) |
116 (cg << info->var.green.offset) |
117 (cb << info->var.blue.offset);
120 mask <<= info->var.transp.offset;
302 unsigned long offset, unsigned long size)
315 if ((offset + size) > asize)
320 return ioremap(taddr + offset, size);
445 var->red.offset = 0;
447 var->green.offset = 0;
449 var->blue.offset
301 offb_map_reg(struct device_node *np, int index, unsigned long offset, unsigned long size) argument
[all...]
/drivers/net/wimax/i2400m/
H A Dfw.c689 * Returns: < 0 errno code on error or the offset to the jump instruction.
705 size_t offset, /* iterator offset */ local
716 offset = le32_to_cpu(bcf->header_len) * sizeof(u32);
718 bh = (void *) bcf + offset;
723 section, offset, sizeof(*bh) + data_size,
733 d_printf(5, dev, "jump found @%zu\n", offset);
736 if (offset + section_size > bcf_len) {
740 offset + section_size, bcf_len);
750 offset, sizeo
788 i2400m_dnload_finalize(struct i2400m *i2400m, const struct i2400m_bcf_hdr *bcf_hdr, const struct i2400m_bcf_hdr *bcf, size_t offset) argument
1187 i2400m_fw_hdr_check(struct i2400m *i2400m, const struct i2400m_bcf_hdr *bcf_hdr, size_t index, size_t offset) argument
1268 size_t leftover, offset, header_len, size; local
[all...]
/drivers/char/
H A Dnvram.c127 void *offset);
137 * NVRAM_FIRST_BYTE offset. Pass them offsets into NVRAM as if you did not
214 static loff_t nvram_llseek(struct file *file, loff_t offset, int origin) argument
221 offset += file->f_pos;
224 offset += NVRAM_BYTES;
230 return (offset >= 0) ? (file->f_pos = offset) : -EINVAL;
389 static int nvram_proc_read(struct seq_file *seq, void *offset) argument
399 mach_proc_infos(contents, seq, offset);
524 void *offset)
523 pc_proc_infos(unsigned char *nvram, struct seq_file *seq, void *offset) argument
653 atari_proc_infos(unsigned char *nvram, struct seq_file *seq, void *offset) argument
[all...]
/drivers/media/video/cx18/
H A Dcx18-firmware.c123 CX18_ERR("Mismatch at offset %x\n", i);
149 u32 offset = 0; local
166 while (offset + sizeof(seghdr) < fw->size) {
168 memcpy(&seghdr, src + offset / 4, sizeof(seghdr));
169 offset += sizeof(seghdr);
172 offset += seghdr.size;
179 if (offset + seghdr.size > sz)
185 cx18_raw_writel(cx, src[(offset + j) / 4],
188 != src[(offset + j) / 4]) {
189 CX18_ERR("Mismatch at offset
[all...]

Completed in 811 milliseconds

<<11121314151617181920>>