/device/board/hihope/rk3568/audio_drivers/codec/rk809_codec/src/ |
H A D | rk809_codec_impl.c | 129 int32_t Rk809DeviceRegWrite(uint32_t reg, uint32_t value) in Rk809DeviceRegWrite() argument 137 if (regmap_write(chip->regmap, reg, value)) { in Rk809DeviceRegWrite() 138 AUDIO_DRIVER_LOG_ERR("write register fail: [%x] = %x", reg, value); in Rk809DeviceRegWrite() 144 int32_t RK809CodecDaiReadReg(const struct DaiDevice *dai, uint32_t reg, uint32_t *value) in RK809CodecDaiReadReg() argument 146 if (value == NULL) { in RK809CodecDaiReadReg() 155 if (Rk809DeviceRegRead(reg, value)) { in RK809CodecDaiReadReg() 162 int32_t RK809CodecDaiWriteReg(const struct DaiDevice *dai, uint32_t reg, uint32_t value) in RK809CodecDaiWriteReg() argument 169 if (Rk809DeviceRegWrite(reg, value)) { in RK809CodecDaiWriteReg() 170 AUDIO_DRIVER_LOG_ERR("codec dai write register fail: [%04x] = %04x", reg, value); in RK809CodecDaiWriteReg() 248 regAttr[RK809_REG_INDEX0].value in RK809UpdateRenderParams() 399 Rk809CodecWriteReg(const struct CodecDevice *codec, uint32_t reg, uint32_t value) Rk809CodecWriteReg() argument [all...] |
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/src/ |
H A D | dw_gpio.c | 53 uint32_t value; ///< gpio value member 94 * return: the value of the corresponding Port. 97 static int32_t gpio_read(void *port, uint32_t *value) in gpio_read() argument 101 *value = gpio_control_reg->EXT_PORTA; in gpio_read() 107 * Write an output value to corresponding Port. 110 * output: value that will be written to the corresponding Port. 119 uint32_t value = gpio_reg->SWPORT_DR; in gpio_write() local 121 value &= ~(mask); in gpio_write() 122 value | in gpio_write() 250 uint32_t value = gpio_control_reg->INTSTATUS; dw_gpio_irqhandler() local 390 csi_gpio_port_write(gpio_port_handle_t handle, uint32_t mask, uint32_t value) csi_gpio_port_write() argument 411 csi_gpio_port_read(gpio_port_handle_t handle, uint32_t mask, uint32_t *value) csi_gpio_port_read() argument 627 csi_gpio_pin_write(gpio_pin_handle_t handle, bool value) csi_gpio_pin_write() argument 652 csi_gpio_pin_read(gpio_pin_handle_t handle, bool *value) csi_gpio_pin_read() argument [all...] |
/device/soc/rockchip/common/vendor/drivers/cpufreq/ |
H A D | rockchip-cpufreq.c | 51 u8 value = 0; in px30_get_soc_info() local 58 ret = rockchip_nvmem_cell_read_u8(np, "performance", &value); in px30_get_soc_info() 60 dev_err(dev, "Failed to get soc performance value\n"); in px30_get_soc_info() 63 *bin = value; in px30_get_soc_info() 75 u8 value = 0; in rk3288_get_soc_info() local 82 ret = rockchip_nvmem_cell_read_u8(np, "special", &value); in rk3288_get_soc_info() 84 dev_err(dev, "Failed to get soc special value\n"); in rk3288_get_soc_info() 87 if (value == 0xc) { in rk3288_get_soc_info() 101 ret = rockchip_nvmem_cell_read_u8(np, name, &value); in rk3288_get_soc_info() 103 dev_err(dev, "Failed to get soc performance value\ in rk3288_get_soc_info() 141 u8 value = 0; rk3399_get_soc_info() local 223 u8 value = 0; rv1126_get_soc_info() local [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-intel-mid.c | 90 u32 value = readl(gafr); in intel_gpio_request() local 91 int shift = (offset % 16) << 1, af = (value >> shift) & 3; in intel_gpio_request() 94 value &= ~(3 << shift); in intel_gpio_request() 95 writel(value, gafr); in intel_gpio_request() 107 static void intel_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in intel_gpio_set() argument 111 if (value) { in intel_gpio_set() 124 u32 value; in intel_gpio_direction_input() local 131 value = readl(gpdr); in intel_gpio_direction_input() 132 value &= ~BIT(offset % 32); in intel_gpio_direction_input() 133 writel(value, gpd in intel_gpio_direction_input() 142 intel_gpio_direction_output(struct gpio_chip *chip, unsigned offset, int value) intel_gpio_direction_output() argument 172 u32 value; intel_mid_irq_type() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.c | 206 nfp_bpf_parse_cap_adjust_head(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_head() argument 209 struct nfp_bpf_cap_tlv_adjust_head __iomem *cap = value; in nfp_bpf_parse_cap_adjust_head() 238 nfp_bpf_parse_cap_func(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_func() argument 240 struct nfp_bpf_cap_tlv_func __iomem *cap = value; in nfp_bpf_parse_cap_func() 266 nfp_bpf_parse_cap_maps(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_maps() argument 268 struct nfp_bpf_cap_tlv_maps __iomem *cap = value; in nfp_bpf_parse_cap_maps() 286 nfp_bpf_parse_cap_random(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_random() argument 294 nfp_bpf_parse_cap_qsel(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_qsel() argument 301 nfp_bpf_parse_cap_adjust_tail(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_tail() argument 309 nfp_bpf_parse_cap_cmsg_multi_ent(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_cmsg_multi_ent() argument 317 nfp_bpf_parse_cap_abi_version(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) nfp_bpf_parse_cap_abi_version() argument 349 u8 __iomem *value; nfp_bpf_parse_capabilities() local [all...] |
/kernel/linux/linux-5.10/drivers/tee/optee/ |
H A D | rpc.c | 44 arg->params[0].u.value.a = ts.tv_sec; in handle_rpc_func_cmd_get_time() 45 arg->params[0].u.value.b = ts.tv_nsec; in handle_rpc_func_cmd_get_time() 89 adapter = i2c_get_adapter(params[0].u.value.b); in handle_rpc_func_cmd_i2c_transfer() 93 if (params[1].u.value.a & OPTEE_MSG_RPC_CMD_I2C_FLAGS_TEN_BIT) { in handle_rpc_func_cmd_i2c_transfer() 103 msg.addr = params[0].u.value.c; in handle_rpc_func_cmd_i2c_transfer() 107 switch (params[0].u.value.a) { in handle_rpc_func_cmd_i2c_transfer() 123 params[3].u.value.a = msg.len; in handle_rpc_func_cmd_i2c_transfer() 197 switch (arg->params[0].u.value.a) { in handle_rpc_func_cmd_wq() 199 wq_sleep(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq() 202 wq_wakeup(&optee->wait_queue, arg->params[0].u.value in handle_rpc_func_cmd_wq() [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A D | vmaster.c | 18 snd_ctl_elem_type_t type; /* value type */ 25 * identical types, i.e. info returns the same value type and value 29 * The same value will be applied to all followers. 34 int val; /* the master value */ 70 follower->vals[ch] = uctl->value.integer.value[ch]; in follower_update() 107 follower->info.min_val = uinfo->value.integer.min; in follower_init() 108 follower->info.max_val = uinfo->value.integer.max; in follower_init() 146 ucontrol->value in follower_get_val() [all...] |
/kernel/linux/linux-5.10/kernel/power/ |
H A D | qos.c | 50 * pm_qos_read_value - Return the current effective constraint value. 76 static void pm_qos_set_value(struct pm_qos_constraints *c, s32 value) in pm_qos_set_value() argument 78 WRITE_ONCE(c->target_value, value); in pm_qos_set_value() 86 * @value: New request value for the target list entry. 89 * @action involving the @node list entry and @value on it. 91 * The recognized values of @action are PM_QOS_ADD_REQ (store @value in @node 93 * @value in it and add it to the list again), and PM_QOS_REMOVE_REQ (remove 94 * @node from the list, ignore @value). 96 * Return: 1 if the aggregate constraint value ha 98 pm_qos_update_target(struct pm_qos_constraints *c, struct plist_node *node, enum pm_qos_req_action action, int value) pm_qos_update_target() argument 244 cpu_latency_qos_apply(struct pm_qos_request *req, enum pm_qos_req_action action, s32 value) cpu_latency_qos_apply() argument 264 cpu_latency_qos_add_request(struct pm_qos_request *req, s32 value) cpu_latency_qos_add_request() argument 366 s32 value; cpu_latency_qos_read() local 381 s32 value; cpu_latency_qos_write() local 493 freq_qos_apply(struct freq_qos_request *req, enum pm_qos_req_action action, s32 value) freq_qos_apply() argument 528 freq_qos_add_request(struct freq_constraints *qos, struct freq_qos_request *req, enum freq_qos_req_type type, s32 value) freq_qos_add_request() argument [all...] |
/kernel/linux/linux-5.10/drivers/pwm/ |
H A D | pwm-meson.c | 237 u32 value; in meson_pwm_enable() local 243 value = readl(meson->base + REG_MISC_AB); in meson_pwm_enable() 244 value &= ~(MISC_CLK_DIV_MASK << channel_data->clk_div_shift); in meson_pwm_enable() 245 value |= channel->pre_div << channel_data->clk_div_shift; in meson_pwm_enable() 246 value |= channel_data->clk_en_mask; in meson_pwm_enable() 247 writel(value, meson->base + REG_MISC_AB); in meson_pwm_enable() 249 value = FIELD_PREP(PWM_HIGH_MASK, channel->hi) | in meson_pwm_enable() 251 writel(value, meson->base + channel_data->reg_offset); in meson_pwm_enable() 253 value = readl(meson->base + REG_MISC_AB); in meson_pwm_enable() 254 value | in meson_pwm_enable() 263 u32 value; meson_pwm_disable() local 343 u32 value, tmp; meson_pwm_get_state() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.c | 206 nfp_bpf_parse_cap_adjust_head(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_head() argument 209 struct nfp_bpf_cap_tlv_adjust_head __iomem *cap = value; in nfp_bpf_parse_cap_adjust_head() 238 nfp_bpf_parse_cap_func(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_func() argument 240 struct nfp_bpf_cap_tlv_func __iomem *cap = value; in nfp_bpf_parse_cap_func() 266 nfp_bpf_parse_cap_maps(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_maps() argument 268 struct nfp_bpf_cap_tlv_maps __iomem *cap = value; in nfp_bpf_parse_cap_maps() 286 nfp_bpf_parse_cap_random(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_random() argument 294 nfp_bpf_parse_cap_qsel(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_qsel() argument 301 nfp_bpf_parse_cap_adjust_tail(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_tail() argument 309 nfp_bpf_parse_cap_cmsg_multi_ent(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_cmsg_multi_ent() argument 317 nfp_bpf_parse_cap_abi_version(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) nfp_bpf_parse_cap_abi_version() argument 349 u8 __iomem *value; nfp_bpf_parse_capabilities() local [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | asus_wmi_sensors.c | 145 * @cached_value: cached sensor value. 211 *version = obj->integer.value; in asus_wmi_get_version() 242 *count = obj->integer.value; in asus_wmi_get_item_count() 311 s->data_type = data_type_obj.integer.value; in asus_wmi_sensor_info() 319 s->location = location_obj.integer.value; in asus_wmi_sensor_info() 327 s->source = source_obj.integer.value; in asus_wmi_sensor_info() 336 s->type = type_obj.integer.value; in asus_wmi_sensor_info() 351 static int asus_wmi_get_sensor_value(u8 index, long *value) in asus_wmi_get_sensor_value() argument 372 *value = obj->integer.value; in asus_wmi_get_sensor_value() 382 long value = 0; asus_wmi_update_values_for_source() local 400 asus_wmi_scale_sensor_value(u32 value, int data_type) asus_wmi_scale_sensor_value() argument 417 asus_wmi_get_cached_value_or_update(const struct asus_wmi_sensor_info *sensor, struct asus_wmi_sensors *sensor_data, u32 *value) asus_wmi_get_cached_value_or_update() argument 450 u32 value = 0; asus_wmi_hwmon_read() local [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | vmaster.c | 18 snd_ctl_elem_type_t type; /* value type */ 25 * identical types, i.e. info returns the same value type and value 29 * The same value will be applied to all followers. 34 int val; /* the master value */ 70 follower->vals[ch] = uctl->value.integer.value[ch]; in follower_update() 107 follower->info.min_val = uinfo->value.integer.min; in follower_init() 108 follower->info.max_val = uinfo->value.integer.max; in follower_init() 146 ucontrol->value in follower_get_val() [all...] |
/test/xts/hats/powermgr/battery/hdi_battery_additional/common/ |
H A D | hdi_battery_test.cpp | 348 scLimit.value = 1100; in HWTEST_F() 367 scLimit.value = 3000; in HWTEST_F() 386 scLimit.value = 1000; in HWTEST_F() 390 buckLimit.value = 1100; in HWTEST_F() 394 testLimit.value = 1200; in HWTEST_F() 404 std::string writeChargeInfo = scLimit.protocol + " " + std::to_string(scLimit.value) + "\n" + buckLimit.protocol + in HWTEST_F() 405 " " + std::to_string(buckLimit.value) + "\n" + testLimit.protocol + " " + in HWTEST_F() 406 std::to_string(testLimit.value) + "\n"; in HWTEST_F() 428 scLimit.value = 2000; in HWTEST_F() 432 buckLimit.value in HWTEST_F() [all...] |
/third_party/alsa-utils/alsaucm/ |
H A D | dump.c | 48 int (*supported_value)(struct renderer *r, const char *value, int last); 51 int (*conflict_value)(struct renderer *r, const char *value, int last); 55 int (*value)(struct renderer *r, const char *ident, const char *value); member 160 static int text_supcon_value(struct renderer *r, const char *value, int last) in text_supcon_value() argument 163 ESC(value, buf); in text_supcon_value() 197 static int text_value(struct renderer *r, const char *ident, const char *value) in text_value() argument 206 ESC(value, buf2); in text_value() 226 .value = text_value, 364 static int json_supcon_value(struct renderer *r, const char *value, in json_supcon_value() argument 401 json_value(struct renderer *r, const char *ident, const char *value) json_value() argument 444 render_devlist(struct context *context, struct renderer *render, const char *verb, const char *device, const char *list, int (*begin)(struct renderer *), int (*value)(struct renderer *, const char *value, int last), int (*end)(struct renderer *)) render_devlist() argument 487 const char **list, *value; render_values() local [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | units_data.cpp | 55 * conversion rates that are found in `value` to the output vector. 59 * @param value The "convertUnits" resource, containing unit conversion rate 64 void put(const char *source, ResourceValue &value, UBool /*noFallback*/, UErrorCode &status) override { 68 // that with `value`, we're looking at the convertUnits table. 72 ResourceTable conversionRateTable = value.getTable(status); 74 // We're reusing `value`, which seems to be a common pattern: 75 for (int32_t unit = 0; conversionRateTable.getKeyAndValue(unit, srcUnit, value); unit++) { 76 ResourceTable unitTable = value.getTable(status); 81 for (int32_t i = 0; unitTable.getKeyAndValue(i, key, value); i++) { 83 baseUnit = value [all...] |
H A D | dayperiodrules.cpp | 53 virtual void put(const char *key, ResourceValue &value, UBool, UErrorCode &errorCode) override { 54 ResourceTable dayPeriodData = value.getTable(errorCode); 57 for (int32_t i = 0; dayPeriodData.getKeyAndValue(i, key, value); ++i) { 59 ResourceTable locales = value.getTable(errorCode); 62 for (int32_t j = 0; locales.getKeyAndValue(j, key, value); ++j) { 63 UnicodeString setNum_str = value.getUnicodeString(errorCode); 74 ResourceTable rules = value.getTable(errorCode); 75 processRules(rules, key, value, errorCode); 82 ResourceValue &value, UErrorCode &errorCode) { in processRules() 85 for (int32_t i = 0; rules.getKeyAndValue(i, key, value); in processRules() [all...] |
/third_party/FreeBSD/lib/msun/ld128/ |
H A D | e_powl.c | 156 p.value = x; in powl() 160 q.value = y; in powl() 208 /* special value of y */ in powl() 238 /* special value of x */ in powl() 264 2^-16495 = 1/2 of smallest representable value. in powl() 289 o.value = ax; in powl() 307 o.value = ax; in powl() 309 ax = o.value; in powl() 317 o.value = s_h; in powl() 320 s_h = o.value; in powl() [all...] |
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | RBxliffImporter.java | 109 String value = text_elem.getNodeValue(); in importDoc() 110 if (value != null && value.length() > 0) { in importDoc() 111 bundle_note = value; in importDoc() 124 String value = property_elem.getChildNodes().item(0).getNodeValue(); in importDoc() 125 if (value != null && value.length() > 0) { in importDoc() 127 bundle_name = value; in importDoc() 130 manager_name = value; in importDoc() 133 language_name = value; in importDoc() [all...] |
/third_party/jerryscript/jerry-core/ecma/operations/ |
H A D | ecma-objects-general.c | 38 * @return ecma value 39 * Returned value must be freed with ecma_free_value 78 ecma_op_create_object_object_arg (ecma_value_t value) /**< argument of constructor */ in ecma_op_create_object_object_arg() argument 80 ecma_check_value_type_is_spec_defined (value); in ecma_op_create_object_object_arg() 82 if (ecma_is_value_object (value) in ecma_op_create_object_object_arg() 83 || ecma_is_value_number (value) in ecma_op_create_object_object_arg() 84 || ecma_is_value_prop_name (value) in ecma_op_create_object_object_arg() 85 || ecma_is_value_boolean (value)) in ecma_op_create_object_object_arg() 88 return ecma_op_to_object (value); in ecma_op_create_object_object_arg() 93 JERRY_ASSERT (ecma_is_value_undefined (value) in ecma_op_create_object_object_arg() [all...] |
/third_party/lame/ACM/tinyxml/ |
H A D | tinyxml.h | 138 static const char* GetEntity( const char* in, char* value ); 141 inline static const char* GetChar( const char* p, char* value ) in GetChar() 146 return GetEntity( p, value ); in GetChar() 150 *value = *p; in GetChar() 264 /** The meaning of 'value' changes for the specific type of 276 const std::string& Value() const { return value; } in Value() 278 /** Changes the value of the node. Defined as: 287 void SetValue( const std::string& _value ) { value = _value; } in SetValue() 296 TiXmlNode* FirstChild( const std::string& value ) const; ///< The first child of this node with the matching 'value' in FirstChild() 415 std::string value; global() member in TiXmlNode 481 std::string value; global() member in TiXmlAttribute [all...] |
/third_party/node/deps/brotli/c/common/ |
H A D | platform.h | 394 uint16_t value = BrotliUnalignedRead16(p); in BROTLI_UNALIGNED_LOAD16LE() local 395 return BROTLI_BSWAP16_(value); in BROTLI_UNALIGNED_LOAD16LE() 401 uint32_t value = BrotliUnalignedRead32(p); in BROTLI_UNALIGNED_LOAD32LE() local 402 return BROTLI_BSWAP32_(value); in BROTLI_UNALIGNED_LOAD32LE() 410 uint64_t value = BrotliUnalignedRead64(p); in BROTLI_UNALIGNED_LOAD64LE() local 411 return BROTLI_BSWAP64_(value); in BROTLI_UNALIGNED_LOAD64LE() 414 uint64_t value = BROTLI_BSWAP64_(v); in BROTLI_UNALIGNED_STORE64LE() local 415 BrotliUnalignedWrite64(p, value); in BROTLI_UNALIGNED_STORE64LE() 425 uint32_t value = (uint32_t)(in[0]); in BROTLI_UNALIGNED_LOAD32LE() local 426 value | in BROTLI_UNALIGNED_LOAD32LE() 433 uint64_t value = (uint64_t)(in[0]); BROTLI_UNALIGNED_LOAD64LE() local [all...] |
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | dxil_module.h | 256 const struct dxil_value *value); 262 const struct dxil_value *value); 337 dxil_value_type_equal_to(const struct dxil_value *value, 341 dxil_value_type_bitsize_equal_to(const struct dxil_value *value, unsigned bitsize); 344 dxil_value_get_type(const struct dxil_value *value); 347 dxil_module_get_int1_const(struct dxil_module *m, bool value); 350 dxil_module_get_int8_const(struct dxil_module *m, int8_t value); 353 dxil_module_get_int16_const(struct dxil_module *m, int16_t value); 356 dxil_module_get_int32_const(struct dxil_module *m, int32_t value); 359 dxil_module_get_int64_const(struct dxil_module *m, int64_t value); [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A D | intel_noop_drm_shim.c | 164 param->value = 1ull << 48; in i915_ioctl_gem_context_getparam() 166 param->value = 1ull << 31; in i915_ioctl_gem_context_getparam() 168 param->value = 0; in i915_ioctl_gem_context_getparam() 181 *gp->value = i915.device_id; in i915_ioctl_get_param() 184 *gp->value = 0; in i915_ioctl_get_param() 187 *gp->value = i915.devinfo.timestamp_frequency; in i915_ioctl_get_param() 191 *gp->value = I915_GEM_PPGTT_NONE; in i915_ioctl_get_param() 193 *gp->value = I915_GEM_PPGTT_ALIASING; in i915_ioctl_get_param() 195 *gp->value = I915_GEM_PPGTT_FULL; in i915_ioctl_get_param() 199 *gp->value in i915_ioctl_get_param() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | dayperiodrules.cpp | 55 virtual void put(const char *key, ResourceValue &value, UBool, UErrorCode &errorCode) override { 56 ResourceTable dayPeriodData = value.getTable(errorCode); 59 for (int32_t i = 0; dayPeriodData.getKeyAndValue(i, key, value); ++i) { 61 ResourceTable locales = value.getTable(errorCode); 64 for (int32_t j = 0; locales.getKeyAndValue(j, key, value); ++j) { 65 UnicodeString setNum_str = value.getUnicodeString(errorCode); 76 ResourceTable rules = value.getTable(errorCode); 77 processRules(rules, key, value, errorCode); 84 ResourceValue &value, UErrorCode &errorCode) { in processRules() 87 for (int32_t i = 0; rules.getKeyAndValue(i, key, value); in processRules() [all...] |
/third_party/mesa3d/src/util/ |
H A D | u_math.h | 586 * This makes no assumptions about the high bits of the value and will 601 * This assumes and asserts that the value fits into `width` bits. 649 * Align a value up to an alignment value 651 * If \c value is not already aligned to the requested alignment value, it 654 * \param value Value to be rounded 655 * \param alignment Alignment value to be used. This must be a power of two. 664 ALIGN(uintptr_t value, int32_t alignment) in ALIGN() argument 667 return (((value) in ALIGN() 674 ALIGN_NPOT(uintptr_t value, int32_t alignment) ALIGN_NPOT() argument 692 ROUND_DOWN_TO(uint64_t value, int32_t alignment) ROUND_DOWN_TO() argument 702 align(int value, int alignment) align() argument 708 align64(uint64_t value, unsigned alignment) align64() argument 717 util_align_npot(size_t value, size_t alignment) util_align_npot() argument 725 u_minify(unsigned value, unsigned levels) u_minify() argument 758 util_unsigned_fixed(float value, unsigned frac_bits) util_unsigned_fixed() argument 764 util_signed_fixed(float value, unsigned frac_bits) util_signed_fixed() argument [all...] |