Searched defs:table (Results 76 - 100 of 231) sorted by relevance

12345678910

/drivers/staging/android/ion/
H A Dion_heap.c35 struct sg_table *table = buffer->sg_table; local
48 for_each_sg(table->sgl, sg, table->nents, i) {
74 struct sg_table *table = buffer->sg_table; local
81 for_each_sg(table->sgl, sg, table->nents, i) {
143 struct sg_table *table = buffer->sg_table; local
151 return ion_heap_sglist_zero(table->sgl, table->nents, pgprot);
H A Dion_system_heap.c130 struct sg_table *table; local
155 table = kmalloc(sizeof(struct sg_table), GFP_KERNEL);
156 if (!table)
159 if (sg_alloc_table(table, i, GFP_KERNEL))
162 sg = table->sgl;
169 buffer->priv_virt = table;
173 kfree(table);
185 struct sg_table *table = buffer->sg_table; local
195 for_each_sg(table->sgl, sg, table
319 struct sg_table *table; local
365 struct sg_table *table = buffer->priv_virt; local
380 struct sg_table *table = buffer->priv_virt; local
[all...]
H A Dion_test.c49 struct sg_table *table; local
59 table = dma_buf_map_attachment(attach, dir);
60 if (IS_ERR(table))
61 return PTR_ERR(table);
66 for_each_sg_page(table->sgl, &sg_iter, table->nents, offset_page) {
95 dma_buf_unmap_attachment(attach, table, dir);
/drivers/thermal/
H A Dcpu_cooling.c150 struct cpufreq_frequency_table *pos, *table = local
156 if (!table)
159 cpufreq_for_each_valid_entry(pos, table) {
189 cpufreq_for_each_valid_entry(pos, table) {
/drivers/vhost/
H A Dvhost.h32 poll_table table; member in struct:vhost_poll
/drivers/acpi/
H A Dpci_root.c161 struct pci_osc_bit_struct *table, int size)
168 for (i = 0, entry = table; i < size; i++, entry++)
160 decode_osc_bits(struct acpi_pci_root *root, char *msg, u32 word, struct pci_osc_bit_struct *table, int size) argument
/drivers/amba/
H A Dbus.c27 amba_lookup(const struct amba_id *table, struct amba_device *dev) argument
31 while (table->mask) {
32 ret = (dev->periphid & table->mask) == table->id;
35 table++;
38 return ret ? table : NULL;
/drivers/char/agp/
H A Duninorth-agp.c366 char *table; local
380 table = NULL;
390 table = (char *) __get_free_pages(GFP_KERNEL, page_order);
392 if (table == NULL) {
398 } while (!table && (i < bridge->driver->num_aperture_sizes));
400 if (table == NULL)
407 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1);
409 for (page = virt_to_page(table), i = 0; page <= virt_to_page(table_end);
415 bridge->gatt_table_real = (u32 *) table;
417 flush_dcache_range((unsigned long)table,
446 char *table, *table_end; local
[all...]
/drivers/cpufreq/
H A Darm_big_little.c217 static inline u32 get_table_count(struct cpufreq_frequency_table *table) argument
221 for (count = 0; table[count].frequency != CPUFREQ_TABLE_END; count++)
228 static inline u32 get_table_min(struct cpufreq_frequency_table *table) argument
232 cpufreq_for_each_entry(pos, table)
239 static inline u32 get_table_max(struct cpufreq_frequency_table *table) argument
243 cpufreq_for_each_entry(pos, table)
252 struct cpufreq_frequency_table *table; local
257 table = kzalloc(sizeof(*table) * count, GFP_KERNEL);
258 if (!table)
[all...]
/drivers/firmware/efi/
H A Defi.c272 unsigned long table,
285 *(table_types[i].ptr) = table;
287 table_types[i].name, table);
306 unsigned long table; local
311 table64 = ((efi_config_table_64_t *)tablep)->table;
312 table = table64;
322 table = ((efi_config_table_32_t *)tablep)->table;
325 if (!match_config_table(&guid, table, common_tables))
326 match_config_table(&guid, table, arch_table
271 match_config_table(efi_guid_t *guid, unsigned long table, efi_config_table_type_t *table_types) argument
[all...]
/drivers/gpu/drm/nouveau/dispnv04/
H A Ddisp.h171 nouveau_bios_run_init_table(struct drm_device *dev, u16 table, argument
179 .offset = table,
/drivers/hid/
H A Dhid-debug.c634 static const char *table[] = {"INPUT", "OUTPUT", "FEATURE"}; local
642 seq_printf(f, "%s", table[i]);
645 seq_printf(f, "[%s]", table[report->type]);
/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c222 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) argument
224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE;
227 mutex_lock(&table->mutex);
229 if (table->icm[i]) {
230 ++table->icm[i]->refcount;
234 table->icm[i] = mthca_alloc_icm(dev, MTHCA_TABLE_CHUNK_SIZE >> PAGE_SHIFT,
235 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) |
236 __GFP_NOWARN, table->coherent);
237 if (!table
257 mthca_table_put(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) argument
278 mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle) argument
321 mthca_table_get_range(struct mthca_dev *dev, struct mthca_icm_table *table, int start, int end) argument
344 mthca_table_put_range(struct mthca_dev *dev, struct mthca_icm_table *table, int start, int end) argument
361 struct mthca_icm_table *table; local
424 mthca_free_icm_table(struct mthca_dev *dev, struct mthca_icm_table *table) argument
[all...]
/drivers/isdn/i4l/
H A Disdn_audio.c197 isdn_audio_tlookup(const u_char *table, u_char *buff, unsigned long n) argument
208 : "0"((long) table), "1"(n), "2"((long) buff), "3"((long) buff)
212 *buff = table[*(unsigned char *)buff], buff++;
/drivers/md/
H A Ddm-cache-policy-cleaner.c33 struct hlist_head *table; member in struct:hash
87 hash->table = vzalloc(sizeof(*hash->table) * hash->nr_buckets);
89 return hash->table ? 0 : -ENOMEM;
94 vfree(hash->table);
145 struct hlist_head *bucket = &hash->table[h];
163 hlist_add_head(&e->hlist, &p->chash.table[h]);
/drivers/media/platform/omap3isp/
H A Dispccdc.h61 } table; member in struct:ispccdc_lsc_config_req
/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c210 struct mlx5_eq_table *table = &dev->priv.eq_table; local
220 table->msix_arr = kzalloc(nvec * sizeof(*table->msix_arr), GFP_KERNEL);
221 if (!table->msix_arr)
225 table->msix_arr[i].entry = i;
227 nvec = pci_enable_msix_range(dev->pdev, table->msix_arr,
232 table->num_comp_vectors = nvec - MLX5_EQ_VEC_COMP_BASE;
239 struct mlx5_eq_table *table = &dev->priv.eq_table; local
242 kfree(table->msix_arr);
274 pr_warn("invalid pkey table siz
[all...]
/drivers/net/ethernet/sfc/
H A Dnic.c350 /* We can't reasonably read all of the buffer table (up to 8MB!).
374 const struct efx_nic_reg_table *table; local
384 for (table = efx_nic_reg_tables;
385 table < efx_nic_reg_tables + ARRAY_SIZE(efx_nic_reg_tables);
386 table++)
387 if (efx->type->revision >= table->min_revision &&
388 efx->type->revision <= table->max_revision)
389 len += table->rows * min_t(size_t, table->step, 16);
397 const struct efx_nic_reg_table *table; local
[all...]
/drivers/net/wireless/b43/
H A Dtables_lpphy.c32 /* Entry of the 2062/2063 radio init table */
2408 struct lpphy_tx_gain_table_entry *table)
2413 lpphy_write_gain_table(dev, i, table[i]);
2407 lpphy_write_gain_table_bulk(struct b43_wldev *dev, int offset, int count, struct lpphy_tx_gain_table_entry *table) argument
/drivers/pci/hotplug/
H A Dacpiphp_ibm.c62 * aPCI table
138 char *table; local
140 size = ibm_get_table_from_acpi(&table);
141 des = (union apci_descriptor *)table;
145 des = (union apci_descriptor *)&table[ind += des->header.len];
148 des = (union apci_descriptor *)&table[ind += des->generic.len];
159 kfree(table);
212 * from an ACPI call, we read the aPCI table and parse out our
271 * @bufp: address to pointer to allocate for the table
274 * stores the "stripped" table int
361 char *table = NULL; local
[all...]
/drivers/pwm/
H A Dcore.c573 * @table: array of consumers to register
574 * @num: number of consumers in table
576 void __init pwm_add_table(struct pwm_lookup *table, size_t num) argument
581 list_add_tail(&table->list, &pwm_lookup_list);
582 table++;
594 * a device tree, a PWM chip and a relative index is looked up via a table
614 * We look up the provider in the static table typically provided by
/drivers/regulator/
H A Dtps6507x-regulator.c75 /* The voltage mapping table for LDO2 is the same as VDCDCx */
81 const unsigned int *table; member in struct:tps_info
91 .table = VDCDCx_VSEL_table,
96 .table = VDCDCx_VSEL_table,
101 .table = VDCDCx_VSEL_table,
106 .table = LDO1_VSEL_table,
111 .table = LDO2_VSEL_table,
480 tps->desc[i].volt_table = info->table;
H A Dtps6586x-regulator.c339 struct tps6586x_regulator *table = NULL; local
345 table = tps658623_regulator;
350 table = tps658640_regulator;
354 table = tps658643_regulator;
359 /* Search version specific table first */
360 if (table) {
362 ri = &table[i];
/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-proc.c161 static int proc_dobitmasks(struct ctl_table *table, int write, argument
164 return proc_call_handler(table->data, write, ppos, buffer, lenp,
180 static int proc_dump_kernel(struct ctl_table *table, int write, argument
183 return proc_call_handler(table->data, write, ppos, buffer, lenp,
203 static int proc_daemon_file(struct ctl_table *table, int write, argument
206 return proc_call_handler(table->data, write, ppos, buffer, lenp,
228 static int proc_debug_mb(struct ctl_table *table, int write, argument
231 return proc_call_handler(table->data, write, ppos, buffer, lenp,
235 int proc_console_max_delay_cs(struct ctl_table *table, int write, argument
239 struct ctl_table dummy = *table;
267 proc_console_min_delay_cs(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
299 proc_console_backoff(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
327 libcfs_force_lbug(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
335 proc_fail_loc(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
388 proc_cpt_table(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
[all...]
/drivers/video/console/
H A Dsticon.c82 static int sticon_set_palette(struct vc_data *c, unsigned char *table) argument

Completed in 1719 milliseconds

12345678910