Searched defs:table (Results 1 - 25 of 231) sorted by relevance

12345678910

/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/cpufreq/
H A Dcpufreq_opp.c24 * dev_pm_opp_init_cpufreq_table() - create a cpufreq table for a device
26 * @table: Cpufreq table returned back to caller
28 * Generate a cpufreq table for a provided device- this assumes that the
31 * This function allocates required memory for the cpufreq table. It is
33 * the table as required.
36 * if no memory available for the operation (table is not populated), returns 0
37 * if successful and table is populated.
40 * the table if any of the mentioned functions have been invoked in the interim.
48 struct cpufreq_frequency_table **table)
47 dev_pm_opp_init_cpufreq_table(struct device *dev, struct cpufreq_frequency_table **table) argument
101 dev_pm_opp_free_cpufreq_table(struct device *dev, struct cpufreq_frequency_table **table) argument
[all...]
/drivers/acpi/acpica/
H A Ddsinit.c92 * We are only interested in NS nodes owned by the table that
179 * PARAMETERS: table_desc - Descriptor for parent ACPI table
195 struct acpi_table_header *table; local
235 status = acpi_get_table_by_index(table_index, &table);
243 table->signature, owner_id, info.object_count,
H A Dnsparse.c59 * table_desc - The table to be parsed.
63 * DESCRIPTION: Perform one complete parse of an ACPI/AML table.
76 struct acpi_table_header *table; local
101 status = acpi_get_table_by_index(table_index, &table);
110 if (table->length < sizeof(struct acpi_table_header)) {
113 aml_start = (u8 *) table + sizeof(struct acpi_table_header);
114 aml_length = table->length - sizeof(struct acpi_table_header);
125 /* start_node is the default location to load the table */
152 * PARAMETERS: table_desc - An ACPI table descriptor for table t
[all...]
H A Dtbprint.c89 * header - Input ACPI table header
93 * DESCRIPTION: Copy the table header and ensure that all "string" fields in
120 * DESCRIPTION: Print an ACPI table header. Special cases for FACS and RSDP.
163 /* Standard ACPI table with full common header */
183 * PARAMETERS: table - ACPI table to verify
184 * length - Length of entire table
188 * DESCRIPTION: Verifies that the table checksums to zero. Optionally returns
193 acpi_status acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length) argument
202 if (ACPI_COMPARE_NAME(table
[all...]
H A Dutfileio.c59 acpi_ut_check_text_mode_corruption(u8 *table,
64 struct acpi_table_header **table, u32 *table_length);
70 * PARAMETERS: table - Table buffer
71 * table_length - Length of table from the table header
72 * file_length - Length of the file that contains the table
76 * DESCRIPTION: Check table for text mode file corruption where all linefeed
83 acpi_ut_check_text_mode_corruption(u8 *table, u32 table_length, u32 file_length) argument
90 "File length (0x%X) is not the same as the table length (0x%X)",
94 /* Scan entire table t
145 acpi_ut_read_table(FILE * fp, struct acpi_table_header **table, u32 *table_length) argument
295 acpi_ut_read_table_from_file(char *filename, struct acpi_table_header ** table) argument
[all...]
H A Dexconfig.c70 * PARAMETERS: table - Pointer to raw table
71 * parent_node - Where to load the table (scope)
72 * ddb_handle - Where to return the table handle.
76 * DESCRIPTION: Common function to Install and Load an ACPI table with a
77 * returned table handle.
92 /* Create an object to be the table handle */
99 /* Init the table handle */
105 /* Install the new table into the local data structures */
109 /* Add the table t
160 struct acpi_table_header *table; local
347 struct acpi_table_header *table; local
569 struct acpi_table_header *table; local
[all...]
H A Dtbinstal.c3 * Module Name: tbinstal - ACPI table installation and removal
60 * table_index - Index of table 2 to be compared
64 * DESCRIPTION: This function compares a table with another table that has
65 * already been installed in the root table list.
74 struct acpi_table_header *table; local
80 &table, &table_length, &table_flags);
86 * Check for a table match on the entire table length,
90 ACPI_MEMCMP(table_desc->pointer, table,
395 struct acpi_table_header *table; local
473 acpi_tb_store_table(acpi_physical_address address, struct acpi_table_header * table, u32 length, u8 flags, u32 *table_index) argument
[all...]
H A Dtbutils.c154 * PARAMETERS: table_desc - Installed table to copy
198 * PARAMETERS: table_entry - Pointer to the RSDT/XSDT table entry
201 * RETURN: Physical address extracted from the root table
203 * DESCRIPTION: Get one root table entry. Handles 32-bit and 64-bit cases on
217 * Get the table physical address (32-bit for RSDT, 64-bit for XSDT):
222 * 32-bit platform, RSDT: Return 32-bit table entry
273 struct acpi_table_header *table; local
305 /* Root table is an RSDT (32-bit physical addresses) */
317 /* Map the RSDT/XSDT table header to get the full table lengt
[all...]
/drivers/acpi/
H A Dcustom_method.c29 struct acpi_table_header table; local
33 /* parse the table header to get the table length */
36 if (copy_from_user(&table, user_buf,
39 uncopied_bytes = max_size = table.length;
H A Dblacklist.c48 char *table; member in struct:acpi_blacklist_item
84 if (acpi_get_table_header(acpi_blacklist[i].table, 0, &table_header)) {
181 * We add MSI GX723's dmi information to this table for workaround
183 * Will remove MSI GX723 from the table after nouveau grows support.
/drivers/gpu/drm/qxl/
H A Dqxl_prime.c50 struct sg_table *table)
48 qxl_gem_prime_import_sg_table( struct drm_device *dev, struct dma_buf_attachment *attach, struct sg_table *table) argument
/drivers/mmc/core/
H A Dquirks.c72 void mmc_fixup_device(struct mmc_card *card, const struct mmc_fixup *table) argument
78 if (!table)
79 table = mmc_fixup_methods;
81 for (f = table; f->vendor_fixup; f++) {
/drivers/net/wireless/b43/
H A Dradio_2059.c334 u16 *table = NULL; local
339 table = r2059_phy_rev1_init[0];
347 for (i = 0; i < size; i++, table += 2)
348 b43_radio_write(dev, R2059_ALL | table[0], table[1]);
H A Dradio_2057.c540 u16 *table = NULL; local
545 table = r2057_rev4_init[0];
550 table = r2057_rev5_init[0];
553 table = r2057_rev7_init[0];
559 table = r2057_rev5a_init[0];
565 table = r2057_rev9_init[0];
571 table = r2057_rev14_init[0];
577 B43_WARN_ON(!table);
579 if (table) {
580 for (i = 0; i < size; i++, table
[all...]
/drivers/clk/
H A Dclk-mux.c48 if (mux->table) {
52 if (mux->table[i] == val)
75 if (mux->table)
76 index = mux->table[index];
119 u8 clk_mux_flags, u32 *table, spinlock_t *lock)
156 mux->table = table;
116 clk_register_mux_table(struct device *dev, const char *name, const char **parent_names, u8 num_parents, unsigned long flags, void __iomem *reg, u8 shift, u32 mask, u8 clk_mux_flags, u32 *table, spinlock_t *lock) argument
/drivers/clk/hisilicon/
H A Dclk.h65 u32 *table; member in struct:hisi_mux_clock
78 struct clk_div_table *table; member in struct:hisi_divider_clock
/drivers/clk/sunxi/
H A Dclk-factors.h27 struct clk_factors_config *table; member in struct:factors_data
/drivers/clk/ti/
H A Dmux.c46 if (mux->table) {
50 if (mux->table[i] == val)
73 if (mux->table) {
74 index = mux->table[index];
111 u32 *table, spinlock_t *lock)
136 mux->table = table;
107 _register_mux(struct device *dev, const char *name, const char **parent_names, u8 num_parents, unsigned long flags, void __iomem *reg, u8 shift, u32 mask, u8 clk_mux_flags, u32 *table, spinlock_t *lock) argument
/drivers/gpu/drm/nouveau/core/subdev/fb/
H A Dbase.c38 u16 table = nv_ro16(bios, M.offset + 3); local
39 u8 version = nv_ro08(bios, table + 0);
40 u8 header = nv_ro08(bios, table + 1);
41 u8 record = nv_ro08(bios, table + 2);
42 u8 entries = nv_ro08(bios, table + 3);
43 if (table && version == 0x10 && ramcfg < entries) {
44 u16 entry = table + header + (ramcfg * record);
/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcq.c45 struct mlx5_cq_table *table = &dev->priv.cq_table; local
47 spin_lock(&table->lock);
48 cq = radix_tree_lookup(&table->tree, cqn);
51 spin_unlock(&table->lock);
68 struct mlx5_cq_table *table = &dev->priv.cq_table; local
71 spin_lock(&table->lock);
73 cq = radix_tree_lookup(&table->tree, cqn);
77 spin_unlock(&table->lock);
95 struct mlx5_cq_table *table = &dev->priv.cq_table; local
115 spin_lock_irq(&table
140 struct mlx5_cq_table *table = &dev->priv.cq_table; local
224 struct mlx5_cq_table *table = &dev->priv.cq_table; local
[all...]
H A Dmr.c41 struct mlx5_mr_table *table = &dev->priv.mr_table; local
43 rwlock_init(&table->lock);
44 INIT_RADIX_TREE(&table->tree, GFP_ATOMIC);
56 struct mlx5_mr_table *table = &dev->priv.mr_table; local
94 write_lock_irq(&table->lock);
95 err = radix_tree_insert(&table->tree, mlx5_base_mkey(mr->key), mr);
96 write_unlock_irq(&table->lock);
109 struct mlx5_mr_table *table = &dev->priv.mr_table; local
119 write_lock_irqsave(&table->lock, flags);
120 deleted_mr = radix_tree_delete(&table
[all...]
H A Dsrq.c43 struct mlx5_srq_table *table = &dev->priv.srq_table; local
46 spin_lock(&table->lock);
48 srq = radix_tree_lookup(&table->tree, srqn);
52 spin_unlock(&table->lock);
67 struct mlx5_srq_table *table = &dev->priv.srq_table; local
70 spin_lock(&table->lock);
72 srq = radix_tree_lookup(&table->tree, srqn);
76 spin_unlock(&table->lock);
86 struct mlx5_srq_table *table = &dev->priv.srq_table; local
105 spin_lock_irq(&table
129 struct mlx5_srq_table *table = &dev->priv.srq_table; local
214 struct mlx5_srq_table *table = &dev->priv.srq_table; local
[all...]
/drivers/rapidio/switches/
H A Didtcps.c26 u16 table, u16 route_destid, u8 route_port)
33 if (table == RIO_GLOBAL_TABLE) {
50 u16 table, u16 route_destid, u8 *route_port)
54 if (table == RIO_GLOBAL_TABLE) {
73 u16 table)
77 if (table == RIO_GLOBAL_TABLE) {
25 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument
49 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument
72 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table) argument
/drivers/scsi/
H A Dnsp32_debug.c65 const char **table = commands[ group(opcode) ]; local
67 switch ((unsigned long) table) {
78 if (table[opcode & 0x1f] != unknown)
79 printk("%s[%02x] ", table[opcode & 0x1f], opcode);

Completed in 2077 milliseconds

12345678910