Searched refs:table (Results 1 - 25 of 250) sorted by relevance

12345678910

/drivers/net/ethernet/sfc/
H A Dfilter.c27 * table is full.
51 u32 offset; /* address of table relative to BAR */
62 struct efx_filter_table table[EFX_FILTER_TABLE_COUNT]; member in struct:efx_filter_state
113 return &state->table[efx_filter_spec_table_id(spec)];
116 static void efx_filter_table_reset_search_depth(struct efx_filter_table *table) argument
118 memset(table->search_depth, 0, sizeof(table->search_depth));
124 struct efx_filter_table *table; local
129 table = &state->table[EFX_FILTER_TABLE_RX_I
187 struct efx_filter_table *table; local
418 struct efx_filter_table *table = &state->table[EFX_FILTER_TABLE_RX_DEF]; local
533 efx_filter_search(struct efx_filter_table *table, struct efx_filter_spec *spec, u32 key, bool for_insert, unsigned int *depth_required) argument
662 struct efx_filter_table *table = efx_filter_spec_table(state, spec); local
728 efx_filter_table_clear_entry(struct efx_nic *efx, struct efx_filter_table *table, unsigned int filter_idx) argument
763 struct efx_filter_table *table; local
815 struct efx_filter_table *table; local
854 struct efx_filter_table *table = &state->table[table_id]; local
884 struct efx_filter_table *table; local
912 struct efx_filter_table *table; local
946 struct efx_filter_table *table; local
977 struct efx_filter_table *table; local
1119 struct efx_filter_table *table = &state->table[EFX_FILTER_TABLE_RX_IP]; local
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c230 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, int obj) argument
232 int i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
235 mutex_lock(&table->mutex);
237 if (table->icm[i]) {
238 ++table->icm[i]->refcount;
242 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT,
243 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) |
244 __GFP_NOWARN, table->coherent);
245 if (!table
265 mlx4_table_put(struct mlx4_dev *dev, struct mlx4_icm_table *table, int obj) argument
283 mlx4_table_find(struct mlx4_icm_table *table, int obj, dma_addr_t *dma_handle) argument
328 mlx4_table_get_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, int start, int end) argument
351 mlx4_table_put_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, int start, int end) argument
360 mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, u64 virt, int obj_size, int nobj, int reserved, int use_lowmem, int use_coherent) argument
419 mlx4_cleanup_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table) argument
[all...]
H A Dicm.h74 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, int obj);
75 void mlx4_table_put(struct mlx4_dev *dev, struct mlx4_icm_table *table, int obj);
76 int mlx4_table_get_range(struct mlx4_dev *dev, struct mlx4_icm_table *table,
78 void mlx4_table_put_range(struct mlx4_dev *dev, struct mlx4_icm_table *table,
80 int mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table,
83 void mlx4_cleanup_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table);
84 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, int obj);
85 void mlx4_table_put(struct mlx4_dev *dev, struct mlx4_icm_table *table, int obj);
86 void *mlx4_table_find(struct mlx4_icm_table *table, int obj, dma_addr_t *dma_handle);
87 int mlx4_table_get_range(struct mlx4_dev *dev, struct mlx4_icm_table *table,
[all...]
H A Dport.c52 void mlx4_init_mac_table(struct mlx4_dev *dev, struct mlx4_mac_table *table) argument
56 mutex_init(&table->mutex);
58 table->entries[i] = 0;
59 table->refs[i] = 0;
61 table->max = 1 << dev->caps.log_num_macs;
62 table->total = 0;
65 void mlx4_init_vlan_table(struct mlx4_dev *dev, struct mlx4_vlan_table *table) argument
69 mutex_init(&table->mutex);
71 table->entries[i] = 0;
72 table
115 validate_index(struct mlx4_dev *dev, struct mlx4_mac_table *table, int index) argument
127 find_index(struct mlx4_dev *dev, struct mlx4_mac_table *table, u64 mac) argument
249 struct mlx4_mac_table *table = &info->mac_table; local
320 struct mlx4_mac_table *table = &info->mac_table; local
358 struct mlx4_mac_table *table = &info->mac_table; local
419 struct mlx4_vlan_table *table = &mlx4_priv(dev)->port[port].vlan_table; local
439 struct mlx4_vlan_table *table = &mlx4_priv(dev)->port[port].vlan_table; local
512 struct mlx4_vlan_table *table = &mlx4_priv(dev)->port[port].vlan_table; local
[all...]
/drivers/net/wireless/b43/
H A Dtables_phy_ht.h9 #define B43_HTTAB8(table, offset) (((table) << 10) | (offset) | B43_HTTAB_8BIT)
10 #define B43_HTTAB16(table, offset) (((table) << 10) | (offset) | B43_HTTAB_16BIT)
11 #define B43_HTTAB32(table, offset) (((table) << 10) | (offset) | B43_HTTAB_32BIT)
H A Dtables_phy_lcn.h9 #define B43_LCNTAB8(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_8BIT)
10 #define B43_LCNTAB16(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_16BIT)
11 #define B43_LCNTAB32(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_32BIT)
H A Dtables_lpphy.h9 #define B43_LPTAB8(table, offset) (((table) << 10) | (offset) | B43_LPTAB_8BIT)
10 #define B43_LPTAB16(table, offset) (((table) << 10) | (offset) | B43_LPTAB_16BIT)
11 #define B43_LPTAB32(table, offset) (((table) << 10) | (offset) | B43_LPTAB_32BIT)
14 #define B43_LPTAB_TXPWR_R2PLUS B43_LPTAB32(0x07, 0) /* TX power lookup table (rev >= 2) */
15 #define B43_LPTAB_TXPWR_R0_1 B43_LPTAB32(0xA0, 0) /* TX power lookup table (rev < 2) */
20 /* Bulk table access. Note that these functions return the bulk data in
38 struct lpphy_tx_gain_table_entry *table);
[all...]
/drivers/acpi/acpica/
H A Dtbutils.c3 * Module Name: tbutils - table utilities
70 * AE_INVALID_TABLE_LENGTH - invalid table length
79 struct acpi_table_header *table; local
86 table = acpi_os_map_memory(address, sizeof(struct acpi_table_header));
87 if (!table)
90 length = table->length;
91 acpi_os_unmap_memory(table, sizeof(struct acpi_table_header));
95 table = acpi_os_map_memory(address, length);
96 if (!table)
101 (u32) ((table
309 acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length) argument
459 struct acpi_table_header *table; local
626 struct acpi_table_header *table; local
[all...]
/drivers/media/video/
H A Dks0127.c223 u8 *table = reg_defaults; local
229 table[KS_CMDA] = 0x2c; /* VSE=0, CCIR 601, autodetect standard */
230 table[KS_CMDB] = 0x12; /* VALIGN=0, AGC control and input */
231 table[KS_CMDC] = 0x00; /* Test options */
233 table[KS_CMDD] = 0x01;
234 table[KS_HAVB] = 0x00; /* HAV Start Control */
235 table[KS_HAVE] = 0x00; /* HAV End Control */
236 table[KS_HS1B] = 0x10; /* HS1 Start Control */
237 table[KS_HS1E] = 0x00; /* HS1 End Control */
238 table[KS_HS2
366 u8 *table = reg_defaults; local
[all...]
/drivers/infiniband/hw/amso1100/
H A Dc2_pd.c49 obj = find_next_zero_bit(c2dev->pd_table.table, c2dev->pd_table.max,
52 obj = find_first_zero_bit(c2dev->pd_table.table,
56 __set_bit(obj, c2dev->pd_table.table);
69 __clear_bit(pd->pd_id, c2dev->pd_table.table);
79 c2dev->pd_table.table = kmalloc(BITS_TO_LONGS(c2dev->props.max_pd) *
81 if (!c2dev->pd_table.table)
83 bitmap_zero(c2dev->pd_table.table, c2dev->props.max_pd);
89 kfree(c2dev->pd_table.table);
/drivers/net/wireless/ath/ath9k/
H A Dar9003_rtt.h24 void ar9003_hw_rtt_load_hist(struct ath_hw *ah, u8 chain, u32 *table);
25 void ar9003_hw_rtt_fill_hist(struct ath_hw *ah, u8 chain, u32 *table);
/drivers/gpu/drm/
H A Ddrm_hashtab.c46 ht->table = NULL;
47 if (size <= PAGE_SIZE / sizeof(*ht->table))
48 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL);
50 ht->table = vzalloc(size*sizeof(*ht->table));
51 if (!ht->table) {
52 DRM_ERROR("Out of memory for hash table\n");
69 h_list = &ht->table[hashed_key];
85 h_list = &ht->table[hashed_ke
[all...]
/drivers/cpufreq/
H A Dfreq_table.c22 struct cpufreq_frequency_table *table)
28 for (i = 0; (table[i].frequency != CPUFREQ_TABLE_END); i++) {
29 unsigned int freq = table[i].frequency;
31 pr_debug("table entry %u is invalid, skipping\n", i);
35 pr_debug("table entry %u: %u kHz, %u index\n",
36 i, freq, table[i].index);
55 struct cpufreq_frequency_table *table)
70 for (i = 0; (table[i].frequency != CPUFREQ_TABLE_END); i++) {
71 unsigned int freq = table[i].frequency;
95 struct cpufreq_frequency_table *table,
21 cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy, struct cpufreq_frequency_table *table) argument
54 cpufreq_frequency_table_verify(struct cpufreq_policy *policy, struct cpufreq_frequency_table *table) argument
94 cpufreq_frequency_table_target(struct cpufreq_policy *policy, struct cpufreq_frequency_table *table, unsigned int target_freq, unsigned int relation, unsigned int *index) argument
183 struct cpufreq_frequency_table *table; local
213 cpufreq_frequency_table_get_attr(struct cpufreq_frequency_table *table, unsigned int cpu) argument
[all...]
/drivers/rapidio/switches/
H A Dtsi568.c37 u16 table, u16 route_destid, u8 route_port)
39 if (table == RIO_GLOBAL_TABLE) {
46 SPP_ROUTE_CFG_DESTID(table),
49 SPP_ROUTE_CFG_PORT(table), route_port);
59 u16 table, u16 route_destid, u8 *route_port)
64 if (table == RIO_GLOBAL_TABLE) {
71 SPP_ROUTE_CFG_DESTID(table),
74 SPP_ROUTE_CFG_PORT(table), &result);
86 u16 table)
93 if (table
36 tsi568_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument
58 tsi568_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument
85 tsi568_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table) argument
[all...]
H A Dtsi500.c23 tsi500_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument
29 if (table == 0xff) {
36 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result);
38 rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*table), result | (route_port << (4*(route_destid & 0x7))));
45 tsi500_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument
51 if (table == 0xff)
54 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result);
/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/sh/clk/
H A Dcpg.c69 struct clk_div_mult_table *table = &sh_clk_div6_table; local
72 clk_rate_table_build(clk, clk->freq_table, table->nr_divisors,
73 table, NULL);
82 struct clk_div_mult_table *table = &sh_clk_div6_table; local
106 /* Rebuild the frequency table */
107 clk_rate_table_build(clk, clk->freq_table, table->nr_divisors,
108 table, NULL);
189 pr_err("sh_clk_init_parent: parent table size failed\n");
249 struct clk_div_mult_table *table = d4t->div_mult_table; local
252 clk_rate_table_build(clk, clk->freq_table, table
263 struct clk_div_mult_table *table = d4t->div_mult_table; local
343 sh_clk_div4_register_ops(struct clk *clks, int nr, struct clk_div4_table *table, struct sh_clk_ops *ops) argument
375 sh_clk_div4_register(struct clk *clks, int nr, struct clk_div4_table *table) argument
381 sh_clk_div4_enable_register(struct clk *clks, int nr, struct clk_div4_table *table) argument
388 sh_clk_div4_reparent_register(struct clk *clks, int nr, struct clk_div4_table *table) argument
[all...]
/drivers/net/wireless/rtlwifi/rtl8192ce/
H A DMakefile8 table.o \
/drivers/net/wireless/rtlwifi/rtl8192cu/
H A DMakefile9 table.o \
/drivers/net/wireless/rtlwifi/rtl8192de/
H A DMakefile9 table.o \
/drivers/net/wireless/rtlwifi/rtl8192se/
H A DMakefile9 table.o \
/drivers/usb/gadget/
H A Dusbstring.c24 * @table: of c strings encoded using UTF-8
40 usb_gadget_get_string (struct usb_gadget_strings *table, int id, u8 *buf) argument
49 buf [2] = (u8) table->language;
50 buf [3] = (u8) (table->language >> 8);
53 for (s = table->strings; s && s->s; s++)
/drivers/gpu/ion/
H A Dion_system_heap.c153 struct sg_table *table; local
174 table = kmalloc(sizeof(struct sg_table), GFP_KERNEL);
175 if (!table)
179 ret = sg_alloc_table(table, PAGE_ALIGN(size) / PAGE_SIZE,
182 ret = sg_alloc_table(table, i, GFP_KERNEL);
187 sg = table->sgl;
204 dma_sync_sg_for_device(NULL, table->sgl, table->nents,
207 buffer->priv_virt = table;
210 kfree(table);
225 struct sg_table *table = buffer->priv_virt; local
255 struct sg_table *table = buffer->priv_virt; local
291 struct sg_table *table = buffer->priv_virt; local
420 struct sg_table *table; local
[all...]
/drivers/sfi/
H A Dsfi_acpi.c72 * For example, the "MCFG" table is defined by PCI, reserved by ACPI,
124 /* Only call the get_table to keep the table mapped */
144 static void sfi_acpi_put_table(struct acpi_table_header *table) argument
146 sfi_put_table(acpi_to_sfi_th(table));
152 * Find specified table in XSDT, run handler on it and return its return value
157 struct acpi_table_header *table = NULL; local
168 table = sfi_acpi_get_table(&key);
169 if (!table)
172 ret = handler(table);
173 sfi_acpi_put_table(table);
[all...]
/drivers/watchdog/
H A Dmax63xx_wdt.c93 max63xx_select_timeout(struct max63xx_timeout *table, int value) argument
95 while (table->twd) {
96 if (value <= table->twd) {
97 if (nodelay && table->tdelay == 0)
98 return table;
101 return table;
104 table++;
180 struct max63xx_timeout *table; local
182 table = (struct max63xx_timeout *)pdev->id_entry->driver_data;
188 current_timeout = max63xx_select_timeout(table, heartbea
[all...]

Completed in 600 milliseconds

12345678910