/openbmc/u-boot/arch/arm/mach-socfpga/ |
H A D | wrap_pinmux_config_s10.c | 14 unsigned int *table_len) in sysmgr_pinmux_handoff_read() argument 30 *table_len = ARRAY_SIZE(handoff_chunk); in sysmgr_pinmux_handoff_read() 34 void sysmgr_pinmux_table_sel(const u32 **table, unsigned int *table_len) in sysmgr_pinmux_table_sel() argument 37 table_len); in sysmgr_pinmux_table_sel() 40 void sysmgr_pinmux_table_ctrl(const u32 **table, unsigned int *table_len) in sysmgr_pinmux_table_ctrl() argument 43 table_len); in sysmgr_pinmux_table_ctrl() 46 void sysmgr_pinmux_table_fpga(const u32 **table, unsigned int *table_len) in sysmgr_pinmux_table_fpga() argument 49 table_len); in sysmgr_pinmux_table_fpga() 52 void sysmgr_pinmux_table_delay(const u32 **table, unsigned int *table_len) in sysmgr_pinmux_table_delay() argument 55 table_len); in sysmgr_pinmux_table_delay()
|
H A D | wrap_iocsr_config.c | 15 unsigned int *table_len) in iocsr_get_config_table() argument 20 *table_len = CONFIG_HPS_IOCSR_SCANCHAIN0_LENGTH; in iocsr_get_config_table() 24 *table_len = CONFIG_HPS_IOCSR_SCANCHAIN1_LENGTH; in iocsr_get_config_table() 28 *table_len = CONFIG_HPS_IOCSR_SCANCHAIN2_LENGTH; in iocsr_get_config_table() 32 *table_len = CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH; in iocsr_get_config_table()
|
H A D | wrap_pinmux_config.c | 12 void sysmgr_get_pinmux_table(const u8 **table, unsigned int *table_len) in sysmgr_get_pinmux_table() argument 15 *table_len = ARRAY_SIZE(sys_mgr_init_table); in sysmgr_get_pinmux_table()
|
/openbmc/linux/drivers/nvmem/layouts/ |
H A D | onie-tlv.c | 158 static bool onie_tlv_crc_is_valid(struct device *dev, size_t table_len, u8 *table) in onie_tlv_crc_is_valid() argument 164 memcpy(&crc_hdr, table + table_len - ONIE_TLV_CRC_FIELD_SZ, sizeof(crc_hdr)); in onie_tlv_crc_is_valid() 173 memcpy(&crc_be, table + table_len - ONIE_TLV_CRC_SZ, ONIE_TLV_CRC_SZ); in onie_tlv_crc_is_valid() 175 calc_crc = crc32(~0, table, table_len - ONIE_TLV_CRC_SZ) ^ 0xFFFFFFFF; in onie_tlv_crc_is_valid() 189 size_t table_len, data_len, hdr_len; in onie_tlv_parse_table() local 204 table_len = hdr_len + data_len; in onie_tlv_parse_table() 205 if (table_len > ONIE_TLV_MAX_LEN) { in onie_tlv_parse_table() 210 table = devm_kmalloc(dev, table_len, GFP_KERNEL); in onie_tlv_parse_table() 214 ret = nvmem_device_read(nvmem, 0, table_len, table); in onie_tlv_parse_table() 215 if (ret != table_len) in onie_tlv_parse_table() [all …]
|
/openbmc/u-boot/arch/arm/mach-socfpga/include/mach/ |
H A D | system_manager_s10.h | 13 void sysmgr_pinmux_table_sel(const u32 **table, unsigned int *table_len); 14 void sysmgr_pinmux_table_ctrl(const u32 **table, unsigned int *table_len); 15 void sysmgr_pinmux_table_fpga(const u32 **table, unsigned int *table_len); 16 void sysmgr_pinmux_table_delay(const u32 **table, unsigned int *table_len);
|
H A D | scan_manager.h | 23 unsigned int *table_len);
|
H A D | system_manager_gen5.h | 14 void sysmgr_get_pinmux_table(const u8 **table, unsigned int *table_len);
|
/openbmc/linux/drivers/regulator/ |
H A D | tps6507x-regulator.c | 72 u8 table_len; member 82 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table), 87 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table), 92 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table), 97 .table_len = ARRAY_SIZE(LDO1_VSEL_table), 102 .table_len = ARRAY_SIZE(LDO2_VSEL_table), 412 tps->desc[i].n_voltages = info->table_len; in tps6507x_pmic_probe()
|
H A D | twl-regulator.c | 40 u8 table_len; member 391 vsel &= info->table_len - 1; in twl4030ldo_get_voltage_sel() 460 .table_len = ARRAY_SIZE(label##_VSEL_table), \
|
/openbmc/linux/drivers/power/supply/ |
H A D | power_supply_core.c | 982 int table_len, int temp) in power_supply_temp2resist_simple() argument 986 for (i = 0; i < table_len; i++) in power_supply_temp2resist_simple() 993 else if (i == table_len) in power_supply_temp2resist_simple() 1023 int table_len; in power_supply_vbat2ri() local 1033 table_len = info->vbat2ri_charging_size; in power_supply_vbat2ri() 1036 table_len = info->vbat2ri_discharging_size; in power_supply_vbat2ri() 1043 if (!vbat2ri || (table_len <= 0) || (vbat_uv > vbat2ri[0].vbat_uv)) { in power_supply_vbat2ri() 1051 for (i = 0; i < table_len - 1; i++) in power_supply_vbat2ri() 1056 if ((i == 0) || (i == (table_len - 1))) in power_supply_vbat2ri() 1093 int table_len, int ocv) in power_supply_ocv2cap_simple() argument [all …]
|
H A D | sc27xx_fuel_gauge.c | 115 int table_len; member 333 *cap = power_supply_ocv2cap_simple(data->cap_table, data->table_len, in sc27xx_fgu_get_boot_capacity() 816 } else if (ocv <= data->cap_table[data->table_len - 1].ocv) { in sc27xx_fgu_capacity_calibration() 822 } else if ((ocv > data->cap_table[data->table_len - 1].ocv && cap <= 0) || in sc27xx_fgu_capacity_calibration() 830 data->table_len, ocv); in sc27xx_fgu_capacity_calibration() 851 data->table_len, in sc27xx_fgu_capacity_calibration() 863 data->min_volt = data->cap_table[data->table_len - 1].ocv; in sc27xx_fgu_capacity_calibration() 865 data->table_len, in sc27xx_fgu_capacity_calibration() 1013 table = power_supply_find_ocv2cap_table(info, 20, &data->table_len); in sc27xx_fgu_hw_init() 1018 data->table_len * sizeof(*table), in sc27xx_fgu_hw_init() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | acpi-utils.h | 42 #define ACPI_FOREACH_RSDT_ENTRY(table, table_len, entry_ptr, entry_size) \ argument 44 entry_ptr < table + table_len; \
|
/openbmc/linux/include/linux/ |
H A D | power_supply.h | 807 int table_len, int ocv); 810 int temp, int *table_len); 815 int table_len, int temp);
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | cache.c | 48 int table_len; member 1063 if (!cache || index < 0 || index >= cache->table_len) in ib_get_cached_pkey() 1107 for (i = 0; i < cache->table_len; ++i) in ib_find_cached_pkey() 1151 for (i = 0; i < cache->table_len; ++i) in ib_find_exact_cached_pkey() 1518 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update() 1520 for (i = 0; i < pkey_cache->table_len; ++i) { in ib_cache_update()
|
/openbmc/libpldm/src/dsp/ |
H A D | bios_table.c | 959 size_t table_len; member 975 iter->table_len = length; in pldm_bios_table_iter_create() 1009 if (iter->current_pos > iter->table_len) { in pldm_bios_table_iter_is_end() 1013 if (iter->table_len - iter->current_pos <= pad_and_check_max) { in pldm_bios_table_iter_is_end()
|
/openbmc/u-boot/common/ |
H A D | command.c | 85 cmd_tbl_t *find_cmd_tbl(const char *cmd, cmd_tbl_t *table, int table_len) in find_cmd_tbl() argument 102 for (cmdtp = table; cmdtp != table + table_len; cmdtp++) { in find_cmd_tbl()
|
/openbmc/u-boot/include/ |
H A D | command.h | 65 cmd_tbl_t *find_cmd_tbl (const char *cmd, cmd_tbl_t *table, int table_len);
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | icp_qat_uclo.h | 213 unsigned int table_len; member
|
H A D | qat_uclo.c | 77 if (!str_table->table_len || str_offset > str_table->table_len) in qat_uclo_get_string() 696 memcpy(&str_table->table_len, obj_hdr->file_buff + in qat_uclo_map_str_table() 697 chunk_hdr->offset, sizeof(str_table->table_len)); in qat_uclo_map_str_table()
|
/openbmc/linux/fs/udf/ |
H A D | super.c | 1412 unsigned int table_len; in udf_load_logicalvol() local 1420 table_len = le32_to_cpu(lvd->mapTableLength); in udf_load_logicalvol() 1421 if (table_len > sb->s_blocksize - sizeof(*lvd)) { in udf_load_logicalvol() 1423 "Partition table too long (%u > %lu)\n", table_len, in udf_load_logicalvol() 1438 i < sbi->s_partitions && offset < table_len; in udf_load_logicalvol()
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_main.c | 180 unsigned int table_len = fp->indir_table_nentries; in fun_config_rss() local 181 unsigned int len = FUN_ETH_RSS_MAX_KEY_SIZE + sizeof(u32) * table_len; in fun_config_rss() 205 table_len, 0, in fun_config_rss() 213 for (rc = 0; rc < table_len; rc++) in fun_config_rss()
|
/openbmc/linux/block/ |
H A D | sed-opal.c | 2375 u64 table_len, len; in read_table_data() local 2385 table_len = response_get_u64(&dev->parsed, 4); in read_table_data() 2388 if (read_size > table_len || offset > table_len - read_size) { in read_table_data() 2390 offset + read_size, table_len); in read_table_data()
|
/openbmc/linux/tools/perf/util/ |
H A D | unwind-libunwind-local.c | 459 di.u.rti.table_len = fde_count * sizeof(struct table_entry) in find_proc_info()
|
/openbmc/qemu/hw/acpi/ |
H A D | aml-build.c | 1742 uint32_t table_len = desc->array->len - desc->table_offset; in acpi_table_end() local 1743 uint32_t table_len_le = cpu_to_le32(table_len); in acpi_table_end() 1753 desc->table_offset, table_len, desc->table_offset + checksum_offset); in acpi_table_end()
|
/openbmc/linux/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 1632 u32 idb_len, table_len; in srp_map_data() local 1757 table_len = state.ndesc * sizeof (struct srp_direct_buf); in srp_map_data() 1758 idb_len = sizeof(struct srp_indirect_buf) + table_len; in srp_map_data() 1780 indirect_hdr->table_desc.len = cpu_to_be32(table_len); in srp_map_data() 1788 ib_dma_sync_single_for_device(ibdev, req->indirect_dma_addr, table_len, in srp_map_data()
|