/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
H A D | fdt_addresses.c | 17 uint32_t val; in fdt_cells() local 27 val = fdt32_to_cpu(*c); in fdt_cells() 28 if (val > FDT_MAX_NCELLS) in fdt_cells() 31 return (int)val; in fdt_cells() 36 int val; in fdt_address_cells() local 38 val = fdt_cells(fdt, nodeoffset, "#address-cells"); in fdt_address_cells() 39 if (val == 0) in fdt_address_cells() 41 if (val == -FDT_ERR_NOTFOUND) in fdt_address_cells() 43 return val; in fdt_address_cells() 48 int val; in fdt_size_cells() local [all...] |
/kernel/linux/linux-6.6/drivers/cpuidle/governors/ |
H A D | haltpoll.c | 81 unsigned int val; in adjust_poll_limit() local 87 val = dev->poll_limit_ns * guest_halt_poll_grow; in adjust_poll_limit() 89 if (val < guest_halt_poll_grow_start) in adjust_poll_limit() 90 val = guest_halt_poll_grow_start; in adjust_poll_limit() 91 if (val > guest_halt_poll_ns) in adjust_poll_limit() 92 val = guest_halt_poll_ns; in adjust_poll_limit() 94 trace_guest_halt_poll_ns_grow(val, dev->poll_limit_ns); in adjust_poll_limit() 95 dev->poll_limit_ns = val; in adjust_poll_limit() 100 val = dev->poll_limit_ns; in adjust_poll_limit() 102 val in adjust_poll_limit() [all...] |
/kernel/linux/linux-6.6/scripts/dtc/libfdt/ |
H A D | fdt_addresses.c | 17 uint32_t val; in fdt_cells() local 27 val = fdt32_to_cpu(*c); in fdt_cells() 28 if (val > FDT_MAX_NCELLS) in fdt_cells() 31 return (int)val; in fdt_cells() 36 int val; in fdt_address_cells() local 38 val = fdt_cells(fdt, nodeoffset, "#address-cells"); in fdt_address_cells() 39 if (val == 0) in fdt_address_cells() 41 if (val == -FDT_ERR_NOTFOUND) in fdt_address_cells() 43 return val; in fdt_address_cells() 48 int val; in fdt_size_cells() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_map_ops.c | 32 static u64 callback(u64 map, u64 key, u64 val, u64 ctx, u64 flags) in callback() argument 41 const int val = 1; in map_update() local 46 err = bpf_map_update_elem(&hash_map, &key, &val, BPF_NOEXIST); in map_update() 67 const int val = 1; in map_push() local 72 err = bpf_map_push_elem(&stack_map, &val, 0); in map_push() 80 int val; in map_pop() local 85 err = bpf_map_pop_elem(&stack_map, &val); in map_pop() 93 int val; in map_peek() local 98 err = bpf_map_peek_elem(&stack_map, &val); in map_peek() 107 const int val in map_for_each_pass() local 125 const int val = 1; map_for_each_fail() local [all...] |
H A D | timer_mim.c | 39 static int timer_cb1(void *map, int *key, struct hmap_elem *val); 41 static int timer_cb2(void *map, int *key, struct hmap_elem *val) in timer_cb2() argument 44 bpf_timer_set_callback(&val->timer, timer_cb1); in timer_cb2() 45 if (bpf_timer_start(&val->timer, 1000, 0)) in timer_cb2() 52 static int timer_cb1(void *map, int *key, struct hmap_elem *val) in timer_cb1() argument 55 bpf_timer_set_callback(&val->timer, timer_cb2); in timer_cb1() 56 if (bpf_timer_start(&val->timer, 1000, 0)) in timer_cb1() 69 struct hmap_elem *val; in BPF_PROG() local 78 val = bpf_map_lookup_elem(inner_map, &hash_key); in BPF_PROG() 79 if (!val) in BPF_PROG() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | aura.c | 45 uint8_t val; in aura_decode_frame() local 71 val = *buf++; in aura_decode_frame() 72 U[0] = val & 0xF0; in aura_decode_frame() 73 Y[0] = val << 4; in aura_decode_frame() 74 val = *buf++; in aura_decode_frame() 75 V[0] = val & 0xF0; in aura_decode_frame() 76 Y[1] = Y[0] + delta_table[val & 0xF]; in aura_decode_frame() 81 val = *buf++; in aura_decode_frame() 82 U[0] = U[-1] + delta_table[val >> 4]; in aura_decode_frame() 83 Y[0] = Y[-1] + delta_table[val in aura_decode_frame() [all...] |
/third_party/libunwind/libunwind/src/ptrace/ |
H A D | _UPT_access_mem.c | 31 _UPT_access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, in _UPT_access_mem() argument 60 tmp_val = i == 0 ? *val : *val >> 32; in _UPT_access_mem() 62 tmp_val = i == 0 && end == 2 ? *val >> 32 : *val; in _UPT_access_mem() 82 *val = 0; in _UPT_access_mem() 85 *val |= tmp_val << (i * 32); in _UPT_access_mem() 87 *val |= i == 0 && end == 2 ? tmp_val << 32 : tmp_val; in _UPT_access_mem() 100 _UPT_access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, in _UPT_access_mem() argument 110 iod.piod_addr = val; in _UPT_access_mem() [all...] |
/third_party/json/docs/examples/ |
H A D | sax_parse__binary.cpp | 22 bool boolean(bool val) override 24 events.push_back("boolean(val=" + std::string(val ? "true" : "false") + ")"); 28 bool number_integer(number_integer_t val) override 30 events.push_back("number_integer(val=" + std::to_string(val) + ")"); 34 bool number_unsigned(number_unsigned_t val) override 36 events.push_back("number_unsigned(val=" + std::to_string(val) + ")"); 40 bool number_float(number_float_t val, cons [all...] |
H A D | sax_parse.cpp | 22 bool boolean(bool val) override 24 events.push_back("boolean(val=" + std::string(val ? "true" : "false") + ")"); 28 bool number_integer(number_integer_t val) override 30 events.push_back("number_integer(val=" + std::to_string(val) + ")"); 34 bool number_unsigned(number_unsigned_t val) override 36 events.push_back("number_unsigned(val=" + std::to_string(val) + ")"); 40 bool number_float(number_float_t val, cons [all...] |
/third_party/skia/src/core/ |
H A D | SkFixed15.h | 21 SkFixed15(float val) : fVal(val * 32768) { SkASSERT(0.0f <= val && val <= 1.0f); } in SkFixed15() argument 24 static SkFixed15 Load(uint16_t val) { in Load() argument 25 SkASSERT(val <= 32768); in Load() 26 return val; in Load() 30 static SkFixed15 FromU8(uint8_t val) { in FromU8() argument 31 return val*128 + (val>> in FromU8() 61 SkFixed15(int val) SkFixed15() argument [all...] |
/base/security/device_auth/services/protocol/src/iso_protocol/ |
H A D | iso_protocol_common.c | 37 params->randSelf.val = (uint8_t *)HcMalloc(params->randSelf.length, 0); in InitIsoBaseParams() 38 if (params->randSelf.val == NULL) { in InitIsoBaseParams() 44 params->randPeer.val = (uint8_t *)HcMalloc(params->randPeer.length, 0); in InitIsoBaseParams() 45 if (params->randPeer.val == NULL) { in InitIsoBaseParams() 52 params->sessionKey.val = (uint8_t *)HcMalloc(params->sessionKey.length, 0); in InitIsoBaseParams() 53 if (params->sessionKey.val == NULL) { in InitIsoBaseParams() 80 HcFree(params->randSelf.val); in DestroyIsoBaseParams() 81 params->randSelf.val = NULL; in DestroyIsoBaseParams() 83 HcFree(params->randPeer.val); in DestroyIsoBaseParams() 84 params->randPeer.val in DestroyIsoBaseParams() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | tmp513.c | 183 unsigned int regval, long *val) in tmp51x_get_value() 187 *val = (regval >> pos) & 1; in tmp51x_get_value() 198 *val = sign_extend32(regval, 17 - tmp51x_get_pga_shift(data)); in tmp51x_get_value() 199 *val = DIV_ROUND_CLOSEST(*val * 10000, data->shunt_uohms); in tmp51x_get_value() 205 *val = (regval >> TMP51X_BUS_VOLTAGE_SHIFT) * 4; in tmp51x_get_value() 210 *val = regval * data->pwr_lsb_uw; in tmp51x_get_value() 214 *val = sign_extend32(regval, 16) * data->curr_lsb_ua; in tmp51x_get_value() 215 *val = DIV_ROUND_CLOSEST(*val, 100 in tmp51x_get_value() 182 tmp51x_get_value(struct tmp51x_data *data, u8 reg, u8 pos, unsigned int regval, long *val) tmp51x_get_value() argument 243 tmp51x_set_value(struct tmp51x_data *data, u8 reg, long val) tmp51x_set_value() argument 395 tmp51x_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) tmp51x_read() argument 417 tmp51x_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) tmp51x_write() argument 659 u32 val; tmp51x_read_properties() local [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
H A D | pcie-uniphier.c | 78 u32 val; in uniphier_pcie_ltssm_enable() local 80 val = readl(priv->base + PCL_APP_READY_CTRL); in uniphier_pcie_ltssm_enable() 82 val |= PCL_APP_LTSSM_ENABLE; in uniphier_pcie_ltssm_enable() 84 val &= ~PCL_APP_LTSSM_ENABLE; in uniphier_pcie_ltssm_enable() 85 writel(val, priv->base + PCL_APP_READY_CTRL); in uniphier_pcie_ltssm_enable() 90 u32 val; in uniphier_pcie_init_rc() local 93 val = readl(priv->base + PCL_MODE); in uniphier_pcie_init_rc() 94 val |= PCL_MODE_REGEN; in uniphier_pcie_init_rc() 95 val &= ~PCL_MODE_REGVAL; in uniphier_pcie_init_rc() 96 writel(val, pri in uniphier_pcie_init_rc() 141 u32 val, mask; uniphier_pcie_link_up() local 180 u32 val; uniphier_pcie_irq_mask() local 197 u32 val; uniphier_pcie_irq_unmask() local 235 u32 val, bit, virq; uniphier_pcie_irq_handler() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_4xxx/ |
H A D | adf_drv.c | 68 unsigned long bank, val; in adf_crypto_dev_config() local 79 val = i; in adf_crypto_dev_config() 97 key, &val, ADF_DEC); in adf_crypto_dev_config() 102 val = 128; in adf_crypto_dev_config() 104 key, &val, ADF_DEC); in adf_crypto_dev_config() 108 val = 512; in adf_crypto_dev_config() 111 key, &val, ADF_DEC); in adf_crypto_dev_config() 115 val = 0; in adf_crypto_dev_config() 118 key, &val, ADF_DEC); in adf_crypto_dev_config() 122 val in adf_crypto_dev_config() 174 unsigned long val; adf_comp_dev_config() local 241 unsigned long val; adf_no_dev_config() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/ |
H A D | pcie-uniphier.c | 78 u32 val; in uniphier_pcie_ltssm_enable() local 80 val = readl(pcie->base + PCL_APP_READY_CTRL); in uniphier_pcie_ltssm_enable() 82 val |= PCL_APP_LTSSM_ENABLE; in uniphier_pcie_ltssm_enable() 84 val &= ~PCL_APP_LTSSM_ENABLE; in uniphier_pcie_ltssm_enable() 85 writel(val, pcie->base + PCL_APP_READY_CTRL); in uniphier_pcie_ltssm_enable() 90 u32 val; in uniphier_pcie_init_rc() local 93 val = readl(pcie->base + PCL_MODE); in uniphier_pcie_init_rc() 94 val |= PCL_MODE_REGEN; in uniphier_pcie_init_rc() 95 val &= ~PCL_MODE_REGVAL; in uniphier_pcie_init_rc() 96 writel(val, pci in uniphier_pcie_init_rc() 141 u32 val, mask; uniphier_pcie_link_up() local 178 u32 val; uniphier_pcie_irq_mask() local 195 u32 val; uniphier_pcie_irq_unmask() local 233 u32 val, bit; uniphier_pcie_irq_handler() local [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | tmp513.c | 183 unsigned int regval, long *val) in tmp51x_get_value() 187 *val = (regval >> pos) & 1; in tmp51x_get_value() 198 *val = sign_extend32(regval, 17 - tmp51x_get_pga_shift(data)); in tmp51x_get_value() 199 *val = DIV_ROUND_CLOSEST(*val * 10000, data->shunt_uohms); in tmp51x_get_value() 205 *val = (regval >> TMP51X_BUS_VOLTAGE_SHIFT) * 4; in tmp51x_get_value() 210 *val = regval * data->pwr_lsb_uw; in tmp51x_get_value() 214 *val = sign_extend32(regval, 16) * data->curr_lsb_ua; in tmp51x_get_value() 215 *val = DIV_ROUND_CLOSEST(*val, 100 in tmp51x_get_value() 182 tmp51x_get_value(struct tmp51x_data *data, u8 reg, u8 pos, unsigned int regval, long *val) tmp51x_get_value() argument 243 tmp51x_set_value(struct tmp51x_data *data, u8 reg, long val) tmp51x_set_value() argument 395 tmp51x_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) tmp51x_read() argument 417 tmp51x_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) tmp51x_write() argument 659 u32 val; tmp51x_read_properties() local [all...] |
H A D | ltc2992.c | 190 int val; in ltc2992_read_reg() local 198 val = 0; in ltc2992_read_reg() 200 val |= regvals[reg_len - i - 1] << (i * 8); in ltc2992_read_reg() 202 return val; in ltc2992_read_reg() 205 static int ltc2992_write_reg(struct ltc2992_state *st, u8 addr, const u8 reg_len, u32 val) in ltc2992_write_reg() argument 211 regvals[reg_len - i - 1] = (val >> (i * 8)) & 0xFF; in ltc2992_write_reg() 408 static int ltc2992_get_voltage(struct ltc2992_state *st, u32 reg, u32 scale, long *val) in ltc2992_get_voltage() argument 417 *val = DIV_ROUND_CLOSEST(reg_val * scale, 1000); in ltc2992_get_voltage() 422 static int ltc2992_set_voltage(struct ltc2992_state *st, u32 reg, u32 scale, long val) in ltc2992_set_voltage() argument 424 val in ltc2992_set_voltage() 430 ltc2992_read_gpio_alarm(struct ltc2992_state *st, int nr_gpio, u32 attr, long *val) ltc2992_read_gpio_alarm() argument 450 ltc2992_read_gpios_in(struct device *dev, u32 attr, int nr_gpio, long *val) ltc2992_read_gpios_in() argument 481 ltc2992_read_in_alarm(struct ltc2992_state *st, int channel, long *val, u32 attr) ltc2992_read_in_alarm() argument 501 ltc2992_read_in(struct device *dev, u32 attr, int channel, long *val) ltc2992_read_in() argument 535 ltc2992_get_current(struct ltc2992_state *st, u32 reg, u32 channel, long *val) ltc2992_get_current() argument 549 ltc2992_set_current(struct ltc2992_state *st, u32 reg, u32 channel, long val) ltc2992_set_current() argument 559 ltc2992_read_curr_alarm(struct ltc2992_state *st, int channel, long *val, u32 attr) ltc2992_read_curr_alarm() argument 579 ltc2992_read_curr(struct device *dev, u32 attr, int channel, long *val) ltc2992_read_curr() argument 610 ltc2992_get_power(struct ltc2992_state *st, u32 reg, u32 channel, long *val) ltc2992_get_power() argument 624 ltc2992_set_power(struct ltc2992_state *st, u32 reg, u32 channel, long val) ltc2992_set_power() argument 634 ltc2992_read_power_alarm(struct ltc2992_state *st, int channel, long *val, u32 attr) ltc2992_read_power_alarm() argument 654 ltc2992_read_power(struct device *dev, u32 attr, int channel, long *val) ltc2992_read_power() argument 685 ltc2992_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) ltc2992_read() argument 700 ltc2992_write_curr(struct device *dev, u32 attr, int channel, long val) ltc2992_write_curr() argument 719 ltc2992_write_gpios_in(struct device *dev, u32 attr, int nr_gpio, long val) ltc2992_write_gpios_in() argument 738 ltc2992_write_in(struct device *dev, u32 attr, int channel, long val) ltc2992_write_in() argument 760 ltc2992_write_power(struct device *dev, u32 attr, int channel, long val) ltc2992_write_power() argument 779 ltc2992_write_chip(struct device *dev, u32 attr, int channel, long val) ltc2992_write_chip() argument 792 ltc2992_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) ltc2992_write() argument 860 u32 val; ltc2992_parse_dt() local [all...] |
/third_party/json/include/nlohmann/detail/input/ |
H A D | json_sax.hpp | 47 @param[in] val boolean value 50 virtual bool boolean(bool val) = 0; 54 @param[in] val integer value 57 virtual bool number_integer(number_integer_t val) = 0; 61 @param[in] val unsigned integer value 64 virtual bool number_unsigned(number_unsigned_t val) = 0; 68 @param[in] val floating-point value 72 virtual bool number_float(number_float_t val, const string_t& s) = 0; 76 @param[in] val string value 80 virtual bool string(string_t& val) 193 boolean(bool val) boolean() argument 199 number_integer(number_integer_t val) number_integer() argument 205 number_unsigned(number_unsigned_t val) number_unsigned() argument 211 number_float(number_float_t val, const string_t& ) number_float() argument 217 string(string_t& val) string() argument 223 binary(binary_t& val) binary() argument 241 key(string_t& val) key() argument 377 boolean(bool val) boolean() argument 383 number_integer(number_integer_t val) number_integer() argument 389 number_unsigned(number_unsigned_t val) number_unsigned() argument 395 number_float(number_float_t val, const string_t& ) number_float() argument 401 string(string_t& val) string() argument 407 binary(binary_t& val) binary() argument 419 auto val = handle_value(BasicJsonType::value_t::object, true); start_object() local 431 key(string_t& val) key() argument 489 auto val = handle_value(BasicJsonType::value_t::array, true); start_array() local [all...] |
/third_party/node/deps/brotli/c/dec/ |
H A D | huffman.c | 263 uint16_t* val, in BrotliBuildSimpleHuffmanTable() 269 table[0] = ConstructHuffmanCode(0, val[0]); in BrotliBuildSimpleHuffmanTable() 272 if (val[1] > val[0]) { in BrotliBuildSimpleHuffmanTable() 273 table[0] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable() 274 table[1] = ConstructHuffmanCode(1, val[1]); in BrotliBuildSimpleHuffmanTable() 276 table[0] = ConstructHuffmanCode(1, val[1]); in BrotliBuildSimpleHuffmanTable() 277 table[1] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable() 282 table[0] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable() 283 table[2] = ConstructHuffmanCode(1, val[ in BrotliBuildSimpleHuffmanTable() 261 BrotliBuildSimpleHuffmanTable(HuffmanCode* table, int root_bits, uint16_t* val, uint32_t num_symbols) BrotliBuildSimpleHuffmanTable() argument [all...] |
/third_party/skia/third_party/externals/brotli/c/dec/ |
H A D | huffman.c | 263 uint16_t* val, in BrotliBuildSimpleHuffmanTable() 269 table[0] = ConstructHuffmanCode(0, val[0]); in BrotliBuildSimpleHuffmanTable() 272 if (val[1] > val[0]) { in BrotliBuildSimpleHuffmanTable() 273 table[0] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable() 274 table[1] = ConstructHuffmanCode(1, val[1]); in BrotliBuildSimpleHuffmanTable() 276 table[0] = ConstructHuffmanCode(1, val[1]); in BrotliBuildSimpleHuffmanTable() 277 table[1] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable() 282 table[0] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable() 283 table[2] = ConstructHuffmanCode(1, val[ in BrotliBuildSimpleHuffmanTable() 261 BrotliBuildSimpleHuffmanTable(HuffmanCode* table, int root_bits, uint16_t* val, uint32_t num_symbols) BrotliBuildSimpleHuffmanTable() argument [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | value_object.h | 132 API_EXPORT ValueObject(Type val) noexcept; 137 API_EXPORT ValueObject(ValueObject &&val) noexcept; 142 API_EXPORT ValueObject(const ValueObject &val); 149 * @param val Indicates an int input parameter. 151 API_EXPORT ValueObject(int32_t val); 158 * @param val Indicates an int64_t input parameter. 160 API_EXPORT ValueObject(int64_t val); 167 * @param val Indicates an double input parameter. 169 API_EXPORT ValueObject(double val); 176 * @param val Indicate [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-spear/ |
H A D | time.c | 75 u16 val; in spear_clocksource_init() local 86 val = readw(gpt_base + CR(CLKSRC)); in spear_clocksource_init() 87 val &= ~CTRL_ONE_SHOT; /* autoreload mode */ in spear_clocksource_init() 88 val |= CTRL_ENABLE ; in spear_clocksource_init() 89 writew(val, gpt_base + CR(CLKSRC)); in spear_clocksource_init() 98 u16 val = readw(gpt_base + CR(CLKEVT)); in timer_shutdown() local 101 val &= ~CTRL_ENABLE; in timer_shutdown() 102 writew(val, gpt_base + CR(CLKEVT)); in timer_shutdown() 114 u16 val; in spear_set_oneshot() local 119 val in spear_set_oneshot() 129 u16 val; spear_set_periodic() local 160 u16 val = readw(gpt_base + CR(CLKEVT)); clockevent_next_event() local [all...] |
/kernel/linux/linux-5.10/arch/s390/boot/ |
H A D | ipl_parm.c | 196 unsigned long val, endval; in modify_fac_list() local 206 val = simple_strtoull(str, &endp, 0); in modify_fac_list() 216 while (val <= endval) { in modify_fac_list() 217 modify_facility(val, clear); in modify_fac_list() 218 val++; in modify_fac_list() 221 modify_facility(val, clear); in modify_fac_list() 233 char *param, *val; in parse_boot_command_line() local 241 args = next_arg(args, ¶m, &val); in parse_boot_command_line() 243 if (!strcmp(param, "mem") && val) { in parse_boot_command_line() 244 memory_end = round_down(memparse(val, NUL in parse_boot_command_line() [all...] |
/kernel/linux/linux-5.10/drivers/clk/mmp/ |
H A D | clk-frac.c | 58 unsigned int val, num, den; in clk_factor_recalc_rate() local 61 val = readl_relaxed(factor->base); in clk_factor_recalc_rate() 64 num = (val >> masks->num_shift) & masks->num_mask; in clk_factor_recalc_rate() 67 den = (val >> masks->den_shift) & masks->den_mask; in clk_factor_recalc_rate() 86 unsigned long val; in clk_factor_set_rate() local 104 val = readl_relaxed(factor->base); in clk_factor_set_rate() 106 val &= ~(masks->num_mask << masks->num_shift); in clk_factor_set_rate() 107 val |= (factor->ftbl[i].num & masks->num_mask) << masks->num_shift; in clk_factor_set_rate() 109 val &= ~(masks->den_mask << masks->den_shift); in clk_factor_set_rate() 110 val | in clk_factor_set_rate() 124 u32 val, num, den; clk_factor_init() local [all...] |
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | timer-atcpit100.c | 90 u32 val; in atcpit100_timer_clear_interrupt() local 92 val = readl(base + INT_STA); in atcpit100_timer_clear_interrupt() 93 writel(val | CH0INT0, base + INT_STA); in atcpit100_timer_clear_interrupt() 98 u32 val; in atcpit100_clocksource_start() local 100 val = readl(base + CH_EN); in atcpit100_clocksource_start() 101 writel(val | CH1TMR0EN, base + CH_EN); in atcpit100_clocksource_start() 106 u32 val; in atcpit100_clkevt_time_start() local 108 val = readl(base + CH_EN); in atcpit100_clkevt_time_start() 109 writel(val | CH0TMR0EN, base + CH_EN); in atcpit100_clkevt_time_start() 114 u32 val; in atcpit100_clkevt_time_stop() local 124 u32 val; atcpit100_clkevt_next_event() local 155 u32 val; atcpit100_clkevt_set_oneshot() local 224 u32 val; atcpit100_timer_init() local [all...] |