/drivers/infiniband/hw/qib/ |
H A D | qib_fs.c | 275 loff_t pos; local 278 pos = *ppos; 280 if (pos < 0) { 285 if (pos >= sizeof(struct qib_flash)) { 290 if (count > sizeof(struct qib_flash) - pos) 291 count = sizeof(struct qib_flash) - pos; 300 if (qib_eeprom_read(dd, pos, tmp, count)) { 311 *ppos = pos + count; 326 loff_t pos; local 329 pos [all...] |
/drivers/staging/gdm72xx/ |
H A D | gdm_sdio.c | 255 int pos, len, i, estlen, aggr_num = 0, aggr_len; local 261 pos = TYPE_A_HEADER_SIZE + HCI_HEADER_SIZE; 264 if ((pos + estlen) > SDU_TX_BUF_SIZE) 268 memcpy(tx->sdu_buf + pos, t->buf, t->len); 269 memset(tx->sdu_buf + pos + t->len, 0, estlen - t->len); 270 pos += estlen; 272 aggr_len = pos; 284 for (pos = TYPE_A_HEADER_SIZE; pos < aggr_len; pos [all...] |
H A D | sdio_boot.c | 62 loff_t pos = 0; local 99 memcpy(buf+TYPE_A_HEADER_SIZE, firm->data + pos, len); 126 pos += DOWNLOAD_SIZE;
|
/drivers/i2c/busses/ |
H A D | i2c-rcar.c | 102 int pos; member in struct:rcar_i2c_priv 280 if (priv->pos < msg->len) { 288 rcar_i2c_write(priv, ICRXTX, msg->buf[priv->pos]); 289 priv->pos++; 340 } else if (priv->pos < msg->len) { 344 msg->buf[priv->pos] = rcar_i2c_read(priv, ICRXTX); 345 priv->pos++; 353 if (priv->pos + 1 >= msg->len) 458 priv->pos = 0;
|
/drivers/net/bonding/ |
H A D | bond_procfs.c | 8 static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos) 18 if (*pos == 0) 22 if (++off == *pos) 28 static void *bond_info_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 35 ++*pos;
|
/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.h | 282 #define i40e_for_each_ring(pos, head) \ 283 for (pos = (head).ring; pos != NULL; pos = pos->next)
|
/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_txrx.h | 279 #define i40e_for_each_ring(pos, head) \ 280 for (pos = (head).ring; pos != NULL; pos = pos->next)
|
/drivers/net/wireless/libertas/ |
H A D | cfg.c | 509 const u8 *pos; local 552 pos = scanresp->bssdesc_and_tlvbuffer; 557 tsfdesc = pos + bsssize; 594 int len = get_unaligned_le16(pos); 595 pos += 2; 598 bssid = pos; 599 pos += ETH_ALEN; 601 rssi = *pos++; 603 pos += 8; 605 intvl = get_unaligned_le16(pos); 1112 u8 *pos = &(cmd->iebuf[0]); local [all...] |
/drivers/video/fbdev/ |
H A D | tgafb.c | 624 unsigned long rincr, line_length, shift, pos, is8bpp; local 676 pos = dy * line_length; 678 pos += dx; 679 shift = pos & 3; 680 pos &= -4; 682 pos += dx * 4; 683 shift = (pos & 7) >> 2; 684 pos &= -8; 717 __raw_writel(mask << shift, fb_base + pos); 719 pos 838 unsigned long pos, line_length, i, j; local 925 unsigned long pos, align, line_length, i, j; local [all...] |
/drivers/media/tuners/ |
H A D | tuner-xc2028.c | 544 int pos, rc; local 552 pos = seek_firmware(fe, type, id); 553 if (pos < 0) 554 return pos; 557 dump_firm_type(priv->firm[pos].type); 558 printk("(%x), id %016llx.\n", priv->firm[pos].type, 561 p = priv->firm[pos].ptr; 562 endp = p + priv->firm[pos].size; 655 int pos, rc; local 661 pos [all...] |
/drivers/rtc/ |
H A D | rtc-ds1511.c | 406 char *buf, loff_t pos, size_t size) 417 if (pos > DS1511_RAM_MAX) 418 pos = DS1511_RAM_MAX; 420 if (size + pos > DS1511_RAM_MAX + 1) 421 size = DS1511_RAM_MAX - pos + 1; 423 rtc_write(pos, DS1511_RAMADDR_LSB); 436 char *buf, loff_t pos, size_t size) 447 if (pos > DS1511_RAM_MAX) 448 pos = DS1511_RAM_MAX; 450 if (size + pos > DS1511_RAM_MA 404 ds1511_nvram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *ba, char *buf, loff_t pos, size_t size) argument 434 ds1511_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) argument [all...] |
H A D | rtc-ds1742.c | 129 char *buf, loff_t pos, size_t size) 137 for (count = 0; size > 0 && pos < pdata->size_nvram; count++, size--) 138 *buf++ = readb(ioaddr + pos++); 144 char *buf, loff_t pos, size_t size) 152 for (count = 0; size > 0 && pos < pdata->size_nvram; count++, size--) 153 writeb(*buf++, ioaddr + pos++); 127 ds1742_nvram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) argument 142 ds1742_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) argument
|
H A D | rtc-tx4939.c | 194 char *buf, loff_t pos, size_t size) 202 for (count = 0; size > 0 && pos < TX4939_RTC_REG_RAMSIZE; 204 __raw_writel(pos++, &rtcreg->adr); 213 char *buf, loff_t pos, size_t size) 221 for (count = 0; size > 0 && pos < TX4939_RTC_REG_RAMSIZE; 223 __raw_writel(pos++, &rtcreg->adr); 192 tx4939_rtc_nvram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) argument 211 tx4939_rtc_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) argument
|
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_misc.h | 126 #define sym_insque(new, pos) __sym_que_add(new, pos, (pos)->flink)
|
/drivers/block/aoe/ |
H A D | aoecmd.c | 81 struct list_head *head, *pos, *nx; local 85 list_for_each_safe(pos, nx, head) { 86 f = list_entry(pos, struct frame, head); 88 list_del(pos); 99 struct list_head *head, *pos, *nx; local 104 list_for_each_safe(pos, nx, head) { 105 f = list_entry(pos, struct frame, head); 107 list_del(pos); 210 struct list_head *pos; local 221 pos 663 struct list_head *pos, *nx, *head; local 753 struct list_head *head, *pos, *nx; local 1257 struct list_head *pos; local 1720 struct list_head *pos; local [all...] |
/drivers/net/wireless/iwlwifi/dvm/ |
H A D | main.c | 1616 int pos, char **buf, size_t bufsz) 1628 return pos; 1648 return pos; 1661 pos += scnprintf(*buf + pos, bufsz - pos, 1673 pos += scnprintf(*buf + pos, bufsz - pos, 1687 return pos; 1614 iwl_print_event_log(struct iwl_priv *priv, u32 start_idx, u32 num_events, u32 mode, int pos, char **buf, size_t bufsz) argument 1693 iwl_print_last_event_logs(struct iwl_priv *priv, u32 capacity, u32 num_wraps, u32 next_entry, u32 size, u32 mode, int pos, char **buf, size_t bufsz) argument 1738 int pos = 0; local [all...] |
/drivers/thunderbolt/ |
H A D | eeprom.c | 344 u16 pos = sizeof(*header); local 347 while (pos < drom_size) { 348 struct tb_drom_entry_header *entry = (void *) (sw->drom + pos); 349 if (pos + 1 == drom_size || pos + entry->len > drom_size 357 pos += entry->len;
|
/drivers/atm/ |
H A D | eni.h | 57 unsigned long rx_pos; /* current RX descriptor pos */ 126 unsigned long pos; /* position of next descriptor */ member in struct:eni_skb_prv 132 #define ENI_PRV_POS(skb) (((struct eni_skb_prv *) (skb)->cb)->pos)
|
/drivers/cpufreq/ |
H A D | arm_big_little.c | 230 struct cpufreq_frequency_table *pos; local 232 cpufreq_for_each_entry(pos, table) 233 if (pos->frequency < min_freq) 234 min_freq = pos->frequency; 241 struct cpufreq_frequency_table *pos; local 243 cpufreq_for_each_entry(pos, table) 244 if (pos->frequency > max_freq) 245 max_freq = pos->frequency;
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_tools.h | 126 #define EHCA_BMASK(pos, length) (((pos) << 16) + (length))
|
/drivers/media/dvb-core/ |
H A D | dvb_demux.h | 65 #define DMX_FEED_ENTRY(pos) list_entry(pos, struct dvb_demux_feed, list_head)
|
/drivers/misc/mic/host/ |
H A D | mic_debugfs.c | 99 static int mic_smpt_show(struct seq_file *s, void *pos) argument 141 static int mic_soft_reset_show(struct seq_file *s, void *pos) argument 167 static int mic_post_code_show(struct seq_file *s, void *pos) argument 194 static int mic_dp_show(struct seq_file *s, void *pos) argument 289 struct list_head *pos, *tmp; local 294 list_for_each_safe(pos, tmp, &mdev->vdev_list) { 295 mvdev = list_entry(pos, struct mic_vdev, list); 369 static int mic_msi_irq_info_show(struct seq_file *s, void *pos) argument
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | debugfs.c | 146 loff_t *pos) 153 if (*pos) 167 *pos += ret; 173 size_t count, loff_t *pos) 183 *pos += count; 433 loff_t *pos) 442 if (*pos) 476 *pos += ret; 145 average_read(struct file *filp, char __user *buf, size_t count, loff_t *pos) argument 172 average_write(struct file *filp, const char __user *buf, size_t count, loff_t *pos) argument 432 dbg_read(struct file *filp, char __user *buf, size_t count, loff_t *pos) argument
|
/drivers/net/wireless/hostap/ |
H A D | hostap_pci.c | 186 __le16 *pos; local 189 pos = (__le16 *) buf; 192 *pos++ = HFA384X_INW_DATA(d_off); 195 *((char *) pos) = HFA384X_INB(d_off); 204 __le16 *pos; local 207 pos = (__le16 *) buf; 210 HFA384X_OUTW_DATA(*pos++, d_off); 213 HFA384X_OUTB(*((char *) pos), d_off);
|
/drivers/pci/host/ |
H A D | pcie-designware.c | 165 int i, pos, irq; local 173 pos = 0; 174 while ((pos = find_next_bit(&val, 32, pos)) != 32) { 176 i * 32 + pos); 179 4, 1 << pos); 181 pos++; 211 unsigned int nvec, unsigned int pos) 219 pp->ops->msi_clear_irq(pp, pos + i); 221 dw_pcie_msi_clear_irq(pp, pos 210 clear_irq_range(struct pcie_port *pp, unsigned int irq_base, unsigned int nvec, unsigned int pos) argument 238 assign_irq(int no_irqs, struct msi_desc *desc, int *pos) argument 282 int irq, pos; local [all...] |