/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/partition_table/ |
D | load_partition_table.c | 57 hi_flash_partition_table* table = HI_NULL; in hi_flash_partition_init() local 59 table = hi_get_partition_table(); in hi_flash_partition_init() 60 …ret = hi_factory_nv_read(HI_NV_FTM_FLASH_PARTIRION_TABLE_ID, table, sizeof(hi_flash_partition_tabl… in hi_flash_partition_init() 62 table->table[HI_FLASH_PARTITON_BOOT].addr = PRODUCT_CFG_DEFAULT_BOOT_ADDR; in hi_flash_partition_init() 63 table->table[HI_FLASH_PARTITON_BOOT].size = PRODUCT_CFG_DEFAULT_BOOT_SIZE; in hi_flash_partition_init() 64 table->table[HI_FLASH_PARTITON_FACTORY_NV].addr = PRODUCT_CFG_DEFAULT_FNV_ADDR; in hi_flash_partition_init() 65 table->table[HI_FLASH_PARTITON_FACTORY_NV].size = PRODUCT_CFG_DEFAULT_FNV_SIZE; in hi_flash_partition_init() 66 table->table[HI_FLASH_PARTITON_NORMAL_NV].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_ADDR; in hi_flash_partition_init() 67 table->table[HI_FLASH_PARTITON_NORMAL_NV].size = PRODUCT_CFG_DEFAULT_NORMAL_NV_SIZE; in hi_flash_partition_init() 68 … table->table[HI_FLASH_PARTITON_NORMAL_NV_BACKUP].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_BACKUP_ADDR; in hi_flash_partition_init() [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/common/partition_table/ |
D | boot_partition_table.c | 55 hi_flash_partition_table* table = hi_get_partition_table(); in hi_flash_partition_init() local 58 …hi_u32 ret = hi_factory_nv_read(HI_NV_FTM_FLASH_PARTIRION_TABLE_ID, table, sizeof(hi_flash_partiti… in hi_flash_partition_init() 63 table->table[HI_FLASH_PARTITON_BOOT].addr = PRODUCT_CFG_DEFAULT_BOOT_ADDR; in hi_flash_partition_init() 64 table->table[HI_FLASH_PARTITON_BOOT].size = PRODUCT_CFG_DEFAULT_BOOT_SIZE; in hi_flash_partition_init() 65 table->table[HI_FLASH_PARTITON_FACTORY_NV].addr = PRODUCT_CFG_DEFAULT_FNV_ADDR; in hi_flash_partition_init() 66 table->table[HI_FLASH_PARTITON_FACTORY_NV].size = PRODUCT_CFG_DEFAULT_FNV_SIZE; in hi_flash_partition_init() 67 table->table[HI_FLASH_PARTITON_NORMAL_NV].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_ADDR; in hi_flash_partition_init() 68 table->table[HI_FLASH_PARTITON_NORMAL_NV].size = PRODUCT_CFG_DEFAULT_NORMAL_NV_SIZE; in hi_flash_partition_init() 69 … table->table[HI_FLASH_PARTITON_NORMAL_NV_BACKUP].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_BACKUP_ADDR; in hi_flash_partition_init() 70 … table->table[HI_FLASH_PARTITON_NORMAL_NV_BACKUP].size = PRODUCT_CFG_DEFAULT_NORMAL_NV_BACKUP_SIZE; in hi_flash_partition_init() [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/partition_table/ |
D | flash_partition_table.c | 62 hi_flash_partition_table* table = hi_get_partition_table(); in hi_flash_partition_init() local 64 …hi_u32 ret = hi_factory_nv_read(HI_NV_FTM_FLASH_PARTIRION_TABLE_ID, table, sizeof(hi_flash_partiti… in hi_flash_partition_init() 69 table->table[HI_FLASH_PARTITON_BOOT].addr = PRODUCT_CFG_DEFAULT_BOOT_ADDR; in hi_flash_partition_init() 70 table->table[HI_FLASH_PARTITON_BOOT].size = PRODUCT_CFG_DEFAULT_BOOT_SIZE; in hi_flash_partition_init() 71 table->table[HI_FLASH_PARTITON_FACTORY_NV].addr = PRODUCT_CFG_DEFAULT_FNV_ADDR; in hi_flash_partition_init() 72 table->table[HI_FLASH_PARTITON_FACTORY_NV].size = PRODUCT_CFG_DEFAULT_FNV_SIZE; in hi_flash_partition_init() 73 table->table[HI_FLASH_PARTITON_NORMAL_NV].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_ADDR; in hi_flash_partition_init() 74 table->table[HI_FLASH_PARTITON_NORMAL_NV].size = PRODUCT_CFG_DEFAULT_NORMAL_NV_SIZE; in hi_flash_partition_init() 75 … table->table[HI_FLASH_PARTITON_NORMAL_NV_BACKUP].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_BACKUP_ADDR; in hi_flash_partition_init() 76 … table->table[HI_FLASH_PARTITON_NORMAL_NV_BACKUP].size = PRODUCT_CFG_DEFAULT_NORMAL_NV_BACKUP_SIZE; in hi_flash_partition_init() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/ |
D | drv_lib.c | 122 struct sys_arch_hardware_info *table = HI_NULL; in module_addr_map_reg() local 131 table = &g_hard_info_table[i]; in module_addr_map_reg() 133 hi_log_info("[%u] %s\n", i, table->name); in module_addr_map_reg() 136 if (table->crg_valid) { in module_addr_map_reg() 137 table->crg_addr_via = crypto_ioremap_nocache(table->crg_addr_phy, CRG_REG_ADDR_SIZE); in module_addr_map_reg() 138 if (table->crg_addr_via == HI_NULL) { in module_addr_map_reg() 144 hi_log_info("crg phy 0x%x, via 0x%pK\n", table->crg_addr_phy, table->crg_addr_via); in module_addr_map_reg() 148 if (table->phy_valid) { in module_addr_map_reg() 149 table->reg_addr_via = crypto_ioremap_nocache(table->reg_addr_phy, table->reg_addr_size); in module_addr_map_reg() 150 if (table->reg_addr_via == HI_NULL) { in module_addr_map_reg() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/ |
D | ump_kernel_descriptor_mapping.c | 30 static void descriptor_table_free(ump_descriptor_table *table); 40 map->table = descriptor_table_alloc(init_entries); in ump_descriptor_mapping_create() 41 if (NULL != map->table) { in ump_descriptor_mapping_create() 44 …_mali_osk_set_nonatomic_bit(0, map->table->usage); /* reserve bit 0 to prevent NULL/zero logic to … in ump_descriptor_mapping_create() 49 descriptor_table_free(map->table); in ump_descriptor_mapping_create() 58 descriptor_table_free(map->table); in ump_descriptor_mapping_destroy() 67 descriptor = _mali_osk_find_first_zero_bit(map->table->usage, map->current_nr_mappings); in ump_descriptor_mapping_allocate_mapping() 72 ump_descriptor_table *old_table = map->table; in ump_descriptor_mapping_allocate_mapping() 88 map->table = new_table; in ump_descriptor_mapping_allocate_mapping() 94 _mali_osk_set_nonatomic_bit(descriptor, map->table->usage); in ump_descriptor_mapping_allocate_mapping() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
D | oal_scatterlist.h | 74 void __sg_free_table(struct sg_table *table, unsigned int max_ents, sg_free_fn *free_fn) in __sg_free_table() argument 79 if (unlikely(table->sgl == NULL)) { in __sg_free_table() 83 sgl = table->sgl; in __sg_free_table() 84 while (table->orig_nents) { in __sg_free_table() 85 unsigned int alloc_size = table->orig_nents; in __sg_free_table() 106 table->orig_nents -= sg_size; in __sg_free_table() 111 table->sgl = NULL; in __sg_free_table() 114 void sg_free_table(struct sg_table *table) in sg_free_table() argument 116 __sg_free_table(table, SG_MAX_SINGLE_ALLOC, sg_kfree); in sg_free_table() 144 int __sg_alloc_table(struct sg_table *table, unsigned int nents, unsigned int max_ents, gfp_t gfp_m… in __sg_alloc_table() argument [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/ |
D | rkisp_tb_helper.c | 34 struct sg_table *table; in shm_map_dma_buf() local 38 table = kmalloc(sizeof(*table), GFP_KERNEL); in shm_map_dma_buf() 39 if (!table) in shm_map_dma_buf() 42 sg_alloc_table(table, data->npages, GFP_KERNEL); in shm_map_dma_buf() 43 sg = table->sgl; in shm_map_dma_buf() 49 dma_map_sg_attrs(attachment->dev, table->sgl, table->nents, dir, DMA_ATTR_SKIP_CPU_SYNC); in shm_map_dma_buf() 51 return table; in shm_map_dma_buf() 55 struct sg_table *table, in shm_unmap_dma_buf() argument 58 dma_unmap_sg(attachment->dev, table->sgl, table->nents, dir); in shm_unmap_dma_buf() 59 sg_free_table(table); in shm_unmap_dma_buf() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/ |
D | system_heap.c | 45 struct sg_table *table; member 65 static struct sg_table *dup_sg_table(struct sg_table *table) in dup_sg_table() argument 76 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL); in dup_sg_table() 83 for_each_sgtable_sg(table, sg, i) in dup_sg_table() 96 struct sg_table *table; in system_heap_attach() local 103 table = dup_sg_table(&buffer->sg_table); in system_heap_attach() 104 if (IS_ERR(table)) { in system_heap_attach() 109 a->table = table; in system_heap_attach() 132 sg_free_table(a->table); in system_heap_detach() 133 kfree(a->table); in system_heap_detach() [all …]
|
D | cma_heap.c | 44 struct sg_table table; member 60 …ret = sg_alloc_table_from_pages(&a->table, buffer->pages, buffer->pagecount, 0, buffer->pagecount … in cma_heap_attach() 89 sg_free_table(&a->table); in cma_heap_detach() 96 struct sg_table *table = &a->table; in cma_heap_map_dma_buf() local 99 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf() 104 return table; in cma_heap_map_dma_buf() 107 static void cma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, struct sg_table *table, in cma_heap_unmap_dma_buf() argument 113 dma_unmap_sgtable(attachment->dev, table, direction, 0); in cma_heap_unmap_dma_buf() 131 dma_sync_sgtable_for_cpu(a->dev, &a->table, direction); in cma_heap_dma_buf_begin_cpu_access() 153 dma_sync_sgtable_for_device(a->dev, &a->table, direction); in cma_heap_dma_buf_end_cpu_access()
|
/device/soc/rockchip/common/sdk_linux/drivers/thermal/ |
D | rockchip_thermal.c | 137 int (*get_temp)(const struct chip_tsadc_table *table, int chn, void __iomem *reg, int *temp); 138 … int (*set_alarm_temp)(const struct chip_tsadc_table *table, int chn, void __iomem *reg, int temp); 139 … int (*set_tshut_temp)(const struct chip_tsadc_table *table, int chn, void __iomem *reg, int temp); 145 struct chip_tsadc_table table; member 401 static u32 rk_tsadcv2_temp_to_code(const struct chip_tsadc_table *table, int temp) in rk_tsadcv2_temp_to_code() argument 406 u32 error = table->data_mask; in rk_tsadcv2_temp_to_code() 408 if (table->kNum) { in rk_tsadcv2_temp_to_code() 409 …return (((temp / ROCKCHIP_THERMAL_ONETHOUSAND) * table->kNum) / ROCKCHIP_THERMAL_ONETHOUSAND + tab… in rk_tsadcv2_temp_to_code() 413 high = (table->length - 1) - 1; /* ignore the last check for table */ in rk_tsadcv2_temp_to_code() 417 if (temp < table->id[low].temp || temp > table->id[high].temp) { in rk_tsadcv2_temp_to_code() [all …]
|
/device/soc/rockchip/common/sdk_linux/kernel/power/ |
D | energy_model.c | 84 em_debug_create_ps(&dev->em_pd->table[i], d); in em_debug_create_pd() 117 struct em_perf_state *table; in em_create_perf_table() local 121 table = kcalloc(nr_states, sizeof(*table), GFP_KERNEL); in em_create_perf_table() 122 if (!table) { in em_create_perf_table() 157 table[i].power = power; in em_create_perf_table() 158 table[i].frequency = prev_freq = freq; in em_create_perf_table() 162 fmax = (u64)table[nr_states - 1].frequency; in em_create_perf_table() 164 unsigned long power_res = em_scale_power(table[i].power); in em_create_perf_table() 166 table[i].cost = div64_u64(fmax * power_res, table[i].frequency); in em_create_perf_table() 167 if (table[i].cost >= prev_cost) { in em_create_perf_table() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
D | mali_osk_bitmap.c | 33 obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->reserve); in _mali_osk_bitmap_alloc() 36 set_bit(obj, bitmap->table); in _mali_osk_bitmap_alloc() 70 obj = bitmap_find_next_zero_area(bitmap->table, bitmap->max, in _mali_osk_bitmap_alloc_range() 74 obj = bitmap_find_next_zero_area(bitmap->table, bitmap->max, in _mali_osk_bitmap_alloc_range() 79 bitmap_set(bitmap->table, obj, cnt); in _mali_osk_bitmap_alloc_range() 110 bitmap_clear(bitmap->table, obj, cnt); in _mali_osk_bitmap_free_range() 130 bitmap->table = kzalloc(BITS_TO_LONGS(bitmap->max) * in _mali_osk_bitmap_init() 132 if (!bitmap->table) { in _mali_osk_bitmap_init() 148 if (NULL != bitmap->table) { in _mali_osk_bitmap_term() 149 kfree(bitmap->table); in _mali_osk_bitmap_term()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
D | mali_osk_bitmap.c | 37 obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->reserve); in _mali_osk_bitmap_alloc() 39 set_bit(obj, bitmap->table); in _mali_osk_bitmap_alloc() 74 obj = bitmap_find_next_zero_area(bitmap->table, bitmap->max, bitmap->last, cnt, 0); in _mali_osk_bitmap_alloc_range() 76 obj = bitmap_find_next_zero_area(bitmap->table, bitmap->max, bitmap->reserve, cnt, 0); in _mali_osk_bitmap_alloc_range() 80 bitmap_set(bitmap->table, obj, cnt); in _mali_osk_bitmap_alloc_range() 111 bitmap_clear(bitmap->table, obj, cnt); in _mali_osk_bitmap_free_range() 131 bitmap->table = kzalloc(BITS_TO_LONGS(bitmap->max) * sizeof(long), GFP_KERNEL); in _mali_osk_bitmap_init() 132 if (!bitmap->table) { in _mali_osk_bitmap_init() 148 if (bitmap->table != NULL) { in _mali_osk_bitmap_term() 149 kfree(bitmap->table); in _mali_osk_bitmap_term()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/clk/ |
D | ccu_sdm.c | 37 if (sdm->table[i].rate == rate) in ccu_sdm_helper_enable() 38 writel(sdm->table[i].pattern, in ccu_sdm_helper_enable() 100 if (sdm->table[i].rate == rate) in ccu_sdm_helper_has_rate() 128 if (sdm->table[i].pattern == reg && in ccu_sdm_helper_read_rate() 129 sdm->table[i].m == m && sdm->table[i].n == n) in ccu_sdm_helper_read_rate() 130 return sdm->table[i].rate; in ccu_sdm_helper_read_rate() 147 if (sdm->table[i].rate == rate) { in ccu_sdm_helper_get_factors() 148 *m = sdm->table[i].m; in ccu_sdm_helper_get_factors() 149 *n = sdm->table[i].n; in ccu_sdm_helper_get_factors()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/utils/ |
D | get_bits.h | 461 #define GET_VLC(code, name, gb, table, bits, max_depth) \ argument 467 code = table[index][0]; \ 468 n = table[index][1]; \ 477 code = table[index][0]; \ 478 n = table[index][1]; \ 486 code = table[index][0]; \ 487 n = table[index][1]; \ 493 #define GET_RL_VLC(level, run, name, gb, table, bits, \ argument 500 level = table[index].level; \ 501 n = table[index].len; \ [all …]
|
/device/soc/rockchip/rk3588/hardware/codec/jpeg/src/ |
D | codec_jpeg_helper.cpp | 221 const std::vector<CodecJpegHuffTable> &table, int8_t *buffer, int32_t curPos, bool dc) in JpegDhtAssemble() argument 223 CODEC_LOGI("enter. curPos = %{public}d, table.size() = %{public}zu", curPos, table.size()); in JpegDhtAssemble() 233 for (size_t i = 0; i < table.size(); i++) { in JpegDhtAssemble() 234 if (!table[i].tableFlag) { in JpegDhtAssemble() 248 …auto ret = memcpy_s(buffer + curPos, table[i].bits.size(), table[i].bits.data(), table[i].bits.siz… in JpegDhtAssemble() 255 curPos += table[i].bits.size(); in JpegDhtAssemble() 257 …ret = memcpy_s(buffer + curPos, table[i].huffVal.size(), table[i].huffVal.data(), table[i].huffVal… in JpegDhtAssemble() 262 curPos += table[i].huffVal.size(); in JpegDhtAssemble() 517 CodecJpegQuantTable table; in DessambleDqt() local 518 table.tableFlag = true; in DessambleDqt() [all …]
|
/device/soc/rockchip/rk3568/hardware/codec/jpeg/src/ |
D | codec_jpeg_helper.cpp | 221 const std::vector<CodecJpegHuffTable> &table, int8_t *buffer, int32_t curPos, bool dc) in JpegDhtAssemble() argument 223 CODEC_LOGI("enter. curPos = %{public}d, table.size() = %{public}zu", curPos, table.size()); in JpegDhtAssemble() 233 for (size_t i = 0; i < table.size(); i++) { in JpegDhtAssemble() 234 if (!table[i].tableFlag) { in JpegDhtAssemble() 248 …auto ret = memcpy_s(buffer + curPos, table[i].bits.size(), table[i].bits.data(), table[i].bits.siz… in JpegDhtAssemble() 255 curPos += table[i].bits.size(); in JpegDhtAssemble() 257 …ret = memcpy_s(buffer + curPos, table[i].huffVal.size(), table[i].huffVal.data(), table[i].huffVal… in JpegDhtAssemble() 262 curPos += table[i].huffVal.size(); in JpegDhtAssemble() 517 CodecJpegQuantTable table; in DessambleDqt() local 518 table.tableFlag = true; in DessambleDqt() [all …]
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/cmsis/inc/ |
D | mpu_armv8.h | 304 __STATIC_INLINE void ARM_MPU_LoadEx(MPU_Type* mpu, uint32_t rnr, ARM_MPU_Region_t const* table, uin… in ARM_MPU_LoadEx() argument 309 ARM_MPU_OrderedMemcpy(&(mpu->RBAR), &(table->RBAR), rowWordSize); in ARM_MPU_LoadEx() 317 ARM_MPU_OrderedMemcpy(&(mpu->RBAR)+(rnrOffset*2U), &(table->RBAR), c*rowWordSize); in ARM_MPU_LoadEx() 318 table += c; in ARM_MPU_LoadEx() 325 ARM_MPU_OrderedMemcpy(&(mpu->RBAR)+(rnrOffset*2U), &(table->RBAR), cnt*rowWordSize); in ARM_MPU_LoadEx() 334 __STATIC_INLINE void ARM_MPU_Load(uint32_t rnr, ARM_MPU_Region_t const* table, uint32_t cnt) in ARM_MPU_Load() argument 336 ARM_MPU_LoadEx(MPU, rnr, table, cnt); in ARM_MPU_Load() 345 __STATIC_INLINE void ARM_MPU_Load_NS(uint32_t rnr, ARM_MPU_Region_t const* table, uint32_t cnt) in ARM_MPU_Load_NS() argument 347 ARM_MPU_LoadEx(MPU_NS, rnr, table, cnt); in ARM_MPU_Load_NS()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/actuator/ |
D | ov8825_act.c | 88 unsigned short *table; in subdev_init_table() local 95 table = (unsigned short *)kmalloc(table_size, GFP_KERNEL); in subdev_init_table() 98 table[2 * i] = table[2 * i + 1] = in subdev_init_table() 109 table = in subdev_init_table() 114 table[2 * i] = ext_tbl[2 * i]; in subdev_init_table() 115 table[2 * i + 1] = ext_tbl[2 * i + 1]; in subdev_init_table() 120 act_ctrl->step_position_table = table; in subdev_init_table() 122 act_dbg("TBL[%d]=%d [%d]=%d ", i + 0, table[2 * i + 0], i + 1, in subdev_init_table() 123 table[2 * i + 1]); in subdev_init_table()
|
D | ad5820_act.c | 211 unsigned short *table; in subdev_init_table() local 218 table = (unsigned short *)kmalloc(table_size, GFP_KERNEL); in subdev_init_table() 221 table[2 * i] = table[2 * i + 1] = in subdev_init_table() 232 table = in subdev_init_table() 237 table[2 * i] = ext_tbl[2 * i]; in subdev_init_table() 238 table[2 * i + 1] = ext_tbl[2 * i + 1]; in subdev_init_table() 244 act_ctrl->step_position_table = table; in subdev_init_table()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
D | drv_tzsmmu.c | 45 teebuf.table = get_meminfo(phyaddr, iommu, &size, &base_addr); in secmem_alloc() 46 if (teebuf.table == NULL) { in secmem_alloc() 90 teebuf.table = get_meminfo(addr, iommu, &size, &base_addr); in secmem_free() 91 if (teebuf.table == NULL) { in secmem_free() 147 teebuf.table = get_meminfo(phyaddr, iommu, &size, &base_addr); in secmem_map_to_secsmmu() 148 if (teebuf.table == NULL) { in secmem_map_to_secsmmu() 194 teebuf.table = get_meminfo(addr, iommu, &size, &base_addr); in secmem_unmap_from_secsmmu() 195 if (teebuf.table == NULL) { in secmem_unmap_from_secsmmu()
|
/device/soc/rockchip/common/sdk_linux/drivers/power/supply/ |
D | power_supply_core.c | 746 struct power_supply_battery_ocv_table *table; in power_supply_get_battery_info() local 764 … table = info->ocv_table[index] = devm_kcalloc(&psy->dev, tab_len, sizeof(*table), GFP_KERNEL); in power_supply_get_battery_info() 772 table[i].ocv = be32_to_cpu(*list); in power_supply_get_battery_info() 774 table[i].capacity = be32_to_cpu(*list); in power_supply_get_battery_info() 834 int power_supply_temp2resist_simple(struct power_supply_resistance_temp_table *table, int table_len… in power_supply_temp2resist_simple() argument 839 if (temp > table[i].temp) { in power_supply_temp2resist_simple() 847 tmp = (table[i - 1].resistance - table[i].resistance) * (temp - table[i].temp); in power_supply_temp2resist_simple() 848 tmp /= table[i - 1].temp - table[i].temp; in power_supply_temp2resist_simple() 849 resist = tmp + table[i].resistance; in power_supply_temp2resist_simple() 851 resist = table[0].resistance; in power_supply_temp2resist_simple() [all …]
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
D | clk-provider.h | 569 const struct clk_div_table *table; member 589 … const struct clk_div_table *table, unsigned long flags, unsigned long width); 591 const struct clk_div_table *table, u8 width, unsigned long flags); 593 … const struct clk_div_table *table, u8 width, unsigned long flags, unsigned int val); 594 …get_val(unsigned long rate, unsigned long parent_rate, const struct clk_div_table *table, u8 width, 601 const struct clk_div_table *table, spinlock_t *lock); 604 const struct clk_div_table *table, spinlock_t *lock); 681 …er_divider_table(dev, name, parent_name, flags, reg, shift, width, clk_divider_flags, table, \ argument 684 (clk_divider_flags), (table), (lock)) 700 … table, lock) \ [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/ |
D | crc8.h | 55 void crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial); 73 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial); 99 u8 crc8(const u8 table[CRC8_TABLE_SIZE], u8 *pdata, size_t nbytes, u8 crc);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
D | upg_common.c | 500 uintptr_t kernel_a_addr = partition->table[HI_FLASH_PARTITON_KERNEL_A].addr; in upg_stop() 501 uintptr_t kernel_b_addr = partition->table[HI_FLASH_PARTITON_KERNEL_B].addr; in upg_stop() 554 *addr = partition->table[HI_FLASH_PARTITON_BOOT_BACK].addr; in upg_get_cache_clear_info() 555 *size = partition->table[HI_FLASH_PARTITON_BOOT_BACK].size; in upg_get_cache_clear_info() 558 hi_u32 erase_start_addr = partition->table[HI_FLASH_PARTITON_KERNEL_B].addr + in upg_get_cache_clear_info() 559 partition->table[HI_FLASH_PARTITON_KERNEL_B].size - file_len; in upg_get_cache_clear_info() 566 uintptr_t kernel_a_addr = partition->table[HI_FLASH_PARTITON_KERNEL_A].addr; in upg_get_cache_clear_info() 567 uintptr_t kernel_b_addr = partition->table[HI_FLASH_PARTITON_KERNEL_B].addr; in upg_get_cache_clear_info() 577 *size = partition->table[HI_FLASH_PARTITON_KERNEL_B].size; in upg_get_cache_clear_info() 580 *size = partition->table[HI_FLASH_PARTITON_KERNEL_A].size; in upg_get_cache_clear_info() [all …]
|