Searched refs:pos (Results 301 - 325 of 678) sorted by relevance

<<11121314151617181920>>

/drivers/media/platform/omap/
H A Domap_voutdef.h168 unsigned char pos; member in struct:omap_vout_device
/drivers/media/usb/stk1160/
H A Dstk1160.h93 unsigned int pos; /* current pos inside buffer */ member in struct:stk1160_buffer
/drivers/mfd/
H A Dhtc-egpio.c188 int pos; local
198 pos = egpio_pos(ei, offset);
199 reg = egpio->reg_start + pos;
200 shift = pos << ei->reg_shift;
/drivers/net/wireless/ti/wl1251/
H A Dtx.c199 u8 *pos; local
207 pos = skb_push(skb, WL1251_TKIP_IV_SPACE);
208 memmove(pos, pos + WL1251_TKIP_IV_SPACE,
/drivers/pci/host/
H A Dpcie-designware.h74 u32 (*get_msi_data)(struct pcie_port *pp, int pos);
/drivers/scsi/fnic/
H A Dfnic_debugfs.c310 * @pos: The position in the file to start reading from.
314 * field of @file. It will start reading at @pos and copy up to @nbytes of
324 loff_t *pos)
328 rc = simple_read_from_buffer(ubuf, nbytes, pos,
706 * @pos: The position in the file to start reading from.
710 * field of @file. It will start reading at @pos and copy up to @nbytes of
720 loff_t *pos)
724 rc = simple_read_from_buffer(ubuf, nbytes, pos,
321 fnic_trace_debugfs_read(struct file *file, char __user *ubuf, size_t nbytes, loff_t *pos) argument
717 fnic_stats_debugfs_read(struct file *file, char __user *ubuf, size_t nbytes, loff_t *pos) argument
/drivers/staging/lustre/lustre/fld/
H A Dlproc_fld.c124 size_t count, loff_t *pos)
123 fld_proc_cache_flush_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument
/drivers/video/fbdev/
H A Dvfb.c420 unsigned long page, pos; local
429 pos = (unsigned long)info->fix.smem_start + offset;
432 page = vmalloc_to_pfn((void *)pos);
437 pos += PAGE_SIZE;
/drivers/xen/
H A Dprivcmd.c129 struct list_head *pos,
145 pos = pos->next;
146 page = list_entry(pos, struct page, lru);
128 traverse_pages(unsigned nelem, size_t size, struct list_head *pos, int (*fn)(void *data, void *state), void *state) argument
/drivers/cpufreq/
H A Dlonghaul.c536 unsigned int j, speed, pos, kHz_step, numvscales; local
577 numvscales = maxvid.pos - minvid.pos + 1;
615 pos = (speed - min_vid_speed) / kHz_step + minvid.pos;
617 pos = minvid.pos;
618 freq_pos->driver_data |= mV_vrm_table[pos] << 8;
619 vid = vrm_mV_table[mV_vrm_table[pos]];
/drivers/isdn/capi/
H A Dcapiutil.c577 r = cdb->size - cdb->pos;
585 while ((ns - cdb->pos) <= n)
592 memcpy(nb, cdb->buf, cdb->pos);
594 nb[cdb->pos] = 0;
596 cdb->p = cdb->buf + cdb->pos;
599 r = cdb->size - cdb->pos;
604 cdb->pos += n;
737 cdb->pos = 0;
853 g_debbuf->pos = 0;
/drivers/media/v4l2-core/
H A Dtuner-core.c550 struct tuner *pos; local
555 list_for_each_entry(pos, &tuner_list, list) {
558 if (pos->i2c->adapter != adap ||
559 strcmp(pos->i2c->dev.driver->name, "tuner"))
562 mode_mask = pos->mode_mask;
564 *radio = pos;
568 else if (*tv == NULL && pos->type != TUNER_TDA9887 &&
569 (pos->mode_mask & T_ANALOG_TV))
570 *tv = pos;
/drivers/net/wireless/p54/
H A Dmain.c80 u8 *pos, *end; local
85 pos = (u8 *)mgmt->u.beacon.variable;
87 while (pos < end) {
88 if (pos + 2 + pos[1] > end)
91 if (pos[0] == ie)
92 return pos;
94 pos += 2 + pos[1];
/drivers/net/wireless/rt2x00/
H A Drt2x00dev.c509 u8 *pos, *end; local
511 pos = (u8 *)mgmt->u.beacon.variable;
513 while (pos < end) {
514 if (pos + 2 + pos[1] > end)
517 if (pos[0] == ie)
518 return pos;
520 pos += 2 + pos[1];
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c1723 static void *sge_queue_start(struct seq_file *seq, loff_t *pos) argument
1727 return *pos < entries ? (void *)((uintptr_t)*pos + 1) : NULL;
1734 static void *sge_queue_next(struct seq_file *seq, void *v, loff_t *pos) argument
1738 ++*pos;
1739 return *pos < entries ? (void *)((uintptr_t)*pos + 1) : NULL;
1869 static void *sge_qstats_start(struct seq_file *seq, loff_t *pos) argument
1873 return *pos < entries ? (void *)((uintptr_t)*pos
1880 sge_qstats_next(struct seq_file *seq, void *v, loff_t *pos) argument
1974 interfaces_get_idx(struct adapter *adapter, loff_t pos) argument
1981 interfaces_start(struct seq_file *seq, loff_t *pos) argument
1988 interfaces_next(struct seq_file *seq, void *v, loff_t *pos) argument
[all...]
/drivers/net/wireless/iwlwifi/mvm/
H A Drs.c3226 char *buff, *pos, *endpos; local
3237 pos = buff;
3238 endpos = pos + bufsz;
3240 pos += scnprintf(pos, endpos - pos, "COLUMN,");
3242 pos += scnprintf(pos, endpos - pos, "%s,", rate_name[rate]);
3243 pos
[all...]
/drivers/net/wireless/mwifiex/
H A Dsta_cmd.c1235 u8 *pos; local
1270 pos = ((u8 *)subsc_evt) +
1274 rssi_tlv = (struct mwifiex_ie_types_rssi_threshold *) pos;
1288 pos += sizeof(struct mwifiex_ie_types_rssi_threshold);
1294 rssi_tlv = (struct mwifiex_ie_types_rssi_threshold *) pos;
1308 pos += sizeof(struct mwifiex_ie_types_rssi_threshold);
1369 u8 *pos = (u8 *)mef_cfg; local
1375 pos += sizeof(*mef_cfg);
1378 pos += sizeof(*(mef_cfg->mef_entry));
1380 if (mwifiex_cmd_append_rpn_expression(priv, mef->mef_entry, &pos))
1550 u8 *pos, qos_info; local
[all...]
/drivers/pinctrl/
H A Dpinctrl-single.c496 struct list_head *pos, *tmp; local
504 list_for_each_safe(pos, tmp, &pcs->gpiofuncs) {
505 frange = list_entry(pos, struct pcs_gpiofunc_range, node);
1412 struct list_head *pos, *tmp; local
1424 list_for_each_safe(pos, tmp, &pcs->functions) {
1427 function = list_entry(pos, struct pcs_function, node);
1439 struct list_head *pos, *tmp; local
1451 list_for_each_safe(pos, tmp, &pcs->pingroups) {
1454 pingroup = list_entry(pos, struct pcs_pingroup, node);
1559 struct list_head *pos; local
1637 struct list_head *pos; local
[all...]
/drivers/gpio/
H A Dgpiolib.c178 struct list_head *pos = &gpio_chips; local
183 list_for_each(pos, &gpio_chips) {
184 _chip = list_entry(pos, struct gpio_chip, list);
191 if (pos != &gpio_chips && pos->prev != &gpio_chips) {
192 _chip = list_entry(pos->prev, struct gpio_chip, list);
201 list_add_tail(&chip->list, pos);
1784 static void *gpiolib_seq_start(struct seq_file *s, loff_t *pos) argument
1788 loff_t index = *pos;
1803 static void *gpiolib_seq_next(struct seq_file *s, void *v, loff_t *pos) argument
[all...]
/drivers/media/dvb-frontends/
H A Daf9013.c188 static int af9013_wr_reg_bits(struct af9013_state *state, u16 reg, int pos, argument
200 mask = (0xff >> (8 - len)) << pos;
201 val <<= pos; local
209 static int af9013_rd_reg_bits(struct af9013_state *state, u16 reg, int pos, argument
219 *val = (tmp >> pos);
228 u8 pos; local
259 pos = 0;
264 pos = 4;
268 ret = af9013_wr_reg_bits(state, addr, pos, 4, gpioval);
1165 ret = af9013_wr_reg_bits(state, init[i].addr, init[i].pos,
[all...]
/drivers/media/pci/saa7164/
H A Dsaa7164-encoder.c970 buf->pos = 0;
975 ubuf->pos = 0;
1145 size_t count, loff_t *pos)
1163 if (*pos) {
1196 rem = ubuf->actual_size - ubuf->pos;
1199 p = ubuf->data + ubuf->pos;
1202 "%s() count=%d cnt=%d rem=%d buf=%p buf->pos=%d\n",
1203 __func__, (int)count, cnt, rem, ubuf, ubuf->pos);
1214 ubuf->pos += cnt;
1219 if (ubuf->pos > ubu
1144 fops_read(struct file *file, char __user *buffer, size_t count, loff_t *pos) argument
[all...]
H A Dsaa7164-vbi.c896 buf->pos = 0;
901 ubuf->pos = 0;
1091 size_t count, loff_t *pos)
1109 if (*pos) {
1142 rem = ubuf->actual_size - ubuf->pos;
1145 p = ubuf->data + ubuf->pos;
1148 "%s() count=%d cnt=%d rem=%d buf=%p buf->pos=%d\n",
1149 __func__, (int)count, cnt, rem, ubuf, ubuf->pos);
1160 ubuf->pos += cnt;
1165 if (ubuf->pos > ubu
1090 fops_read(struct file *file, char __user *buffer, size_t count, loff_t *pos) argument
[all...]
/drivers/gpu/drm/gma500/
H A Dpsb_device.c278 .pos = DSPAPOS,
302 .pos = DSPBPOS,
/drivers/input/mouse/
H A Dbcm5974.c258 struct input_mt_pos pos[MAX_FINGERS]; /* position array */ member in struct:bcm5974
505 const struct input_mt_pos *pos,
521 input_report_abs(input, ABS_MT_POSITION_X, pos->x);
522 input_report_abs(input, ABS_MT_POSITION_Y, pos->y);
562 dev->pos[n].x = raw2int(f[i].abs_x);
563 dev->pos[n].y = c->y.min + c->y.max - raw2int(f[i].abs_y);
567 input_mt_assign_slots(input, dev->slots, dev->pos, n);
571 &dev->pos[i], dev->index[i]);
504 report_finger_data(struct input_dev *input, int slot, const struct input_mt_pos *pos, const struct tp_finger *f) argument
/drivers/media/usb/au0828/
H A Dau0828.h156 int pos, size, pktsize; member in struct:au0828_usb_isoc_ctl
194 int pos; member in struct:au0828_dmaqueue

Completed in 1578 milliseconds

<<11121314151617181920>>