Home
last modified time | relevance | path

Searched refs:bit_start (Results 1 – 8 of 8) sorted by relevance

/device/soc/esp/esp32/components/efuse/src/
Desp_efuse_utility.c36 static int get_reg_num(int bit_start, int bit_count, int i_reg);
37 static int get_starting_bit_num_in_reg(int bit_start, int i_reg);
39 static int get_count_bits_in_reg(int bit_start, int bit_count, int i_reg);
57 …if (check_range_of_bits(field[i]->efuse_block, field[i]->bit_start, field[i]->bit_count) == false)… in esp_efuse_utility_process()
64 (num_reg = get_reg_num(field[i]->bit_start, field[i]->bit_count, i_reg)) != -1) { in esp_efuse_utility_process()
66 int start_bit = get_starting_bit_num_in_reg(field[i]->bit_start, i_reg); in esp_efuse_utility_process()
67 int num_bits = get_count_bits_in_reg(field[i]->bit_start, field[i]->bit_count, i_reg); in esp_efuse_utility_process()
84 …lity_fill_buff(unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, … in esp_efuse_utility_fill_buff() argument
88 uint64_t reg_of_aligned_bits = (reg >> bit_start) & get_mask(bit_count, 0); in esp_efuse_utility_fill_buff()
110 …ity_count_once(unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, … in esp_efuse_utility_count_once() argument
[all …]
/device/soc/esp/esp32/components/efuse/
Defuse_table_gen.py96 if e.bit_start is None:
97 e.bit_start = last_end
98 last_end = e.bit_start + e.bit_count
143 (p.field_name, p.efuse_block, p.bit_start, p.bit_count))
155 for p in sorted(self, key=lambda x:(x.efuse_block, x.bit_start)):
156 …f last is not None and last.efuse_block == p.efuse_block and p.bit_start < last.bit_start + last.b…
158 (p.field_name, p.efuse_block, p.bit_start, p.bit_count,
159 … last.field_name, last.efuse_block, last.bit_start, last.bit_count))
165 …txt_table += '%s %s %d %s %s' % (p.field_name, p.efuse_block, p.bit_start, str(p.get_bit_count()),…
174 for p in sorted(self, key=lambda x:(x.efuse_block, x.bit_start)):
[all …]
/device/soc/esp/esp32/components/efuse/private_include/
Desp_efuse_utility.h79 …lity_write_cnt(unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, …
85 …ity_write_blob(unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, …
91 …ity_count_once(unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, …
97 …lity_fill_buff(unsigned int num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, …
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
Drockchip_pvtm.c33 .bit_start = _start, \
54 unsigned int bit_start; member
312 wr_mask_bit(0, info->bit_start, 0x1)); in rockchip_pvtm_get_value()
325 wr_mask_bit(0x1, info->bit_start, 0x1)); in rockchip_pvtm_get_value()
345 wr_mask_bit(0, info->bit_start, 0x1)); in rockchip_pvtm_get_value()
385 writel_relaxed(wr_mask_bit(0, info->bit_start, 0x1), in rv1126_pvtm_get_value()
398 writel_relaxed(wr_mask_bit(0x1, info->bit_start, 0x1), in rv1126_pvtm_get_value()
418 writel_relaxed(wr_mask_bit(0, info->bit_start, 0x1), in rv1126_pvtm_get_value()
/device/board/isoftstone/yangfan/kernel/src/driv/soc/
Drockchip_pvtm.c33 .bit_start = _start, \
54 unsigned int bit_start; member
312 wr_mask_bit(0, info->bit_start, 0x1)); in rockchip_pvtm_get_value()
325 wr_mask_bit(0x1, info->bit_start, 0x1)); in rockchip_pvtm_get_value()
345 wr_mask_bit(0, info->bit_start, 0x1)); in rockchip_pvtm_get_value()
385 writel_relaxed(wr_mask_bit(0, info->bit_start, 0x1), in rv1126_pvtm_get_value()
398 writel_relaxed(wr_mask_bit(0x1, info->bit_start, 0x1), in rv1126_pvtm_get_value()
418 writel_relaxed(wr_mask_bit(0, info->bit_start, 0x1), in rv1126_pvtm_get_value()
/device/soc/rockchip/common/vendor/drivers/rockchip/
Drockchip_pvtm.c32 ….id = (_id), .name = (_name), .num_rings = (_num_rings), .bit_start = (_start), .bit_en = (_en), …
49 unsigned int bit_start; member
297 regmap_write(pvtm->grf, pvtm->con, wr_mask_bit(0, info->bit_start, 1)); in rockchip_pvtm_get_value()
310 regmap_write(pvtm->grf, pvtm->con, wr_mask_bit(1, info->bit_start, 1)); in rockchip_pvtm_get_value()
330 regmap_write(pvtm->grf, pvtm->con, wr_mask_bit(0, info->bit_start, 1)); in rockchip_pvtm_get_value()
366 writel_relaxed(wr_mask_bit(0, info->bit_start, 1), pvtm->base + pvtm->con); in rv1126_pvtm_get_value()
379 writel_relaxed(wr_mask_bit(1, info->bit_start, 1), pvtm->base + pvtm->con); in rv1126_pvtm_get_value()
399 writel_relaxed(wr_mask_bit(0, info->bit_start, 1), pvtm->base + pvtm->con); in rv1126_pvtm_get_value()
/device/soc/esp/esp32/components/efuse/include/
Desp_efuse.h48 uint8_t bit_start; /**< Start bit [0..255] */ member
/device/soc/esp/esp32/components/efuse/esp32/
Desp_efuse_table.csv1 # field_name, | efuse_block, | bit_start, | bit_count, |comment #