Searched refs:offset (Results 426 - 450 of 2051) sorted by relevance

<<11121314151617181920>>

/drivers/infiniband/hw/ipath/
H A Dipath_user_pages.c107 unsigned long offset, size_t size, int direction)
111 phys = pci_map_page(hwdev, page, offset, size, direction);
115 phys = pci_map_page(hwdev, page, offset, size, direction);
106 ipath_map_page(struct pci_dev *hwdev, struct page *page, unsigned long offset, size_t size, int direction) argument
/drivers/isdn/hardware/eicon/
H A Ddivasmain.c252 void PCIwrite(byte bus, byte func, int offset, void *data, int length, argument
259 pci_write_config_byte(dev, offset,
263 pci_write_config_word(dev, offset,
267 pci_write_config_dword(dev, offset,
277 pci_write_config_dword(dev, offset,
285 pci_write_config_byte(dev, offset,
293 void PCIread(byte bus, byte func, int offset, void *data, int length, argument
300 pci_read_config_byte(dev, offset, (unsigned char *) data);
303 pci_read_config_word(dev, offset, (unsigned short *) data);
306 pci_read_config_dword(dev, offset, (unsigne
[all...]
/drivers/isdn/hardware/mISDN/
H A Diohelper.h29 typedef u8 (read_reg_func)(void *hwp, u8 offset);
30 typedef void (write_reg_func)(void *hwp, u8 offset, u8 value);
31 typedef void (fifo_func)(void *hwp, u8 offset, u8 *datap, int size);
/drivers/isdn/hisax/
H A Dasuscom.c78 ReadISAC(struct IsdnCardState *cs, u_char offset) argument
80 return (readreg(cs->hw.asus.adr, cs->hw.asus.isac, offset));
84 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) argument
86 writereg(cs->hw.asus.adr, cs->hw.asus.isac, offset, value);
102 ReadISAC_IPAC(struct IsdnCardState *cs, u_char offset) argument
104 return (readreg(cs->hw.asus.adr, cs->hw.asus.isac, offset | 0x80));
108 WriteISAC_IPAC(struct IsdnCardState *cs, u_char offset, u_char value) argument
110 writereg(cs->hw.asus.adr, cs->hw.asus.isac, offset | 0x80, value);
126 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
129 cs->hw.asus.hscx, offset
133 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
[all...]
H A Dst5481_b.c35 unsigned int packet_size, offset; local
111 for (i = 0, offset = 0; offset < len; i++) {
112 urb->iso_frame_desc[i].offset = offset;
114 offset += packet_size;
/drivers/media/video/
H A Dvideobuf2-memops.c101 unsigned long offset, start, end; local
106 offset = start & ~PAGE_MASK;
134 *res_pa = pa + offset;
/drivers/mtd/maps/
H A Dsbc_gxx.c62 /* Number of bits in offset. */
66 /* The bits for the offset into the window. */
92 .offset = 0,
95 .offset = BOOT_PARTITION_SIZE_KiB*1024,
98 .offset = (BOOT_PARTITION_SIZE_KiB+DATA_PARTITION_SIZE_KiB)*1024 }
/drivers/net/ethernet/dec/tulip/
H A Dtimer.c58 int offset = mleaf->type == 4 ? 5 : 2; local
59 s8 bitnum = p[offset];
60 if (p[offset+1] & 0x80) {
/drivers/net/wireless/b43/
H A Dtables.c379 u16 b43_ofdmtab_read16(struct b43_wldev *dev, u16 table, u16 offset) argument
384 addr = table + offset;
400 u16 offset, u16 value)
405 addr = table + offset;
416 u32 b43_ofdmtab_read32(struct b43_wldev *dev, u16 table, u16 offset) argument
422 addr = table + offset;
438 u16 offset, u32 value)
443 addr = table + offset;
456 u16 b43_gtab_read(struct b43_wldev *dev, u16 table, u16 offset) argument
458 b43_phy_write(dev, B43_PHY_GTABCTL, table + offset);
399 b43_ofdmtab_write16(struct b43_wldev *dev, u16 table, u16 offset, u16 value) argument
437 b43_ofdmtab_write32(struct b43_wldev *dev, u16 table, u16 offset, u32 value) argument
462 b43_gtab_write(struct b43_wldev *dev, u16 table, u16 offset, u16 value) argument
[all...]
/drivers/net/wireless/b43legacy/
H A Dphy.c128 u16 b43legacy_phy_read(struct b43legacy_wldev *dev, u16 offset) argument
130 b43legacy_write16(dev, B43legacy_MMIO_PHY_CONTROL, offset);
134 void b43legacy_phy_write(struct b43legacy_wldev *dev, u16 offset, u16 val) argument
136 b43legacy_write16(dev, B43legacy_MMIO_PHY_CONTROL, offset);
221 u16 offset = 0x0000; local
224 offset = 0x4C00;
226 b43legacy_ilt_write(dev, offset, 0x00FE);
227 b43legacy_ilt_write(dev, offset + 1, 0x000D);
228 b43legacy_ilt_write(dev, offset + 2, 0x0013);
229 b43legacy_ilt_write(dev, offset
449 u16 offset; local
498 u16 offset; local
554 u16 offset; local
669 u16 offset; local
2099 u16 offset; local
[all...]
/drivers/net/wireless/bcmdhd/include/
H A Dlinux_osl.h70 #define OSL_PCMCIA_READ_ATTR(osh, offset, buf, size) \
71 osl_pcmcia_read_attr((osh), (offset), (buf), (size))
72 #define OSL_PCMCIA_WRITE_ATTR(osh, offset, buf, size) \
73 osl_pcmcia_write_attr((osh), (offset), (buf), (size))
74 extern void osl_pcmcia_read_attr(osl_t *osh, uint offset, void *buf, int size);
75 extern void osl_pcmcia_write_attr(osl_t *osh, uint offset, void *buf, int size);
78 #define OSL_PCI_READ_CONFIG(osh, offset, size) \
79 osl_pci_read_config((osh), (offset), (size))
80 #define OSL_PCI_WRITE_CONFIG(osh, offset, size, val) \
81 osl_pci_write_config((osh), (offset), (siz
[all...]
/drivers/net/wireless/brcm80211/brcmsmac/
H A Dnicpci.c93 /* Linkcontrol reg offset in PCIE Cap */
94 #define PCIE_CAP_LINKCTRL_OFFSET 16 /* offset in pcie cap */
214 u8 pciecap_lcreg_offset;/* PCIE capability LCreg offset
221 u8 pmecap_offset; /* PM Capability offset in the config space */
333 pcie_readreg(struct bcma_device *core, uint addrtype, uint offset) argument
339 bcma_write32(core, PCIEREGOFFS(configaddr), offset);
344 bcma_write32(core, PCIEREGOFFS(pcieindaddr), offset);
354 uint offset, uint val)
358 bcma_write32(core, PCIEREGOFFS(configaddr), offset);
362 bcma_write32(core, PCIEREGOFFS(pcieindaddr), offset);
353 pcie_writereg(struct bcma_device *core, uint addrtype, uint offset, uint val) argument
477 u8 offset; local
[all...]
/drivers/net/wireless/libertas/
H A Dethtool.c46 if (eeprom->offset + eeprom->len > LBS_EEPROM_LEN ||
55 cmd.offset = cpu_to_le16(eeprom->offset);
/drivers/net/wireless/rt2x00/
H A Drt2x00usb.c41 const u16 offset, const u16 value,
57 value, offset, buffer, buffer_length,
74 "Vendor Request 0x%02x failed for offset 0x%04x with error %d.\n",
75 request, offset, status);
83 const u16 offset, void *buffer,
102 offset, 0, rt2x00dev->csr.cache,
114 const u16 offset, void *buffer,
124 off = offset;
144 const unsigned int offset,
154 rt2x00usb_register_read_lock(rt2x00dev, offset, re
39 rt2x00usb_vendor_request(struct rt2x00_dev *rt2x00dev, const u8 request, const u8 requesttype, const u16 offset, const u16 value, void *buffer, const u16 buffer_length, const int timeout) argument
81 rt2x00usb_vendor_req_buff_lock(struct rt2x00_dev *rt2x00dev, const u8 request, const u8 requesttype, const u16 offset, void *buffer, const u16 buffer_length, const int timeout) argument
112 rt2x00usb_vendor_request_buff(struct rt2x00_dev *rt2x00dev, const u8 request, const u8 requesttype, const u16 offset, void *buffer, const u16 buffer_length, const int timeout) argument
143 rt2x00usb_regbusy_read(struct rt2x00_dev *rt2x00dev, const unsigned int offset, const struct rt2x00_field32 field, u32 *reg) argument
186 rt2x00usb_register_read_async(struct rt2x00_dev *rt2x00dev, const unsigned int offset, bool (*callback)(struct rt2x00_dev*, int, u32)) argument
[all...]
/drivers/pcmcia/
H A Drsrc_iodyn.c26 unsigned long offset; member in struct:pcmcia_align_data
36 start = (res->start & ~data->mask) + data->offset;
69 data.offset = base & data.mask;
/drivers/pps/
H A Dkapi.c41 static void pps_add_offset(struct pps_ktime *ts, struct pps_ktime *offset) argument
43 ts->nsec += offset->nsec;
52 ts->sec += offset->sec;
196 /* We have to add an offset? */
210 /* We have to add an offset? */
/drivers/spi/
H A Dspi-sh.c99 unsigned long offset)
102 iowrite8(data, ss->addr + (offset >> 2));
104 iowrite32(data, ss->addr + offset);
107 static unsigned long spi_sh_read(struct spi_sh_data *ss, unsigned long offset) argument
110 return ioread8(ss->addr + (offset >> 2));
112 return ioread32(ss->addr + offset);
118 unsigned long offset)
122 tmp = spi_sh_read(ss, offset);
124 spi_sh_write(ss, tmp, offset);
128 unsigned long offset)
98 spi_sh_write(struct spi_sh_data *ss, unsigned long data, unsigned long offset) argument
117 spi_sh_set_bit(struct spi_sh_data *ss, unsigned long val, unsigned long offset) argument
127 spi_sh_clear_bit(struct spi_sh_data *ss, unsigned long val, unsigned long offset) argument
[all...]
/drivers/staging/android/
H A Dram_console.c94 size_t len, loff_t *offset)
96 loff_t pos = *offset;
141 *offset += count;
93 ram_console_read_old(struct file *file, char __user *buf, size_t len, loff_t *offset) argument
/drivers/staging/zcache/
H A Dtmem.c216 int offset; member in struct:tmem_objnode_tree_path
340 int offset = 0; local
378 objnode->slots[offset] = slot;
384 offset = (index >> shift) & OBJNODE_TREE_MAP_MASK;
386 slot = objnode->slots[offset];
393 objnode->slots[offset] = pampd;
407 int offset; local
427 offset = (index >> shift) & OBJNODE_TREE_MAP_MASK;
428 pathp->offset = offset;
[all...]
/drivers/uwb/i1480/dfu/
H A Dphy.c117 cmd->data[cnt].offset = (srcaddr + cnt) & 0xff;
135 if (reply->data[cnt].offset != ((srcaddr + cnt) & 0x00ff))
136 dev_err(i1480->dev, "MPI-READ: offset inconsistency at "
139 reply->data[cnt].offset);
182 /* Read MPI page 0, offset 6; if 0, PHY was initialized correctly. */
/drivers/video/pnx4008/
H A Dpnxrgbfb.c39 .red.offset = 16,
41 .green.offset = 8,
43 .blue.offset = 0,
/drivers/video/
H A Dvt8500lcdfb.c53 info->var.red.offset = 0;
57 info->var.green.offset = 0;
61 info->var.blue.offset = 0;
65 info->var.transp.offset = 0;
74 info->var.transp.offset = 0;
80 info->var.red.offset = 11;
83 info->var.green.offset = 5;
86 info->var.blue.offset = 0;
91 info->var.red.offset = info->var.bits_per_pixel
95 info->var.green.offset
[all...]
/drivers/xen/
H A Dxencomm.c37 int offset; local
40 offset = vaddr % PAGE_SIZE; /* handle partial pages */
41 chunksz = min(PAGE_SIZE - offset, bytes - recorded);
/drivers/gpu/drm/nouveau/
H A Dnvc0_fbcon.c206 OUT_RING (chan, upper_32_bits(chan->notifier_vma.offset));
207 OUT_RING (chan, lower_32_bits(chan->notifier_vma.offset));
252 OUT_RING (chan, upper_32_bits(fb->vma.offset));
253 OUT_RING (chan, lower_32_bits(fb->vma.offset));
263 OUT_RING (chan, upper_32_bits(fb->vma.offset));
264 OUT_RING (chan, lower_32_bits(fb->vma.offset));
/drivers/media/common/
H A Dsaa7146_hlp.c729 vdma1.prot_addr = buf->pt[0].offset;
730 vdma1.base_even = buf->pt[0].offset+(vdma1.pitch/2)*height;
733 vdma1.base_even = buf->pt[0].offset;
735 vdma1.prot_addr = buf->pt[0].offset+(vdma1.pitch/2)*height;
777 vdma2->prot_addr = buf->pt[1].offset;
778 vdma2->base_even = ((vdma2->pitch/2)*height)+buf->pt[1].offset;
781 vdma3->prot_addr = buf->pt[2].offset;
782 vdma3->base_even = ((vdma3->pitch/2)*height)+buf->pt[2].offset;
785 vdma3->base_even = buf->pt[2].offset;
787 vdma3->prot_addr = (vdma3->pitch/2)*height+buf->pt[2].offset;
[all...]

Completed in 480 milliseconds

<<11121314151617181920>>