/drivers/scsi/csiostor/ |
H A D | csio_hw_t5.c | 285 u32 pos, start, offset, memoffset; local 340 for (pos = start; len > 0; pos += mem_aperture, offset = 0) { 346 csio_wr_reg32(hw, pos | win_pf,
|
/drivers/staging/bcm/ |
H A D | InterfaceDld.c | 8 loff_t pos = 0; local 20 MAX_TRANSFER_CTRL_BYTE_USB, &pos); 50 loff_t pos = 0; local 71 MAX_TRANSFER_CTRL_BYTE_USB, &pos);
|
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | recover.c | 72 struct list_head *tmp, *pos; local 142 list_for_each_safe(tmp, pos, &imp->imp_replay_list) { 215 struct list_head *tmp, *pos; local 219 list_for_each_safe(tmp, pos, &imp->imp_delayed_list) {
|
H A D | ptlrpcd.c | 148 struct list_head *tmp, *pos; local 156 list_for_each_safe(pos, tmp, &set->set_requests) { 158 list_entry(pos, struct ptlrpc_request, 190 struct list_head *tmp, *pos; local 196 list_for_each_safe(pos, tmp, &src->set_new_requests) { 197 req = list_entry(pos, struct ptlrpc_request, 265 struct list_head *tmp, *pos; local 314 list_for_each_safe(pos, tmp, &set->set_requests) { 315 req = list_entry(pos, struct ptlrpc_request,
|
/drivers/firmware/efi/ |
H A D | efi.c | 481 char *pos; local 485 pos = buf; 487 type_len = snprintf(pos, size, "[type=%u", md->type); 489 type_len = snprintf(pos, size, "[%-*s", 495 pos += type_len; 502 snprintf(pos, size, "|attr=0x%016llx]", 505 snprintf(pos, size, "|%3s|%2s|%2s|%2s|%3s|%2s|%2s|%2s|%2s]",
|
/drivers/gpu/drm/gma500/ |
H A D | mdfld_device.c | 211 pipe->pos = PSB_RVDC32(map->pos); 340 PSB_WVDC32(pipe->pos, map->pos); 463 .pos = DSPAPOS, 485 .pos = DSPBPOS, 508 .pos = DSPCPOS,
|
/drivers/i2c/busses/ |
H A D | i2c-ocores.c | 35 int pos; member in struct:ocores_i2c 146 msg->buf[i2c->pos++] = oc_getreg(i2c, OCI2C_DATA); 149 if (i2c->pos == msg->len) { 152 i2c->pos = 0; 179 oc_setreg(i2c, OCI2C_CMD, i2c->pos == (msg->len-1) ? 182 oc_setreg(i2c, OCI2C_DATA, msg->buf[i2c->pos++]); 201 i2c->pos = 0;
|
/drivers/net/wireless/ath/carl9170/ |
H A D | fw.c | 55 const struct carl9170fw_desc_head *pos; local 59 if (max_len < sizeof(*pos)) 64 pos = head; 65 pos_addr = (unsigned long) pos; 72 pos_length = le16_to_cpu(pos->length); 83 if (carl9170fw_desc_cmp(pos, LAST_MAGIC, 89 pos = (void *)pos_addr;
|
H A D | rx.c | 493 u8 *pos, *end; local 495 pos = (u8 *)mgmt->u.beacon.variable; 497 while (pos < end) { 498 if (pos + 2 + pos[1] > end) 501 if (pos[0] == ie) 502 return pos; 504 pos += 2 + pos[1];
|
/drivers/net/wireless/ti/wl18xx/ |
H A D | debugfs.c | 178 char *buf, *pos; local 193 pos = buf; 194 memcpy(pos, &header, sizeof(header)); 195 pos += sizeof(header); 196 memcpy(pos, &wl->conf, sizeof(wl->conf)); 197 pos += sizeof(wl->conf); 198 memcpy(pos, &priv->conf, sizeof(priv->conf));
|
/drivers/pinctrl/sh-pfc/ |
H A D | gpio.c | 157 unsigned long pos; local 162 pos = reg->info->reg_width - (bit + 1); 165 set_bit(pos, ®->shadow); 167 clear_bit(pos, ®->shadow); 189 unsigned long pos; local 194 pos = reg->info->reg_width - (bit + 1); 196 return (gpio_read_data_reg(chip, reg->info) >> pos) & 1;
|
/drivers/scsi/bfa/ |
H A D | bfa_fcpim.h | 80 int pos = 0; local 86 pos += 16; 90 pos += 8; 94 pos += 4; 98 pos += 2; 101 pos += 1; 103 return (n == 0) ? (0) : pos;
|
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_rotator.c | 237 struct drm_exynos_pos *pos, 261 val = ROT_CROP_POS_Y(pos->y) | ROT_CROP_POS_X(pos->x); 263 val = ROT_SRC_CROP_SIZE_H(pos->h) | ROT_SRC_CROP_SIZE_W(pos->w); 375 struct drm_exynos_pos *pos, 398 val = ROT_CROP_POS_Y(pos->y) | ROT_CROP_POS_X(pos->x); 521 struct drm_exynos_pos *src_pos = &src_config->pos; 522 struct drm_exynos_pos *dst_pos = &dst_config->pos; 236 rotator_src_set_size(struct device *dev, int swap, struct drm_exynos_pos *pos, struct drm_exynos_sz *sz) argument 374 rotator_dst_set_size(struct device *dev, int swap, struct drm_exynos_pos *pos, struct drm_exynos_sz *sz) argument [all...] |
/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf.h | 163 #define ixgbevf_for_each_ring(pos, head) \ 164 for (pos = (head).ring; pos != NULL; pos = pos->next)
|
/drivers/media/tuners/ |
H A D | xc4000.c | 319 unsigned int len, pos, index; local 342 pos = 2; 343 while (pos < len) { 344 if ((len - pos) > XC_MAX_I2C_WRITE_LENGTH - 2) 348 nbytes_to_send = (len - pos + 2); 350 buf[i] = i2c_sequence[index + pos + 359 pos += nbytes_to_send - 2; 705 int pos, rc; local 708 pos = seek_firmware(fe, type, id); 709 if (pos < 883 int pos, rc; local [all...] |
/drivers/mtd/devices/ |
H A D | docg3.c | 1658 int pos = 0; local 1665 pos += seq_printf(s, 1673 return pos; 1681 int pos = 0, pctrl, mode; local 1688 pos += seq_printf(s, 1700 pos += seq_puts(s, "reset"); 1703 pos += seq_puts(s, "normal"); 1706 pos += seq_puts(s, "powerdown"); 1709 pos += seq_puts(s, ")\n"); 1710 return pos; 1717 int pos = 0; local 1732 int pos = 0; local [all...] |
/drivers/media/platform/vivid/ |
H A D | vivid-tpg.c | 929 u8 *pos = tpg->lines[pat][p] + x * twopixsize / 2; local 931 memcpy(pos, pix[p], twopixsize); 942 u8 *pos = tpg->contrast_line[p] + x * twopixsize / 2; local 944 memcpy(pos, pix[p], twopixsize); 954 u8 *pos = tpg->black_line[p] + x * twopixsize / 2; local 956 memcpy(pos, pix[p], twopixsize); 966 u8 *pos = tpg->random_line[p] + x * twopixsize / 2; local 968 memcpy(pos, pix[p], twopixsize); 1020 PIXTYPE *pos = (PIXTYPE *)(basep[p][line & 1] + \ 1029 pos[ [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.c | 578 static inline void *l2t_get_idx(struct seq_file *seq, loff_t pos) argument 582 return pos >= L2T_SIZE ? NULL : &l2tab[pos]; 585 static void *l2t_seq_start(struct seq_file *seq, loff_t *pos) argument 587 return *pos ? l2t_get_idx(seq, *pos - 1) : SEQ_START_TOKEN; 590 static void *l2t_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 592 v = l2t_get_idx(seq, *pos); 594 ++*pos;
|
/drivers/acpi/apei/ |
H A D | erst.c | 464 int erst_get_record_id_begin(int *pos) argument 477 *pos = 0; 556 int erst_get_record_id_next(int *pos, u64 *record_id) argument 566 BUG_ON(*pos < 0 || *pos > erst_record_id_cache.len); 570 for (; *pos < erst_record_id_cache.len; (*pos)++) 571 if (entries[*pos] != APEI_ERST_INVALID_RECORD_ID) 574 if (*pos < erst_record_id_cache.len) { 575 *record_id = entries[*pos]; [all...] |
/drivers/gpio/ |
H A D | gpio-mcp23s08.c | 387 unsigned int pos = data->hwirq; local 389 mcp->cache[MCP_GPINTEN] &= ~BIT(pos); 395 unsigned int pos = data->hwirq; local 397 mcp->cache[MCP_GPINTEN] |= BIT(pos); 403 unsigned int pos = data->hwirq; local 407 mcp->cache[MCP_INTCON] &= ~BIT(pos); 408 mcp->irq_rise |= BIT(pos); 409 mcp->irq_fall |= BIT(pos); 411 mcp->cache[MCP_INTCON] &= ~BIT(pos); 412 mcp->irq_rise |= BIT(pos); [all...] |
/drivers/staging/lustre/lnet/lnet/ |
H A D | lib-ptl.c | 229 __u64 mbits, __u64 ignore_bits, lnet_ins_pos_t pos) 247 switch (pos) { 314 lnet_mt_test_exhausted(struct lnet_match_table *mtable, int pos) argument 322 if (pos < 0) { /* check all bits */ 330 LASSERT(pos <= LNET_MT_HASH_IGNORE); 331 /* mtable::mt_mhash[pos] is marked as exhausted or not */ 332 bmap = &mtable->mt_exhausted[pos >> LNET_MT_BITS_U64]; 333 pos &= (1 << LNET_MT_BITS_U64) - 1; 335 return ((*bmap) & (1ULL << pos)) != 0; 339 lnet_mt_set_exhausted(struct lnet_match_table *mtable, int pos, in argument 228 lnet_mt_of_attach(unsigned int index, lnet_process_id_t id, __u64 mbits, __u64 ignore_bits, lnet_ins_pos_t pos) argument [all...] |
/drivers/video/fbdev/matrox/ |
H A D | matroxfb_crtc2.c | 66 unsigned int pos) { 125 mga_outl(0x3C2C, pos); /* field #1 vmemory start */ 126 mga_outl(0x3C28, pos + linelen); /* field #0 vmemory start */ 130 mga_outl(0x3C28, pos); /* vmemory start */ 169 unsigned int pos; local 178 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; 179 pos += m2info->video.offbase; 181 mga_outl(0x3C2C, pos); 182 mga_outl(0x3C28, pos + linelen); 184 mga_outl(0x3C28, pos); 63 matroxfb_dh_restore(struct matroxfb_dh_fb_info* m2info, struct my_timming* mt, int mode, unsigned int pos) argument 344 unsigned int pos; local [all...] |
/drivers/firmware/ |
H A D | dcdbas.c | 154 char *buf, loff_t pos, size_t count) 159 ret = memory_read_from_buffer(buf, count, &pos, smi_data_buf, 167 char *buf, loff_t pos, size_t count) 171 if ((pos + count) > MAX_SMI_DATA_BUF_SIZE) 176 ret = smi_data_buf_realloc(pos + count); 180 memcpy(smi_data_buf + pos, buf, count); 152 smi_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) argument 165 smi_data_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) argument
|
/drivers/platform/x86/ |
H A D | intel_menlow.c | 486 struct intel_menlow_attribute *pos, *next; local 489 list_for_each_entry_safe(pos, next, &intel_menlow_attr_list, node) { 490 list_del(&pos->node); 491 device_remove_file(pos->device, &pos->attr); 492 kfree(pos);
|
/drivers/rtc/ |
H A D | rtc-ds1553.c | 240 char *buf, loff_t pos, size_t size) 248 for (count = 0; size > 0 && pos < RTC_OFFSET; count++, size--) 249 *buf++ = readb(ioaddr + pos++); 255 char *buf, loff_t pos, size_t size) 263 for (count = 0; size > 0 && pos < RTC_OFFSET; count++, size--) 264 writeb(*buf++, ioaddr + pos++); 238 ds1553_nvram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) argument 253 ds1553_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) argument
|