/drivers/staging/lustre/lustre/llite/ |
H A D | vvp_dev.c | 283 static void vvp_pgcache_id_unpack(loff_t pos, struct vvp_pgcache_id *id) argument 285 CLASSERT(sizeof(pos) == sizeof(__u64)); 287 id->vpi_index = pos & 0xffffffff; 288 id->vpi_depth = (pos >> PGC_DEPTH_SHIFT) & 0xf; 289 id->vpi_bucket = ((unsigned long long)pos >> PGC_OBJ_SHIFT); 346 struct lu_device *dev, loff_t pos) 353 vvp_pgcache_id_unpack(pos, &id); 431 loff_t pos; local 443 pos = *(loff_t *) v; 444 vvp_pgcache_id_unpack(pos, 345 vvp_pgcache_find(const struct lu_env *env, struct lu_device *dev, loff_t pos) argument 472 vvp_pgcache_start(struct seq_file *f, loff_t *pos) argument 496 vvp_pgcache_next(struct seq_file *f, void *v, loff_t *pos) argument [all...] |
/drivers/usb/renesas_usbhs/ |
H A D | pipe.h | 57 #define __usbhs_for_each_pipe(start, pos, info, i) \ 59 ((i) < (info)->size) && ((pos) = (info)->pipe + (i)); \ 62 #define usbhs_for_each_pipe(pos, priv, i) \ 63 __usbhs_for_each_pipe(1, pos, &((priv)->pipe_info), i) 65 #define usbhs_for_each_pipe_with_dcp(pos, priv, i) \ 66 __usbhs_for_each_pipe(0, pos, &((priv)->pipe_info), i)
|
/drivers/gpu/drm/ |
H A D | drm_context.c | 120 struct drm_ctx_list *pos, *tmp; local 124 list_for_each_entry_safe(pos, tmp, &dev->ctxlist, head) { 125 if (pos->tag == file && 126 pos->handle != DRM_KERNEL_CONTEXT) { 128 dev->driver->context_dtor(dev, pos->handle); 130 drm_legacy_ctxbitmap_free(dev, pos->handle); 131 list_del(&pos->head); 132 kfree(pos); 454 struct drm_ctx_list *pos, *n; local 456 list_for_each_entry_safe(pos, [all...] |
/drivers/pnp/ |
H A D | card.c | 199 struct pnp_id *pos = card->id; local 201 while (pos) { 202 str += sprintf(str, "%s\n", pos->id); 203 pos = pos->next; 235 struct list_head *pos, *temp; local 255 list_for_each(pos, &card->devices) { 256 struct pnp_dev *dev = card_to_pnp_dev(pos); 261 list_for_each_safe(pos, temp, &pnp_card_drivers) { 263 list_entry(pos, struc 276 struct list_head *pos, *temp; local 329 struct list_head *pos; local 415 struct list_head *pos, *temp; local [all...] |
/drivers/media/pci/ivtv/ |
H A D | ivtv-fileops.h | 27 loff_t * pos); 29 loff_t * pos);
|
/drivers/scsi/ |
H A D | sim710.c | 66 char *pos = str, *next; local 69 while(pos != NULL && (next = strchr(pos, ':')) != NULL) { 72 if(!strncmp(pos, "slot:", 5)) 74 else if(!strncmp(pos, "id:", 3)) { 83 if((pos = strchr(pos, ARG_SEP)) != NULL) 84 pos++;
|
/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;
|
/drivers/misc/mic/host/ |
H A D | mic_fops.h | 27 size_t count, loff_t *pos);
|
/drivers/staging/gdm72xx/ |
H A D | usb_boot.c | 111 loff_t pos, u32 img_len, u32 magic_num) 131 memcpy(tx_buf, firm->data + pos, size); 138 pos += size; 149 loff_t pos = 0; local 189 pos = hdr.offset[i]; 190 if (firm->size < sizeof(fw_info) + pos) { 195 memcpy(&fw_info, firm->data + pos, sizeof(fw_info)); 202 pos = hdr.offset[i] + fw_info.kernel_offset; 203 if (firm->size < fw_info.kernel_len + pos) { 208 ret = download_image(usbdev, firm, pos, fw_inf 109 download_image(struct usb_device *usbdev, const struct firmware *firm, loff_t pos, u32 img_len, u32 magic_num) argument 268 loff_t pos = 0; local [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_pcie.c | 196 static void qib_msix_setup(struct qib_devdata *dd, int pos, u32 *msixcnt, argument 248 static int qib_msi_setup(struct qib_devdata *dd, int pos) argument 261 pci_read_config_dword(pdev, pos + PCI_MSI_ADDRESS_LO, 263 pci_read_config_dword(pdev, pos + PCI_MSI_ADDRESS_HI, 265 pci_read_config_word(pdev, pos + PCI_MSI_FLAGS, &control); 267 pci_read_config_word(pdev, pos + ((control & PCI_MSI_FLAGS_64BIT) 277 int pos = 0, ret = 1; local 287 pos = dd->pcidev->msix_cap; 288 if (nent && *nent && pos) { 289 qib_msix_setup(dd, pos, nen 353 int pos; local 422 int pos; local [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 | s3c2416-cpufreq.c | 269 struct cpufreq_frequency_table *pos; local 281 cpufreq_for_each_valid_entry(pos, s3c_freq->freq_table) { 282 dvfs = &s3c2416_dvfs_table[pos->driver_data]; 294 pos->frequency); 295 pos->frequency = CPUFREQ_ENTRY_INVALID; 339 struct cpufreq_frequency_table *pos; local 428 cpufreq_for_each_entry(pos, s3c_freq->freq_table) { 430 if (pos->driver_data == 0) { 433 pos->frequency); 434 pos [all...] |
H A D | pasemi-cpufreq.c | 139 struct cpufreq_frequency_table *pos; local 201 cpufreq_for_each_entry(pos, pas_freqs) { 202 pos->frequency = get_astate_freq(pos->driver_data) * 100000; 203 pr_debug("%d: %d\n", (int)(pos - pas_freqs), pos->frequency);
|
/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/net/wireless/brcm80211/brcmfmac/ |
H A D | firmware.c | 47 * @pos: byte offset in input buffer. 57 u32 pos; member in struct:nvram_parser 80 c = nvp->fwnv->data[nvp->pos]; 88 nvp->entry = nvp->pos; 95 nvp->pos++; 104 c = nvp->fwnv->data[nvp->pos]; 114 nvp->pos++; 126 c = nvp->fwnv->data[nvp->pos]; 129 ekv = (u8 *)&nvp->fwnv->data[nvp->pos]; 139 nvp->pos [all...] |
/drivers/staging/android/ |
H A D | sync_debug.c | 121 struct list_head *pos; local 136 list_for_each(pos, &obj->child_list_head) { 138 container_of(pos, struct sync_pt, child_list); 146 wait_queue_t *pos; local 162 list_for_each_entry(pos, &fence->wq.task_list, task_list) { 165 if (pos->func != &sync_fence_wake_up_wq) 168 waiter = container_of(pos, struct sync_fence_waiter, work); 178 struct list_head *pos; local 183 list_for_each(pos, &sync_timeline_list_head) { 185 container_of(pos, struc [all...] |
/drivers/staging/lustre/lustre/include/ |
H A D | lustre_lite.h | 73 loff_t pos, ssize_t len, 79 params->lrp_policy.l_extent.start = pos; 80 params->lrp_policy.l_extent.end = pos + len - 1; 71 lustre_build_lock_params(int cmd, unsigned long open_flags, __u64 connect_flags, loff_t pos, ssize_t len, struct lustre_rw_params *params) argument
|
/drivers/vfio/pci/ |
H A D | vfio_pci_rdwr.c | 120 loff_t pos = *ppos & VFIO_PCI_OFFSET_MASK; local 132 if (pos >= end) 135 count = min(count, (size_t)(end - pos)); 169 done = do_io_rw(io, buf, pos, count, x_start, x_end, iswrite); 184 loff_t off, pos = *ppos & VFIO_PCI_OFFSET_MASK; local 193 switch (pos) { 195 count = min(count, (size_t)(0xc0000 - pos)); 197 off = pos - 0xa0000; 202 count = min(count, (size_t)(0x3bc - pos)); 204 off = pos [all...] |
/drivers/net/wireless/hostap/ |
H A D | hostap_plx.c | 227 u16 *pos; local 230 pos = (u16 *) buf; 234 pos += len / 2; 237 *((char *) pos) = HFA384X_INB(d_off); 246 u16 *pos; local 249 pos = (u16 *) buf; 253 pos += len / 2; 256 HFA384X_OUTB(*((char *) pos), d_off); 343 int i, pos; local 363 pos [all...] |
/drivers/pci/pcie/aer/ |
H A D | aerdrv_core.c | 62 int pos; local 65 pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR); 66 if (!pos) 69 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_STATUS, &status); 71 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_STATUS, status); 99 int pos; local 133 pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR); 134 if (!pos) 139 pci_read_config_dword(dev, pos + PCI_ERR_COR_STATUS, &status); 140 pci_read_config_dword(dev, pos 524 int pos; local 617 int pos, temp; local [all...] |
/drivers/staging/rtl8712/ |
H A D | ieee80211.c | 294 u8 *pos; local 303 pos = wpa_ie; 304 pos += 8; 308 *group_cipher = r8712_get_wpa_cipher_suite(pos); 309 pos += WPA_SELECTOR_LEN; 315 count = le16_to_cpu(*(u16 *)pos); 316 pos += 2; 321 *pairwise_cipher |= r8712_get_wpa_cipher_suite(pos); 322 pos += WPA_SELECTOR_LEN; 335 u8 *pos; local [all...] |
/drivers/i2c/busses/ |
H A D | i2c-taos-evm.c | 46 unsigned int pos; /* position inside the buffer */ member in struct:taos_data 109 taos->pos = 0; 115 || taos->pos != 5) { 116 dev_err(&adapter->dev, "Transaction timeout (pos=%d)\n", 117 taos->pos); 158 taos->buffer[taos->pos++] = data; 160 || taos->pos == TAOS_BUFFER_SIZE - 1) { 161 taos->buffer[taos->pos] = '\0'; 171 taos->buffer[taos->pos++] = data; 173 taos->buffer[taos->pos] [all...] |
/drivers/infiniband/hw/ipath/ |
H A D | ipath_fs.c | 132 loff_t pos; local 135 pos = *ppos; 137 if ( pos < 0) { 142 if (pos >= sizeof(struct ipath_flash)) { 147 if (count > sizeof(struct ipath_flash) - pos) 148 count = sizeof(struct ipath_flash) - pos; 157 if (ipath_eeprom_read(dd, pos, tmp, count)) { 168 *ppos = pos + count; 183 loff_t pos; local 186 pos [all...] |
/drivers/pci/ |
H A D | probe.c | 167 * @pos: BAR position in the config space 172 struct resource *res, unsigned int pos) 193 pci_read_config_dword(dev, pos, &l); 194 pci_write_config_dword(dev, pos, l | mask); 195 pci_read_config_dword(dev, pos, &sz); 196 pci_write_config_dword(dev, pos, l); 235 pci_read_config_dword(dev, pos + 4, &l); 236 pci_write_config_dword(dev, pos + 4, ~0); 237 pci_read_config_dword(dev, pos + 4, &sz); 238 pci_write_config_dword(dev, pos 171 __pci_read_base(struct pci_dev *dev, enum pci_bar_type type, struct resource *res, unsigned int pos) argument 326 unsigned int pos, reg; local 618 int pos; local 983 int pos; local 1024 int pos; local 1056 int pos = PCI_CFG_SPACE_SIZE; local 1071 int pos; local 1112 int pos = 0; local 1303 int pos; local 1588 int pos; local [all...] |
/drivers/acpi/apei/ |
H A D | erst-dbg.c | 46 int rc, *pos; local 51 pos = (int *)&file->private_data; 53 rc = erst_get_record_id_begin(pos); 97 int rc, *pos; local 107 pos = (int *)&filp->private_data; 110 rc = erst_get_record_id_next(pos, &id);
|