Searched defs:pos (Results 1 - 25 of 610) sorted by relevance

1234567891011>>

/drivers/media/usb/dvb-usb/
H A Daf9005-script.h12 u8 pos; member in struct:__anon2388
H A Ddvb-usb-firmware.c40 int ret,pos=0; local
47 while ((ret = dvb_usb_get_hexline(fw,&hx,&pos)) > 0) {
60 err("firmware download failed at %d with %d",pos,ret);
116 int *pos)
118 u8 *b = (u8 *) &fw->data[*pos];
120 if (*pos >= fw->size)
127 if ((*pos + hx->len + 4) >= fw->size)
142 *pos += hx->len + 5;
144 return *pos;
115 dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, int *pos) argument
/drivers/video/fbdev/via/
H A Dvia_aux.c57 struct via_aux_drv *pos, *n; local
62 list_for_each_entry_safe(pos, n, &bus->drivers, chain) {
63 if (pos->cleanup)
64 pos->cleanup(pos);
66 list_del(&pos->chain);
67 kfree(pos->data);
68 kfree(pos);
76 struct via_aux_drv *pos; local
82 list_for_each_entry(pos,
[all...]
/drivers/cpufreq/
H A Ddbx500-cpufreq.c48 struct cpufreq_frequency_table *pos; local
63 cpufreq_for_each_entry(pos, freq_table)
64 pr_info(" %d Mhz\n", pos->frequency / 1000);
H A Dppc_cbe_cpufreq.c70 struct cpufreq_frequency_table *pos; local
106 cpufreq_for_each_entry(pos, cbe_freqs) {
107 pos->frequency = max_freq / pos->driver_data;
108 pr_debug("%d: %d\n", (int)(pos - cbe_freqs), pos->frequency);
H A Delanfreq.c150 struct cpufreq_frequency_table *pos; local
162 cpufreq_for_each_entry(pos, elanfreq_table)
163 if (pos->frequency > max_freq)
164 pos->frequency = CPUFREQ_ENTRY_INVALID;
H A Dexynos-cpufreq.c31 struct cpufreq_frequency_table *pos; local
33 cpufreq_for_each_entry(pos, freq_table)
34 if (pos->frequency == freq)
37 if (pos->frequency == CPUFREQ_TABLE_END)
40 return pos - freq_table;
/drivers/firmware/
H A Discsi_ibft_find.c60 unsigned long pos; local
65 for (pos = IBFT_START; pos < IBFT_END; pos += 16) {
68 if (pos == VGA_MEM)
69 pos += VGA_SIZE;
70 virt = isa_bus_to_virt(pos);
76 (unsigned long *)isa_bus_to_virt(pos + 4);
80 if (pos + len <= (IBFT_END-1)) {
82 pr_info("iBFT found at 0x%lx.\n", pos);
[all...]
/drivers/media/usb/tm6000/
H A Dtm6000-usb-isoc.h39 int pos, size, pktsize; member in struct:usb_isoc_ctl
/drivers/mtd/chips/
H A Dchipreg.c33 struct list_head *pos; local
38 list_for_each(pos, &chip_drvs_list) {
39 this = list_entry(pos, typeof(*this), list);
/drivers/pci/pcie/aer/
H A Decrc.c51 int pos; local
57 pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR);
58 if (!pos)
61 pci_read_config_dword(dev, pos + PCI_ERR_CAP, &reg32);
66 pci_write_config_dword(dev, pos + PCI_ERR_CAP, reg32);
79 int pos; local
85 pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR);
86 if (!pos)
89 pci_read_config_dword(dev, pos + PCI_ERR_CAP, &reg32);
91 pci_write_config_dword(dev, pos
[all...]
/drivers/media/common/
H A Dcypress_firmware.c41 struct hexline *hx, int *pos)
43 u8 *b = (u8 *) &fw->data[*pos];
46 if (*pos >= fw->size)
52 if ((*pos + hx->len + 4) >= fw->size)
66 *pos += hx->len + 5;
68 return *pos;
75 int ret, pos = 0; local
95 ret = cypress_get_hexline(fw, hx, &pos);
40 cypress_get_hexline(const struct firmware *fw, struct hexline *hx, int *pos) argument
/drivers/net/wireless/ti/wlcore/
H A Dsysfs.c111 char *buffer, loff_t pos, size_t count)
154 /* Seeking is not supported - old logs are not kept. Disregard pos. */
109 wl1271_sysfs_read_fwlog(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) argument
/drivers/pci/
H A Dhtirq.c30 unsigned pos; member in struct:ht_irq_cfg
42 pci_write_config_byte(cfg->dev, cfg->pos + 2, cfg->idx);
43 pci_write_config_dword(cfg->dev, cfg->pos + 4, msg->address_lo);
46 pci_write_config_byte(cfg->dev, cfg->pos + 2, cfg->idx + 1);
47 pci_write_config_dword(cfg->dev, cfg->pos + 4, msg->address_hi);
90 int max_irq, pos, irq; local
94 pos = pci_find_ht_capability(dev, HT_CAPTYPE_IRQ);
95 if (!pos)
100 pci_write_config_byte(dev, pos + 2, 1);
101 pci_read_config_dword(dev, pos
[all...]
/drivers/input/misc/
H A Dgpio_axis.c25 uint32_t pos; member in struct:gpio_axis_state
67 uint16_t pos; local
68 uint16_t old_pos = as->pos;
71 pos = ai->map(ai, state);
73 pr_info("axis %d-%d raw %x, pos %d -> %d\n",
74 ai->type, ai->code, state, old_pos, pos);
75 if (report && pos != old_pos) {
77 change = (ai->decoded_size + pos - old_pos) %
84 "pos %d -> %d\n", ai->type,
85 ai->code, old_pos, pos);
[all...]
/drivers/media/dvb-frontends/
H A Daf9013_priv.h36 u8 pos:4; member in struct:af9013_reg_bit
/drivers/misc/eeprom/
H A Dsunxi_sid.c64 loff_t pos, size_t size)
73 if (pos < 0 || pos >= sid_data->keysize)
75 if (size > sid_data->keysize - pos)
76 size = sid_data->keysize - pos;
79 buf[i] = sunxi_sid_read_byte(sid_data, pos + i);
62 sid_read(struct file *fd, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t pos, size_t size) argument
/drivers/misc/mei/
H A Ddebugfs.c34 int pos = 0; local
51 pos += scnprintf(buf + pos, bufsz - pos, HDR);
63 pos += scnprintf(buf + pos, bufsz - pos,
74 ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, pos);
93 int pos = 0; local
103 pos
139 int pos = 0; local
[all...]
/drivers/net/wireless/mwifiex/
H A Dwmm.h73 struct list_head *pos; local
76 list_for_each(pos, head)
/drivers/net/wireless/ti/wl18xx/
H A Ddebugfs.c178 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/pnp/isapnp/
H A Dproc.c39 int pos = *ppos; local
42 if (pos >= size)
46 if (pos + nbytes > size)
47 nbytes = size - pos;
54 for (; pos < 256 && cnt > 0; pos++, buf++, cnt--) {
56 val = isapnp_read_byte(pos);
61 *ppos = pos;
/drivers/s390/char/
H A Dhmcdrv_cache.c63 loff_t pos; /* position in cache (signed) */ local
88 pos = ftp->ofs - hmcdrv_cache_file.ofs;
90 if ((pos >= 0) &&
91 ((pos + len) <= hmcdrv_cache_file.len)) {
94 hmcdrv_cache_file.content + pos,
H A Dtape_proc.c83 static void *tape_proc_start(struct seq_file *m, loff_t *pos) argument
85 if (*pos >= 256 / TAPE_MINORS_PER_DEV)
87 return (void *)((unsigned long) *pos + 1);
90 static void *tape_proc_next(struct seq_file *m, void *v, loff_t *pos) argument
92 ++*pos;
93 return tape_proc_start(m, pos);
/drivers/soc/tegra/fuse/
H A Dfuse-tegra.c57 loff_t pos, size_t size)
61 if (pos < 0 || pos >= fuse_size)
64 if (size > fuse_size - pos)
65 size = fuse_size - pos;
68 buf[i] = fuse_readb(pos + i);
55 fuse_read(struct file *fd, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t pos, size_t size) argument
/drivers/ssb/
H A Dsprom.c26 int i, pos = 0; local
29 pos += snprintf(buf + pos, buf_len - pos - 1,
31 pos += snprintf(buf + pos, buf_len - pos - 1, "\n");
33 return pos + 1;

Completed in 522 milliseconds

1234567891011>>