/device/soc/hisilicon/common/platform/pin/ |
H A D | pin_hi35xx.c | 106 uint32_t value; in Hi35xxPinSetPull() local 110 value = OSAL_READL(hi35xx->regBase + index * HI35XX_PIN_REG_SIZE); in Hi35xxPinSetPull() 111 value = (value & ~PIN_PULL_TYPE_MASK) | ((uint32_t)pullType << PIN_PULL_TYPE_OFFSET); in Hi35xxPinSetPull() 112 OSAL_WRITEL(value, hi35xx->regBase + index * HI35XX_PIN_REG_SIZE); in Hi35xxPinSetPull() 119 uint32_t value; in Hi35xxPinGetPull() local 123 value = OSAL_READL(hi35xx->regBase + index * HI35XX_PIN_REG_SIZE); in Hi35xxPinGetPull() 124 *pullType = (enum PinPullType)((value & PIN_PULL_TYPE_MASK) >> PIN_PULL_TYPE_OFFSET); in Hi35xxPinGetPull() 131 uint32_t value; in Hi35xxPinSetStrength() local 135 value in Hi35xxPinSetStrength() 144 uint32_t value; Hi35xxPinGetStrength() local 156 uint32_t value; Hi35xxPinSetFunc() local 180 uint32_t value; Hi35xxPinGetFunc() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | exfldio.c | 23 u32 field_datum_byte_offset, u64 *value, u32 read_write); 26 acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value); 186 * value - Where to store value (must at least 199 u32 field_datum_byte_offset, u64 *value, u32 function) in acpi_ex_access_region() 251 value); in acpi_ex_access_region() 277 * value - Value to be stored 279 * RETURN: TRUE if value overflows the field, FALSE otherwise 281 * DESCRIPTION: Check if a value is out of range of the field being written. 283 * are out of range. Normally, the value i 198 acpi_ex_access_region(union acpi_operand_object *obj_desc, u32 field_datum_byte_offset, u64 *value, u32 function) acpi_ex_access_region() argument 290 acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value) acpi_ex_register_overflow() argument 338 acpi_ex_field_datum_io(union acpi_operand_object *obj_desc, u32 field_datum_byte_offset, u64 *value, u32 read_write) acpi_ex_field_datum_io() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/dsa/microchip/ |
H A D | ksz_common.h | 183 unsigned int value; in ksz_read8() local 184 int ret = regmap_read(dev->regmap[0], reg, &value); in ksz_read8() 186 *val = value; in ksz_read8() 192 unsigned int value; in ksz_read16() local 193 int ret = regmap_read(dev->regmap[1], reg, &value); in ksz_read16() 195 *val = value; in ksz_read16() 201 unsigned int value; in ksz_read32() local 202 int ret = regmap_read(dev->regmap[2], reg, &value); in ksz_read32() 204 *val = value; in ksz_read32() 210 u32 value[ in ksz_read64() local 220 ksz_write8(struct ksz_device *dev, u32 reg, u8 value) ksz_write8() argument 225 ksz_write16(struct ksz_device *dev, u32 reg, u16 value) ksz_write16() argument 230 ksz_write32(struct ksz_device *dev, u32 reg, u32 value) ksz_write32() argument 235 ksz_write64(struct ksz_device *dev, u32 reg, u64 value) ksz_write64() argument [all...] |
/kernel/linux/linux-5.10/tools/lib/subcmd/ |
H A D | parse-options.h | 69 * `value`:: 93 * default value to fill (*->value) with for PARSE_OPT_OPTARG. 95 * the value when met. 105 void *value; member 124 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h), .defval = (b) } 125 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value = check_vtype(v, bool *), .help = (h) } 126 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value = check_vtype(v, bool *), .help = (h), .flags = (f) } 129 .value = check_vtype(v, bool *), .help = (h), \ 131 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .value [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | intel_menlow.c | 53 unsigned long long value; in memory_get_max_bandwidth() local 61 arg.integer.value = MEMORY_ARG_MAX_BANDWIDTH; in memory_get_max_bandwidth() 63 &arg_list, &value); in memory_get_max_bandwidth() 67 if (!value) in memory_get_max_bandwidth() 70 *max_state = value - 1; in memory_get_max_bandwidth() 75 unsigned long *value) in memory_get_cur_bandwidth() 87 arg.integer.value = MEMORY_ARG_CUR_BANDWIDTH; in memory_get_cur_bandwidth() 93 *value = result; in memory_get_cur_bandwidth() 117 arg.integer.value = state; in memory_set_cur_bandwidth() 123 pr_info("Bandwidth value wa in memory_set_cur_bandwidth() 74 memory_get_cur_bandwidth(struct thermal_cooling_device *cdev, unsigned long *value) memory_get_cur_bandwidth() argument 241 sensor_get_auxtrip(acpi_handle handle, int index, unsigned long long *value) sensor_get_auxtrip() argument 263 sensor_set_auxtrip(acpi_handle handle, int index, int value) sensor_set_auxtrip() argument 302 unsigned long long value; aux_show() local 328 int value; aux_store() local [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | exfldio.c | 23 u32 field_datum_byte_offset, u64 *value, u32 read_write); 26 acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value); 186 * value - Where to store value (must at least 199 u32 field_datum_byte_offset, u64 *value, u32 function) in acpi_ex_access_region() 251 value); in acpi_ex_access_region() 277 * value - Value to be stored 279 * RETURN: TRUE if value overflows the field, FALSE otherwise 281 * DESCRIPTION: Check if a value is out of range of the field being written. 283 * are out of range. Normally, the value i 198 acpi_ex_access_region(union acpi_operand_object *obj_desc, u32 field_datum_byte_offset, u64 *value, u32 function) acpi_ex_access_region() argument 290 acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value) acpi_ex_register_overflow() argument 338 acpi_ex_field_datum_io(union acpi_operand_object *obj_desc, u32 field_datum_byte_offset, u64 *value, u32 read_write) acpi_ex_field_datum_io() argument [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | xattr.c | 45 const void *value, size_t size) in cifs_attrib_set() 48 __u32 *pattrib = (__u32 *)value; in cifs_attrib_set() 52 if ((value == NULL) || (size != sizeof(__u32))) in cifs_attrib_set() 69 const void *value, size_t size) in cifs_creation_time_set() 72 __u64 *pcreation_time = (__u64 *)value; in cifs_creation_time_set() 76 if ((value == NULL) || (size != sizeof(__u64))) in cifs_creation_time_set() 94 const char *name, const void *value, in cifs_xattr_set() 126 cifs_dbg(FYI, "size of EA value too large\n"); in cifs_xattr_set() 137 value, size); in cifs_xattr_set() 144 full_path, value, siz in cifs_xattr_set() 43 cifs_attrib_set(unsigned int xid, struct cifs_tcon *pTcon, struct inode *inode, const char *full_path, const void *value, size_t size) cifs_attrib_set() argument 67 cifs_creation_time_set(unsigned int xid, struct cifs_tcon *pTcon, struct inode *inode, const char *full_path, const void *value, size_t size) cifs_creation_time_set() argument 91 cifs_xattr_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *inode, const char *name, const void *value, size_t size, int flags) cifs_xattr_set() argument 215 cifs_attrib_get(struct dentry *dentry, struct inode *inode, void *value, size_t size) cifs_attrib_get() argument 239 cifs_creation_time_get(struct dentry *dentry, struct inode *inode, void *value, size_t size) cifs_creation_time_get() argument 261 cifs_xattr_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *value, size_t size) cifs_xattr_get() argument [all...] |
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace_meter/ |
H A D | hitrace_meter.h | 120 void StartTrace(uint64_t label, const std::string& value, float limit = -1); 121 void StartTraceDebug(bool isDebug, uint64_t label, const std::string& value, float limit = -1); 124 void StartTraceWrapper(uint64_t label, const char *value); 135 void StartAsyncTrace(uint64_t label, const std::string& value, int32_t taskId, float limit = -1); 136 void StartAsyncTraceDebug(bool isDebug, uint64_t label, const std::string& value, int32_t taskId, float limit = -1); 139 void StartAsyncTraceWrapper(uint64_t label, const char *value, int32_t taskId); 145 void StartTraceChain(uint64_t label, const struct HiTraceIdStruct* hiTraceId, const char *value); 150 void FinishAsyncTrace(uint64_t label, const std::string& value, int32_t taskId); 151 void FinishAsyncTraceDebug(bool isDebug, uint64_t label, const std::string& value, int32_t taskId); 154 void FinishAsyncTraceWrapper(uint64_t label, const char *value, int32_ 211 HitraceScoped(uint64_t tag, const std::string &value) HitraceScoped() argument [all...] |
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | mock_single_kv_store.cpp | 48 void MockSingleKvStore::InsertDataToDoCallback(const Key &key, const Value &value) in InsertDataToDoCallback() argument 50 Put(key, value); in InsertDataToDoCallback() 54 entry.value = value; in InsertDataToDoCallback() 65 void MockSingleKvStore::UpdateDataToDoCallback(const Key &key, const Value &value) in UpdateDataToDoCallback() argument 67 Put(key, value); in UpdateDataToDoCallback() 71 entry.value = value; in UpdateDataToDoCallback() 84 Value value; in DeleteDataToDoCallback() local 85 Get(key, value); in DeleteDataToDoCallback() 171 Put(const Key &key, const Value &value) Put() argument 178 Get(const Key &key, Value &value) Get() argument [all...] |
/base/startup/init/services/param/linux/ |
H A D | param_request.c | 50 char logLevel[2] = {0}; // 2 is set param "persist.init.debug.loglevel" value length.
in ParameterInit() 167 static int SystemSetParameter_(const char *name, const char *value, int timeout)
in SystemSetParameter_() argument 169 PARAM_CHECK(name != NULL && value != NULL, return -1, "Invalid name or value");
in SystemSetParameter_() 172 ret = CheckParamValue(NULL, name, value, GetParamValueType(name));
in SystemSetParameter_() 173 PARAM_CHECK(ret == 0, return ret, "Illegal param value %s", value);
in SystemSetParameter_() 181 ret = FillParamMsgContent(request, &offset, PARAM_VALUE, value, strlen(value));
in SystemSetParameter_() 183 return PARAM_CODE_ERROR, "Failed to fill value");
in SystemSetParameter_() 214 SystemSetParameter(const char *name, const char *value) SystemSetParameter() argument 221 SystemSetParameterNoWait(const char *name, const char *value) SystemSetParameterNoWait() argument 250 SystemWaitParameter(const char *name, const char *value, int32_t timeout) SystemWaitParameter() argument [all...] |
/base/startup/init/services/param/adapter/ |
H A D | param_persistadp.c | 31 static int LoadOnePersistParam_(const uint32_t *context, const char *name, const char *value)
in LoadOnePersistParam_() argument 44 result = WriteParam(name, value, &dataIndex, mode);
in LoadOnePersistParam_() 53 result = WriteParam(name, value, &dataIndex, mode);
in LoadOnePersistParam_() 57 if ((strcmp(persetValue, value) != 0)) {
in LoadOnePersistParam_() 58 PARAM_LOGI("%s value is different, preset value is:%s, persist value is:%s", name, persetValue, value);
in LoadOnePersistParam_() 60 result = WriteParam(name, value, &dataIndex, mode);
in LoadOnePersistParam_() 65 PostParamTrigger(EVENT_TRIGGER_PARAM_WATCH, name, value);
in LoadOnePersistParam_() 107 LoadOnePublicPersistParam_(const uint32_t *context, const char *name, const char *value) LoadOnePublicPersistParam_() argument 175 char value[PARAM_VALUE_LEN_MAX] = {0}; LoadPersistParam() local 200 SavePersistParam(const char *name, const char *value) SavePersistParam() argument 260 BatchSavePersistParam(PERSIST_SAVE_HANDLE handle[], const char *name, const char *value) BatchSavePersistParam() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-ctl.c | 36 uinfo->value.integer.min = CTRL_VOL_MIN; in snd_bcm2835_ctl_info() 37 uinfo->value.integer.max = CTRL_VOL_MAX; /* 2303 */ in snd_bcm2835_ctl_info() 41 uinfo->value.integer.min = 0; in snd_bcm2835_ctl_info() 42 uinfo->value.integer.max = 1; in snd_bcm2835_ctl_info() 46 uinfo->value.integer.min = 0; in snd_bcm2835_ctl_info() 47 uinfo->value.integer.max = AUDIO_DEST_MAX - 1; in snd_bcm2835_ctl_info() 60 ucontrol->value.integer.value[0] = chip->volume; in snd_bcm2835_ctl_get() 62 ucontrol->value.integer.value[ in snd_bcm2835_ctl_get() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-help.c | 94 * Don't bother checking return value, because "emacsclient --version" in check_emacsclient_version() 209 const char *value) in do_add_man_viewer_info() 214 new->info = strdup(value); in do_add_man_viewer_info() 227 const char *value) in add_man_viewer_path() 230 do_add_man_viewer_info(name, len, value); in add_man_viewer_path() 239 const char *value) in add_man_viewer_cmd() 244 do_add_man_viewer_info(name, len, value); in add_man_viewer_cmd() 249 static int add_man_viewer_info(const char *var, const char *value) in add_man_viewer_info() argument 260 if (!value) in add_man_viewer_info() 262 return add_man_viewer_path(name, subkey - name, value); in add_man_viewer_info() 207 do_add_man_viewer_info(const char *name, size_t len, const char *value) do_add_man_viewer_info() argument 225 add_man_viewer_path(const char *name, size_t len, const char *value) add_man_viewer_path() argument 237 add_man_viewer_cmd(const char *name, size_t len, const char *value) add_man_viewer_cmd() argument 274 perf_help_config(const char *var, const char *value, void *cb) perf_help_config() argument [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | queue_stack_maps.c | 107 static int __queue_map_get(struct bpf_map *map, void *value, bool delete) in __queue_map_get() argument 122 memset(value, 0, qs->map.value_size); in __queue_map_get() 128 memcpy(value, ptr, qs->map.value_size); in __queue_map_get() 141 static int __stack_map_get(struct bpf_map *map, void *value, bool delete) in __stack_map_get() argument 157 memset(value, 0, qs->map.value_size); in __stack_map_get() 167 memcpy(value, ptr, qs->map.value_size); in __stack_map_get() 178 static int queue_map_peek_elem(struct bpf_map *map, void *value) in queue_map_peek_elem() argument 180 return __queue_map_get(map, value, false); in queue_map_peek_elem() 184 static int stack_map_peek_elem(struct bpf_map *map, void *value) in stack_map_peek_elem() argument 186 return __stack_map_get(map, value, fals in stack_map_peek_elem() 190 queue_map_pop_elem(struct bpf_map *map, void *value) queue_map_pop_elem() argument 196 stack_map_pop_elem(struct bpf_map *map, void *value) stack_map_pop_elem() argument 202 queue_stack_map_push_elem(struct bpf_map *map, void *value, u64 flags) queue_stack_map_push_elem() argument 254 queue_stack_map_update_elem(struct bpf_map *map, void *key, void *value, u64 flags) queue_stack_map_update_elem() argument [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | shpchp_core.c | 46 static int set_attention_status(struct hotplug_slot *slot, u8 value); 49 static int get_power_status(struct hotplug_slot *slot, u8 *value); 50 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 51 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 52 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 179 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() argument 187 retval = slot->hpc_ops->get_power_status(slot, value); in get_power_status() 189 *value = slot->pwr_save; in get_power_status() 194 static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_attention_status() argument 202 retval = slot->hpc_ops->get_attention_status(slot, value); in get_attention_status() 209 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) get_latch_status() argument 224 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) get_adapter_status() argument [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | shpchp_core.c | 45 static int set_attention_status(struct hotplug_slot *slot, u8 value); 48 static int get_power_status(struct hotplug_slot *slot, u8 *value); 49 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 50 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 51 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 178 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() argument 186 retval = slot->hpc_ops->get_power_status(slot, value); in get_power_status() 188 *value = slot->pwr_save; in get_power_status() 193 static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_attention_status() argument 201 retval = slot->hpc_ops->get_attention_status(slot, value); in get_attention_status() 208 get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) get_latch_status() argument 223 get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) get_adapter_status() argument [all...] |
/kernel/linux/linux-6.6/drivers/leds/blink/ |
H A D | leds-bcm63138.c | 90 u8 value) in bcm63138_leds_set_flash_rate() 96 BCM63138_LED_MASK << shift, value << shift); in bcm63138_leds_set_flash_rate() 101 u8 value) in bcm63138_leds_set_bright() 107 BCM63138_LED_MASK << shift, value << shift); in bcm63138_leds_set_bright() 112 enum led_brightness value) in bcm63138_leds_enable_led() 116 bcm63138_leds_update_bits(leds, BCM63138_SW_DATA, bit, value ? bit : 0); in bcm63138_leds_enable_led() 124 enum led_brightness value) in bcm63138_leds_brightness_set() 132 bcm63138_leds_enable_led(leds, led, value); in bcm63138_leds_brightness_set() 133 if (!value) in bcm63138_leds_brightness_set() 136 bcm63138_leds_set_bright(leds, led, value); in bcm63138_leds_brightness_set() 88 bcm63138_leds_set_flash_rate(struct bcm63138_leds *leds, struct bcm63138_led *led, u8 value) bcm63138_leds_set_flash_rate() argument 99 bcm63138_leds_set_bright(struct bcm63138_leds *leds, struct bcm63138_led *led, u8 value) bcm63138_leds_set_bright() argument 110 bcm63138_leds_enable_led(struct bcm63138_leds *leds, struct bcm63138_led *led, enum led_brightness value) bcm63138_leds_enable_led() argument 123 bcm63138_leds_brightness_set(struct led_classdev *led_cdev, enum led_brightness value) bcm63138_leds_brightness_set() argument 148 u8 value; bcm63138_leds_blink_set() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-help.c | 96 * Don't bother checking return value, because "emacsclient --version" in check_emacsclient_version() 211 const char *value) in do_add_man_viewer_info() 216 new->info = strdup(value); in do_add_man_viewer_info() 229 const char *value) in add_man_viewer_path() 232 do_add_man_viewer_info(name, len, value); in add_man_viewer_path() 241 const char *value) in add_man_viewer_cmd() 246 do_add_man_viewer_info(name, len, value); in add_man_viewer_cmd() 251 static int add_man_viewer_info(const char *var, const char *value) in add_man_viewer_info() argument 262 if (!value) in add_man_viewer_info() 264 return add_man_viewer_path(name, subkey - name, value); in add_man_viewer_info() 209 do_add_man_viewer_info(const char *name, size_t len, const char *value) do_add_man_viewer_info() argument 227 add_man_viewer_path(const char *name, size_t len, const char *value) add_man_viewer_path() argument 239 add_man_viewer_cmd(const char *name, size_t len, const char *value) add_man_viewer_cmd() argument 276 perf_help_config(const char *var, const char *value, void *cb) perf_help_config() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/ |
H A D | augmented_raw_syscalls.bpf.c | 14 * is_power_of_2() - check if a value is a power of two 15 * @n: the value to check 17 * Determine whether some value is a power of two, where zero is *not* 42 __type(value, __u32); 54 __type(value, __u32); 66 __type(value, __u32); 85 char value[PATH_MAX]; member 91 __type(value, bool); 115 /* _SS_MAXSIZE value minus size of ss_family */ 136 __type(value, struc [all...] |
/vendor/ohemu/qemu_riscv32_mini_system_demo/fs_data/data/data/panel/pages/index/ |
H A D | index.js | 60 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 62 /******/ Object.defineProperty(exports, '__esModule', { value: true }); 66 /******/ // mode & 1: value is a module id, require it 67 /******/ // mode & 2: merge all properties of value into the ns 68 /******/ // mode & 4: return value when already ns object 70 /******/ __webpack_require__.t = function(value, mode) { 71 /******/ if(mode & 1) value = __webpack_require__(value); 72 /******/ if(mode & 8) return value; 73 /******/ if((mode & 4) && typeof value [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_dpipe.c | 138 match_value->value = kmalloc(match_value->value_size, GFP_KERNEL); in mlxsw_sp_erif_entry_prepare() 139 if (!match_value->value) in mlxsw_sp_erif_entry_prepare() 144 action_value->value = kmalloc(action_value->value_size, GFP_KERNEL); in mlxsw_sp_erif_entry_prepare() 145 if (!action_value->value) in mlxsw_sp_erif_entry_prepare() 150 kfree(match_value->value); in mlxsw_sp_erif_entry_prepare() 165 rif_value = entry->match_values->value; in mlxsw_sp_erif_entry_get() 171 action_value = entry->action_values->value; in mlxsw_sp_erif_entry_get() 422 match_value->value = kmalloc(match_value->value_size, GFP_KERNEL); in mlxsw_sp_dpipe_table_host_entry_prepare() 423 if (!match_value->value) in mlxsw_sp_dpipe_table_host_entry_prepare() 442 match_value->value in mlxsw_sp_dpipe_table_host_entry_prepare() 460 struct devlink_dpipe_value *value; __mlxsw_sp_dpipe_table_host_entry_fill() local 1038 struct devlink_dpipe_value *value; __mlxsw_sp_dpipe_table_adj_entry_fill() local [all...] |
/kernel/linux/linux-5.10/sound/pci/mixart/ |
H A D | mixart_mixer.c | 335 uinfo->value.integer.min = MIXART_ANALOG_PLAYBACK_LEVEL_MIN; /* -96 dB */ in mixart_analog_vol_info() 336 uinfo->value.integer.max = MIXART_ANALOG_PLAYBACK_LEVEL_MAX; /* 0 dB */ in mixart_analog_vol_info() 338 uinfo->value.integer.min = MIXART_ANALOG_CAPTURE_LEVEL_MIN; /* -96 dB */ in mixart_analog_vol_info() 339 uinfo->value.integer.max = MIXART_ANALOG_CAPTURE_LEVEL_MAX; /* 31.5 dB */ in mixart_analog_vol_info() 349 ucontrol->value.integer.value[0] = chip->analog_playback_volume[0]; in mixart_analog_vol_get() 350 ucontrol->value.integer.value[1] = chip->analog_playback_volume[1]; in mixart_analog_vol_get() 352 ucontrol->value.integer.value[ in mixart_analog_vol_get() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_dpipe.c | 138 match_value->value = kmalloc(match_value->value_size, GFP_KERNEL); in mlxsw_sp_erif_entry_prepare() 139 if (!match_value->value) in mlxsw_sp_erif_entry_prepare() 144 action_value->value = kmalloc(action_value->value_size, GFP_KERNEL); in mlxsw_sp_erif_entry_prepare() 145 if (!action_value->value) in mlxsw_sp_erif_entry_prepare() 150 kfree(match_value->value); in mlxsw_sp_erif_entry_prepare() 165 rif_value = entry->match_values->value; in mlxsw_sp_erif_entry_get() 171 action_value = entry->action_values->value; in mlxsw_sp_erif_entry_get() 422 match_value->value = kmalloc(match_value->value_size, GFP_KERNEL); in mlxsw_sp_dpipe_table_host_entry_prepare() 423 if (!match_value->value) in mlxsw_sp_dpipe_table_host_entry_prepare() 442 match_value->value in mlxsw_sp_dpipe_table_host_entry_prepare() 460 struct devlink_dpipe_value *value; __mlxsw_sp_dpipe_table_host_entry_fill() local 1038 struct devlink_dpipe_value *value; __mlxsw_sp_dpipe_table_adj_entry_fill() local [all...] |
/kernel/linux/linux-6.6/sound/pci/mixart/ |
H A D | mixart_mixer.c | 335 uinfo->value.integer.min = MIXART_ANALOG_PLAYBACK_LEVEL_MIN; /* -96 dB */ in mixart_analog_vol_info() 336 uinfo->value.integer.max = MIXART_ANALOG_PLAYBACK_LEVEL_MAX; /* 0 dB */ in mixart_analog_vol_info() 338 uinfo->value.integer.min = MIXART_ANALOG_CAPTURE_LEVEL_MIN; /* -96 dB */ in mixart_analog_vol_info() 339 uinfo->value.integer.max = MIXART_ANALOG_CAPTURE_LEVEL_MAX; /* 31.5 dB */ in mixart_analog_vol_info() 349 ucontrol->value.integer.value[0] = chip->analog_playback_volume[0]; in mixart_analog_vol_get() 350 ucontrol->value.integer.value[1] = chip->analog_playback_volume[1]; in mixart_analog_vol_get() 352 ucontrol->value.integer.value[ in mixart_analog_vol_get() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_encode.h | 171 copied = strscpy(entry->value, in, len); in fc_ct_ms_fill_attr() 173 memset(entry->value + copied + 1, 0, len - copied - 1); in fc_ct_ms_fill_attr() 249 (__be64 *)&entry->value); in fc_ct_ms_fill() 252 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 264 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 276 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 288 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 300 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 312 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill() 324 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value in fc_ct_ms_fill() [all...] |