/drivers/media/usb/dvb-usb/ |
H A D | af9005-script.h | 12 u8 pos; member in struct:__anon2388
|
H A D | dvb-usb-firmware.c | 40 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 D | via_aux.c | 57 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 D | dbx500-cpufreq.c | 48 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 D | ppc_cbe_cpufreq.c | 70 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 D | elanfreq.c | 150 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 D | exynos-cpufreq.c | 31 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 D | iscsi_ibft_find.c | 60 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 D | tm6000-usb-isoc.h | 39 int pos, size, pktsize; member in struct:usb_isoc_ctl
|
/drivers/mtd/chips/ |
H A D | chipreg.c | 33 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 D | ecrc.c | 51 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, ®32); 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, ®32); 91 pci_write_config_dword(dev, pos [all...] |
/drivers/media/common/ |
H A D | cypress_firmware.c | 41 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 D | sysfs.c | 111 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 D | htirq.c | 30 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 D | gpio_axis.c | 25 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 D | af9013_priv.h | 36 u8 pos:4; member in struct:af9013_reg_bit
|
/drivers/misc/eeprom/ |
H A D | sunxi_sid.c | 64 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 D | debugfs.c | 34 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 D | wmm.h | 73 struct list_head *pos; local 76 list_for_each(pos, head)
|
/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/pnp/isapnp/ |
H A D | proc.c | 39 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 D | hmcdrv_cache.c | 63 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 D | tape_proc.c | 83 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 D | fuse-tegra.c | 57 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 D | sprom.c | 26 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;
|