/drivers/acpi/acpica/ |
H A D | nsparse.c | 59 * 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 D | exconfig.c | 69 * PARAMETERS: Table - Pointer to raw table 70 * parent_node - Where to load the table (scope) 71 * ddb_handle - Where to return the table handle. 75 * DESCRIPTION: Common function to Install and Load an ACPI table with a 76 * returned table handle. 91 /* Create an object to be the table handle */ 98 /* Init the table handle */ 104 /* Install the new table into the local data structures */ 108 /* Add the table to the namespace */ 117 /* Execute any module-level code that was found in the table */ 156 struct acpi_table_header *table; local 342 struct acpi_table_header *table; local 569 struct acpi_table_header *table; local [all...] |
H A D | actables.h | 3 * Name: actables.h - ACPI table management 54 void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length); 57 * tbfind - find ACPI table 80 struct acpi_table_header *table, 100 * tbutils - table manager utilities 113 acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length);
|
H A D | dsinit.c | 92 * We are only interested in NS nodes owned by the table that 144 * PARAMETERS: table_desc - Descriptor for parent ACPI table 160 struct acpi_table_header *table; local 201 status = acpi_get_table_by_index(table_index, &table); 208 table->signature, owner_id, info.object_count,
|
H A D | tbfadt.c | 3 * Module Name: tbfadt - FADT table utilities 220 struct acpi_table_header *table; local 231 table = 234 if (!table) { 239 * Validate the FADT checksum before we copy the table. Ignore 242 (void)acpi_tb_verify_checksum(table, length); 246 acpi_tb_create_local_fadt(table, length); 250 acpi_os_unmap_memory(table, length); 271 * Length - Length of the table 282 void acpi_tb_create_local_fadt(struct acpi_table_header *table, u3 argument [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-trans-pcie-rx.c | 596 struct iwl_error_event_table table; local 618 iwl_read_targ_mem_words(trans, base, &table, sizeof(table)); 620 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { 623 trans->shrd->status, table.valid); 626 trans_pcie->isr_stats.err_code = table.error_id; 628 trace_iwlwifi_dev_ucode_error(trans->dev, table.error_id, table.tsf_low, 629 table.data1, table [all...] |
/drivers/mmc/core/ |
H A D | quirks.c | 64 void mmc_fixup_device(struct mmc_card *card, const struct mmc_fixup *table) argument 70 if (!table) 71 table = mmc_fixup_methods; 73 for (f = table; f->vendor_fixup; f++) {
|
/drivers/sfi/ |
H A D | sfi_core.h | 79 extern void sfi_put_table(struct sfi_table_header *table);
|
H A D | sfi_core.c | 77 #define TABLE_ON_PAGE(page, table, size) (ON_SAME_PAGE(page, table) && \ 78 ON_SAME_PAGE(page, table + size)) 131 * Sanity check table lengh, calculate checksum 133 static int sfi_verify_table(struct sfi_table_header *table) argument 137 u8 *puchar = (u8 *)table; 138 u32 length = table->len; 140 /* Sanity check table length against arbitrary 1MB limit */ 142 pr_err("Invalid table length 0x%x\n", length); 151 table 283 struct sfi_table_header *table = NULL; local [all...] |
/drivers/staging/zram/ |
H A D | zram_drv.h | 32 * It stores back-reference to table entry which points to this 69 /* Flags for zram pages (table[page_no].flags) */ 83 struct table { struct 108 struct table *table; member in struct:zram 110 struct rw_semaphore lock; /* protect compression buffers and table
|
/drivers/rapidio/switches/ |
H A D | idt_gen2.c | 89 u16 table, u16 route_destid, u8 route_port) 92 * Select routing table to update 94 if (table == RIO_GLOBAL_TABLE) 95 table = 0; 97 table++; 103 LOCAL_RTE_CONF_DESTID_SEL, table); 122 u16 table, u16 route_destid, u8 *route_port) 127 * Select routing table to read 129 if (table == RIO_GLOBAL_TABLE) 130 table 88 idtg2_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument 121 idtg2_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument 153 idtg2_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table) argument [all...] |
H A D | tsi57x.c | 46 u16 table, u16 route_destid, u8 route_port) 48 if (table == RIO_GLOBAL_TABLE) { 55 SPP_ROUTE_CFG_DESTID(table), route_destid); 57 SPP_ROUTE_CFG_PORT(table), route_port); 67 u16 table, u16 route_destid, u8 *route_port) 72 if (table == RIO_GLOBAL_TABLE) { 77 table = (result & RIO_SWP_INFO_PORT_NUM_MASK); 81 SPP_ROUTE_CFG_DESTID(table), route_destid); 83 SPP_ROUTE_CFG_PORT(table), &result); 94 u16 table) 45 tsi57x_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument 66 tsi57x_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument 93 tsi57x_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table) argument [all...] |
H A D | idtcps.c | 25 u16 table, u16 route_destid, u8 route_port) 32 if (table == RIO_GLOBAL_TABLE) { 49 u16 table, u16 route_destid, u8 *route_port) 53 if (table == RIO_GLOBAL_TABLE) { 72 u16 table) 76 if (table == RIO_GLOBAL_TABLE) { 24 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument 48 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument 71 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table) argument
|
/drivers/gpu/ion/ |
H A D | ion_carveout_heap.c | 90 struct sg_table *table; local 93 table = kzalloc(sizeof(struct sg_table), GFP_KERNEL); 94 if (!table) 96 ret = sg_alloc_table(table, 1, GFP_KERNEL); 98 kfree(table); 101 sg_set_page(table->sgl, phys_to_page(buffer->priv_phys), buffer->size, 103 return table;
|
/drivers/md/ |
H A D | dm-ioctl.c | 247 struct dm_table *table; local 256 table = dm_get_live_table(hc->md); 257 if (table) { 258 dm_table_event(table); 259 dm_table_put(table); 356 struct dm_table *table; local 421 table = dm_get_live_table(hc->md); 422 if (table) { 423 dm_table_event(table); 424 dm_table_put(table); 626 struct dm_table *table = NULL; local 659 struct dm_table *table; local 1049 retrieve_status(struct dm_table *table, struct dm_ioctl *param, size_t param_size) argument 1120 struct dm_table *table; local 1175 populate_table(struct dm_table *table, struct dm_ioctl *param, size_t param_size) argument 1325 retrieve_deps(struct dm_table *table, struct dm_ioctl *param, size_t param_size) argument 1365 struct dm_table *table; local 1391 struct dm_table *table; local 1418 struct dm_table *table; local [all...] |
/drivers/acpi/ |
H A D | tables.c | 270 * acpi_table_parse - find table with @id, run @handler on it 272 * @id: table id to find 275 * Scan the ACPI System Descriptor Table (STD) for a table matching @id, 276 * run @handler on it. Return 0 if table found, return on if not. 280 struct acpi_table_header *table = NULL; local 290 acpi_get_table_with_size(id, acpi_apic_instance, &table, &tbl_size); 292 acpi_get_table_with_size(id, 0, &table, &tbl_size); 294 if (table) { 295 handler(table); 296 early_acpi_os_unmap_memory(table, tbl_siz 309 struct acpi_table_header *table = NULL; local [all...] |
H A D | custom_method.c | 29 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;
|
/drivers/cpufreq/ |
H A D | cpufreq_stats.c | 193 struct cpufreq_frequency_table *table) 219 for (i = 0; table[i].frequency != CPUFREQ_TABLE_END; i++) { 220 unsigned int freq = table[i].frequency; 243 for (i = 0; table[i].frequency != CPUFREQ_TABLE_END; i++) { 244 unsigned int freq = table[i].frequency; 270 struct cpufreq_frequency_table *table; local 274 table = cpufreq_frequency_get_table(cpu); 275 if (!table) 277 ret = cpufreq_stats_create_table(policy, table); 322 struct cpufreq_frequency_table *table; local 192 cpufreq_stats_create_table(struct cpufreq_policy *policy, struct cpufreq_frequency_table *table) argument [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dp.c | 168 u8 *table; local 172 NV_ERROR(dev, "BIT 'd' table not found\n"); 177 NV_ERROR(dev, "BIT 'd' table version %d unknown\n", d.version); 181 table = ROMPTR(dev, d.data[0]); 182 if (!table) { 183 NV_ERROR(dev, "displayport table pointer invalid\n"); 187 switch (table[0]) { 194 NV_ERROR(dev, "displayport table 0x%02x unknown\n", table[0]); 198 for (i = 0; i < table[ 365 u8 *entry, *table = nouveau_dp_bios_data(dev, dp->dcb, &entry); local 384 u8 *entry, *table = nouveau_dp_bios_data(dev, dp->dcb, &entry); local 400 u8 *entry, *table = nouveau_dp_bios_data(dev, dp->dcb, &entry); local [all...] |
H A D | nouveau_gpio.c | 46 u8 *table = dcb_gpio_table(dev); local 47 if (table) { 48 *version = table[0]; 49 if (*version < 0x30 && ent < table[2]) 50 return table + 3 + (ent * table[1]); 51 else if (ent < table[2]) 52 return table + table[1] + (ent * table[ 79 u8 *table, *entry, version; local [all...] |
/drivers/infiniband/hw/mthca/ |
H A D | mthca_memfree.h | 90 void mthca_free_icm_table(struct mthca_dev *dev, struct mthca_icm_table *table); 91 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj); 92 void mthca_table_put(struct mthca_dev *dev, struct mthca_icm_table *table, int obj); 93 void *mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle); 94 int mthca_table_get_range(struct mthca_dev *dev, struct mthca_icm_table *table, 96 void mthca_table_put_range(struct mthca_dev *dev, struct mthca_icm_table *table,
|
/drivers/rapidio/ |
H A D | rio.h | 33 u8 hopcount, u16 table, u16 route_destid, 36 u8 hopcount, u16 table, u16 route_destid, 39 u8 hopcount, u16 table);
|
/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_rtt.c | 28 * There is an internal table (i.e. the rtt) for each chain (or bank). 29 * Each table contains 6 entries and each entry is corresponding to 103 void ar9003_hw_rtt_load_hist(struct ath_hw *ah, u8 chain, u32 *table) argument 108 ar9003_hw_rtt_load_hist_entry(ah, chain, i, table[i]); 136 void ar9003_hw_rtt_fill_hist(struct ath_hw *ah, u8 chain, u32 *table) argument 141 table[i] = ar9003_hw_rtt_fill_hist_entry(ah, chain, i);
|
/drivers/scsi/pcmcia/ |
H A D | nsp_debug.c | 67 const char **table = commands[ group(opcode) ]; local 69 switch ((unsigned long) table) { 80 if (table[opcode & 0x1f] != unknown) 81 printk("%s[%02x] ", table[opcode & 0x1f], opcode);
|
/drivers/char/agp/ |
H A D | sgi-agp.c | 34 * Values for this table will be extracted and filled in at 136 u64 *table; local 142 table = (u64 *)bridge->gatt_table; 181 if (table[j]) 192 table[j] = 207 u64 *table; local 217 table = (u64 *)bridge->gatt_table; 220 table[i] = 0;
|