Searched refs:offset (Results 151 - 175 of 2051) sorted by relevance

1234567891011>>

/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.h51 s32 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data);
52 s32 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
54 s32 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, u16 offset, u16 *data);
55 s32 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset,
57 s32 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, u16 offset, u16 data);
58 s32 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset,
60 s32 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
62 s32 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
121 #define IXGBE_WRITE_REG_ARRAY(a, reg, offset, value) (\
122 writel((value), ((a)->hw_addr + (reg) + ((offset) <<
[all...]
/drivers/staging/rts5139/
H A Drts51x_transport.h41 void **sgptr, unsigned int *offset,
46 unsigned int *offset,
61 void *buf, void **ptr, unsigned int *offset,
/drivers/mtd/onenand/
H A Donenand_sim.c71 #define ONENAND_CORE_SPARE(flash, this, offset) \
72 ((flash->data) + (this->chipsize) + (offset >> 5))
74 #define ONENAND_MAIN_AREA(this, offset) \
75 (this->base + ONENAND_DATARAM + offset)
77 #define ONENAND_SPARE_AREA(this, offset) \
78 (this->base + ONENAND_SPARERAM + offset)
99 .offset = 0,
254 * @offset: The offset to OneNAND Core
261 int dataram, unsigned int offset)
260 onenand_data_handle(struct onenand_chip *this, int cmd, int dataram, unsigned int offset) argument
372 unsigned long offset = 0; local
[all...]
/drivers/net/wireless/b43/
H A Dphy_common.c225 void b43_radio_mask(struct b43_wldev *dev, u16 offset, u16 mask) argument
227 b43_radio_write16(dev, offset,
228 b43_radio_read16(dev, offset) & mask);
231 void b43_radio_set(struct b43_wldev *dev, u16 offset, u16 set) argument
233 b43_radio_write16(dev, offset,
234 b43_radio_read16(dev, offset) | set);
237 void b43_radio_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set) argument
239 b43_radio_write16(dev, offset,
240 (b43_radio_read16(dev, offset) & mask) | set);
267 void b43_phy_mask(struct b43_wldev *dev, u16 offset, u1 argument
278 b43_phy_set(struct b43_wldev *dev, u16 offset, u16 set) argument
289 b43_phy_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set) argument
[all...]
/drivers/video/
H A Dpxa168fb.c51 if (var->red.offset >= var->blue.offset)
58 if (var->red.offset >= var->blue.offset)
73 if (var->red.offset >= var->blue.offset)
80 if (var->red.offset >= var->blue.offset)
85 if (var->red.offset >= var->blue.offset)
[all...]
H A Dfbcvt.c217 int cnt = 255, offset = 0, read = 0; local
227 read = snprintf(buf+offset, cnt, "fbcvt: %dx%d@%d: CVT Name - ",
229 offset += read;
233 snprintf(buf+offset, cnt, "Not a CVT standard - %d.%03d Mega "
237 read = snprintf(buf+offset, cnt, "%d", pixcount);
239 offset += read;
242 read = snprintf(buf+offset, cnt, ".%03dM", pixcount_mod);
244 offset += read;
247 read = snprintf(buf+offset, cnt, "3");
249 read = snprintf(buf+offset, cn
[all...]
/drivers/gpu/drm/
H A Ddrm_vm.c120 resource_size_t offset = (unsigned long)vmf->virtual_address - local
122 resource_size_t baddr = map->offset + offset;
148 offset = (baddr - agpmem->bound) >> PAGE_SHIFT;
149 page = agpmem->memory->pages[offset];
154 ("baddr = 0x%llx page = 0x%p, offset = 0x%llx, count=%d\n",
156 agpmem->memory->pages[offset],
157 (unsigned long long)offset,
184 unsigned long offset; local
191 offset
298 unsigned long offset; local
333 unsigned long offset; local
553 resource_size_t offset = 0; local
[all...]
/drivers/gpio/
H A Dgpio-msm-v2.c128 static int msm_gpio_get(struct gpio_chip *chip, unsigned offset) argument
130 return readl(GPIO_IN_OUT(offset)) & BIT(GPIO_IN);
133 static void msm_gpio_set(struct gpio_chip *chip, unsigned offset, int val) argument
135 writel(val ? BIT(GPIO_OUT) : 0, GPIO_IN_OUT(offset));
138 static int msm_gpio_direction_input(struct gpio_chip *chip, unsigned offset) argument
143 clear_gpio_bits(BIT(GPIO_OE), GPIO_CONFIG(offset));
149 unsigned offset,
155 msm_gpio_set(chip, offset, val);
156 set_gpio_bits(BIT(GPIO_OE), GPIO_CONFIG(offset));
161 static int msm_gpio_request(struct gpio_chip *chip, unsigned offset) argument
148 msm_gpio_direction_output(struct gpio_chip *chip, unsigned offset, int val) argument
166 msm_gpio_free(struct gpio_chip *chip, unsigned offset) argument
171 msm_gpio_to_irq(struct gpio_chip *chip, unsigned offset) argument
[all...]
H A Dgpio-74x164.c38 static int gen_74x164_get_value(struct gpio_chip *gc, unsigned offset) argument
44 ret = (chip->port_config >> offset) & 0x1;
51 unsigned offset, int val)
57 chip->port_config |= (1 << offset);
59 chip->port_config &= ~(1 << offset);
66 unsigned offset, int val)
68 gen_74x164_set_value(gc, offset, val);
50 gen_74x164_set_value(struct gpio_chip *gc, unsigned offset, int val) argument
65 gen_74x164_direction_output(struct gpio_chip *gc, unsigned offset, int val) argument
H A Dgpio-pca953x.c146 int ret, offset = 0; local
155 offset = PCA953X_DIRECTION;
158 offset = PCA957X_CFG;
161 ret = pca953x_write_reg(chip, offset, reg_val);
177 int ret, offset = 0; local
190 offset = PCA953X_OUTPUT;
193 offset = PCA957X_OUT;
196 ret = pca953x_write_reg(chip, offset, reg_val);
206 offset = PCA953X_DIRECTION;
209 offset
227 int ret, offset = 0; local
257 int ret, offset = 0; local
393 int ret, offset = 0; local
451 int ret, offset = 0; local
[all...]
/drivers/gpu/drm/sis/
H A Dsis_mm.c74 dev_priv->vram_offset = fb->offset;
77 DRM_DEBUG("offset = %u, size = %u\n", fb->offset, fb->size);
90 unsigned long offset; local
113 offset = item->mm_node.start;
120 offset = item->req.offset;
125 offset = item->mm_node.start;
146 mem->offset = ((pool == 0) ?
148 (offset << SIS_MM_ALIGN_SHIF
[all...]
/drivers/staging/keucr/
H A Dscsiglue.c239 off_t offset, int length, int inout)
291 *start = buffer + offset;
293 if ((pos - buffer) < offset)
295 else if ((pos - buffer - offset) < length)
296 return pos - buffer - offset;
412 unsigned int *offset, enum xfer_buf_dir dir)
425 ((sg->offset + *offset) >> PAGE_SHIFT);
426 unsigned int poff = (sg->offset + *offset)
238 proc_info(struct Scsi_Host *host, char *buffer, char **start, off_t offset, int length, int inout) argument
410 usb_stor_access_xfer_buf(struct us_data *us, unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, unsigned int *offset, enum xfer_buf_dir dir) argument
473 unsigned int offset = 0; local
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_vm.h48 u64 offset; member in struct:nouveau_vma
80 int nouveau_vm_new(struct drm_device *, u64 offset, u64 length, u64 mm_offset,
88 void nouveau_vm_map_at(struct nouveau_vma *, u64 offset, struct nouveau_mem *);
90 void nouveau_vm_unmap_at(struct nouveau_vma *, u64 offset, u64 length);
91 void nouveau_vm_map_sg(struct nouveau_vma *, u64 offset, u64 length,
H A Dnvc0_vram.c97 mem->offset = (u64)r->offset << 12;
112 u32 offset, length; local
139 offset = rsvd_head;
141 return nouveau_mm_init(&vram->mm, offset, length, 1);
150 offset = (0x0200000000ULL >> 12) + (bsize << 8);
153 ret = nouveau_mm_init(&vram->mm, offset, length, 0);
/drivers/mtd/nand/
H A Dsm_common.c18 {.offset = 0 , .length = 4}, /* reserved */
19 {.offset = 6 , .length = 2}, /* LBA1 */
20 {.offset = 11, .length = 2} /* LBA2 */
34 {.offset = 3 , .length = 2}, /* reserved */
35 {.offset = 6 , .length = 2}, /* LBA1 */
/drivers/rtc/
H A Drtc-at91sam9.c37 * base time, normally an offset from the beginning of the POSIX
39 * local timezone's offset.
41 * The RTC's value is the RTT counter plus that offset. The RTC's alarm
42 * is likewise a base (ALMV) plus that offset.
80 u32 offset; local
82 /* read current time offset */
83 offset = gpbr_readl(rtc);
84 if (offset == 0)
93 rtc_time_to_tm(offset + secs, tm);
109 u32 offset, alar local
160 u32 offset; local
186 u32 offset; local
[all...]
/drivers/tty/serial/8250/
H A D8250_acorn.c32 unsigned int offset[MAX_PORTS]; member in struct:serial_card_type
74 port.membase = info->vaddr + type->offset[i];
75 port.mapbase = bus_addr + type->offset[i];
101 .offset = { 0x2800, 0x2400, 0x2000 },
108 .offset = { 0x2000, 0x2020 },
/drivers/firewire/
H A Dcore-transaction.c212 unsigned long long offset, void *payload, size_t length)
240 HEADER_OFFSET_HIGH(offset >> 32) | HEADER_SOURCE(source_id);
242 offset;
309 * @offset: 48bit wide offset into destination's address space
351 unsigned long long offset, void *payload, size_t length,
382 speed, offset, payload, length);
419 int generation, int speed, unsigned long long offset,
429 offset, payload, length, transaction_callback, &d);
488 struct list_head *list, unsigned long long offset, size_
210 fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, int destination_id, int source_id, int generation, int speed, unsigned long long offset, void *payload, size_t length) argument
349 fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, int destination_id, int generation, int speed, unsigned long long offset, void *payload, size_t length, fw_transaction_callback_t callback, void *callback_data) argument
418 fw_run_transaction(struct fw_card *card, int tcode, int destination_id, int generation, int speed, unsigned long long offset, void *payload, size_t length) argument
487 lookup_overlapping_address_handler( struct list_head *list, unsigned long long offset, size_t length) argument
501 is_enclosing_handler(struct fw_address_handler *handler, unsigned long long offset, size_t length) argument
508 lookup_enclosing_address_handler( struct list_head *list, unsigned long long offset, size_t length) argument
540 is_in_fcp_region(u64 offset, size_t length) argument
823 handle_exclusive_region_request(struct fw_card *card, struct fw_packet *p, struct fw_request *request, unsigned long long offset) argument
852 handle_fcp_region_request(struct fw_card *card, struct fw_packet *p, struct fw_request *request, unsigned long long offset) argument
897 unsigned long long offset; local
1001 handle_topology_map(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
1046 handle_registers(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
[all...]
/drivers/net/ethernet/ibm/ehea/
H A Dehea_hw.h197 static inline u64 epa_load(struct h_epa epa, u32 offset) argument
199 return __raw_readq((void __iomem *)(epa.addr + offset));
202 static inline void epa_store(struct h_epa epa, u32 offset, u64 value) argument
204 __raw_writeq(value, (void __iomem *)(epa.addr + offset));
205 epa_load(epa, offset); /* synchronize explicitly to eHEA */
208 static inline void epa_store_acc(struct h_epa epa, u32 offset, u64 value) argument
210 __raw_writeq(value, (void __iomem *)(epa.addr + offset));
213 #define epa_store_cq(epa, offset, value)\
214 epa_store(epa, CQTEMM_OFFSET(offset), value)
215 #define epa_load_cq(epa, offset)\
[all...]
/drivers/mtd/maps/
H A Dscx200_docflash.c50 .offset = 0,
55 .offset = 0xc0000,
60 .offset = 0x100000,
65 .offset = ~0, /* calculate from flash size */
198 partition_info[3].offset = mymtd->size-partition_info[3].size;
199 partition_info[2].size = partition_info[3].offset-partition_info[2].offset;
223 c-basic-offset: 8
/drivers/scsi/
H A Dzorro7xx.c39 unsigned long offset; member in struct:zorro_driver_data
40 int absolute; /* offset is absolute address */
42 { .name = "PowerUP 603e+", .offset = 0xf40000, .absolute = 1 },
43 { .name = "WarpEngine 40xx", .offset = 0x40000 },
44 { .name = "A4091", .offset = 0x800000 },
45 { .name = "GForce 040/060", .offset = 0x40000 },
86 ioaddr = zdd->offset;
88 ioaddr = board + zdd->offset;
/drivers/ssb/
H A Ddriver_extif.c20 static inline u32 extif_read32(struct ssb_extif *extif, u16 offset) argument
22 return ssb_read32(extif->dev, offset);
25 static inline void extif_write32(struct ssb_extif *extif, u16 offset, u32 value) argument
27 ssb_write32(extif->dev, offset, value);
30 static inline u32 extif_write32_masked(struct ssb_extif *extif, u16 offset, argument
34 value |= extif_read32(extif, offset) & ~mask;
35 extif_write32(extif, offset, value);
/drivers/staging/rts_pstor/
H A Drtsx_transport.c43 * Update the *index and *offset variables so that the next copy will
48 unsigned int *offset, enum xfer_buf_dir dir)
55 if (*offset >= scsi_bufflen(srb))
57 cnt = min(buflen, scsi_bufflen(srb) - *offset);
59 memcpy((unsigned char *) scsi_sglist(srb) + *offset,
63 *offset, cnt);
64 *offset += cnt;
80 * and the starting offset within the page, and update
81 * the *offset and *index values for the next loop. */
85 ((sg->offset
46 rtsx_stor_access_xfer_buf(unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb, unsigned int *index, unsigned int *offset, enum xfer_buf_dir dir) argument
135 unsigned int index = 0, offset = 0; local
146 unsigned int index = 0, offset = 0; local
327 rtsx_transfer_sglist_adma_partial(struct rtsx_chip *chip, u8 card, struct scatterlist *sg, int num_sg, unsigned int *index, unsigned int *offset, int size, enum dma_data_direction dma_dir, int timeout) argument
719 rtsx_transfer_data_partial(struct rtsx_chip *chip, u8 card, void *buf, size_t len, int use_sg, unsigned int *index, unsigned int *offset, enum dma_data_direction dma_dir, int timeout) argument
[all...]
/drivers/oprofile/
H A Dbuffer_sync.c17 * transitory EIP value into a persistent dentry/offset
20 * See fs/dcookies.c for a description of the dentry/offset
246 /* Convert the EIP value of a sample into a persistent dentry/offset
252 lookup_dcookie(struct mm_struct *mm, unsigned long addr, off_t *offset) argument
264 *offset = (vma->vm_pgoff << PAGE_SHIFT) + addr -
268 *offset = addr;
331 off_t offset; local
341 cookie = lookup_dcookie(mm, pc, &offset);
344 offset = pc;
347 offset
364 add_sample_entry(unsigned long offset, unsigned long event) argument
380 off_t offset; local
[all...]
/drivers/gpu/drm/radeon/
H A Dmkregtable.c551 struct offset { struct
553 unsigned offset; member in struct:offset
564 static struct offset *offset_new(unsigned o)
566 struct offset *offset; local
568 offset = (struct offset *)malloc(sizeof(struct offset));
569 if (offset) {
570 INIT_LIST_HEAD(&offset
576 table_offset_add(struct table *t, struct offset *offset) argument
616 struct offset *offset; local
645 struct offset *offset; local
[all...]

Completed in 4503 milliseconds

1234567891011>>