Home
last modified time | relevance | path

Searched +defs:val +defs:type (Results 151 – 175 of 1563) sorted by relevance

12345678910>>...63

/linux-6.14.4/sound/core/seq/oss/
Dseq_oss_event.c123 int val; in extended_event() local
292 int type; in note_on_event() local
372 set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel, struct snd… in set_note_event()
390 set_control_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int param, int val, struct… in set_control_event()
/linux-6.14.4/drivers/net/phy/
Dbcm54140.c147 enum hwmon_sensor_types type, in bcm54140_hwmon_is_visible()
180 long *val) in bcm54140_hwmon_read_alarm()
204 static int bcm54140_hwmon_read_temp(struct device *dev, u32 attr, long *val) in bcm54140_hwmon_read_temp()
238 int channel, long *val) in bcm54140_hwmon_read_in()
272 enum hwmon_sensor_types type, u32 attr, in bcm54140_hwmon_read()
273 int channel, long *val) in bcm54140_hwmon_read()
291 enum hwmon_sensor_types type, u32 attr, in bcm54140_hwmon_read_string()
309 int channel, long val) in bcm54140_hwmon_write_temp()
334 int channel, long val) in bcm54140_hwmon_write_in()
358 enum hwmon_sensor_types type, u32 attr, in bcm54140_hwmon_write()
[all …]
/linux-6.14.4/tools/perf/util/
Dperf_event_attr_fprintf.c80 static const char *stringify_perf_type_id(struct perf_pmu *pmu, u32 type) in stringify_perf_type_id()
223 static void __p_config_id(struct perf_pmu *pmu, char *buf, size_t size, u32 type, u64 value) in __p_config_id()
250 #define p_hex(val) snprintf(buf, BUF_SIZE, "%#"PRIx64, (uint64_t)(val)) argument
251 #define p_unsigned(val) snprintf(buf, BUF_SIZE, "%"PRIu64, (uint64_t)(val)) argument
252 #define p_signed(val) snprintf(buf, BUF_SIZE, "%"PRId64, (int64_t)(val)) argument
253 #define p_sample_type(val) __p_sample_type(buf, BUF_SIZE, val) argument
254 #define p_branch_sample_type(val) __p_branch_sample_type(buf, BUF_SIZE, val) argument
255 #define p_read_format(val) __p_read_format(buf, BUF_SIZE, val) argument
256 #define p_type_id(val) __p_type_id(pmu, buf, BUF_SIZE, val) argument
257 #define p_config_id(val) __p_config_id(pmu, buf, BUF_SIZE, attr->type, val) argument
/linux-6.14.4/drivers/iio/adc/
Dad7291.c201 enum iio_event_type type, in ad7291_read_event_value()
204 int *val, int *val2) in ad7291_read_event_value()
226 enum iio_event_type type, in ad7291_write_event_value()
229 int val, int val2) in ad7291_write_event_value()
247 enum iio_event_type type, in ad7291_read_event_config()
270 enum iio_event_type type, in ad7291_write_event_config()
320 int *val, in ad7291_read_raw()
/linux-6.14.4/arch/m68k/mm/
Dsun3kmap.c28 unsigned long type) in do_page_mapin()
47 unsigned long type, int pages) in do_pmeg_mapin()
62 unsigned long type) in sun3_ioremap()
133 int sun3_map_test(unsigned long addr, char *val) in sun3_map_test()
/linux-6.14.4/drivers/iio/accel/
Dsca3000.c277 static int sca3000_write_reg(struct sca3000_state *st, u8 address, u8 val) in sca3000_write_reg()
366 uint8_t val) in sca3000_write_ctrl_reg()
605 static int sca3000_read_raw_samp_freq(struct sca3000_state *st, int *val) in sca3000_read_raw_samp_freq()
639 static int sca3000_write_raw_samp_freq(struct sca3000_state *st, int val) in sca3000_write_raw_samp_freq()
664 static int sca3000_read_3db_freq(struct sca3000_state *st, int *val) in sca3000_read_3db_freq()
691 static int sca3000_write_3db_freq(struct sca3000_state *st, int val) in sca3000_write_3db_freq()
718 int *val, in sca3000_read_raw()
786 int val, int val2, long mask) in sca3000_write_raw()
830 int len = 0, ret, val; in sca3000_read_av_freq() local
875 enum iio_event_type type, in sca3000_read_event_value()
[all …]
/linux-6.14.4/tools/testing/selftests/kvm/arm64/
Dset_id_regs.c32 enum ftr_type type; member
57 #define REG_FTR_BITS(type, reg, field, safe_val) \ argument
61 #define S_REG_FTR_BITS(type, reg, field, safe_val) \ argument
346 uint64_t val, new_val, ftr; in test_reg_set_success() local
369 uint64_t val, old_val, ftr; in test_reg_set_fail() local
452 uint64_t val; in test_user_set_mpam_reg() local
614 u64 val; in test_vcpu_ftr_id_regs() local
659 uint64_t val, el0; in main() local
/linux-6.14.4/drivers/hwmon/
Dnzxt-kraken3.c123 static umode_t kraken3_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, in kraken3_is_visible()
198 static int kraken3_percent_to_pwm(long val) in kraken3_percent_to_pwm()
203 static int kraken3_pwm_to_percent(long val, int channel) in kraken3_pwm_to_percent()
289 static int kraken3_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, in kraken3_read()
290 long *val) in kraken3_read()
334 static int kraken3_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, in kraken3_read_string()
377 static int kraken3_write_fixed_duty(struct kraken3_data *priv, long val, int channel) in kraken3_write_fixed_duty()
406 static int kraken3_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, in kraken3_write()
407 long val) in kraken3_write()
487 long val; in kraken3_fan_curve_pwm_store() local
Dina2xx.c254 int val; in ina2xx_get_value() local
291 static int ina2xx_read_init(struct device *dev, int reg, long *val) in ina2xx_read_init()
359 static u16 ina226_alert_to_reg(struct ina2xx_data *data, int reg, long val) in ina226_alert_to_reg()
387 static int ina226_alert_limit_read(struct ina2xx_data *data, u32 mask, int reg, long *val) in ina226_alert_limit_read()
411 static int ina226_alert_limit_write(struct ina2xx_data *data, u32 mask, int reg, long val) in ina226_alert_limit_write()
443 static int ina2xx_chip_read(struct device *dev, u32 attr, long *val) in ina2xx_chip_read()
463 static int ina226_alert_read(struct regmap *regmap, u32 mask, long *val) in ina226_alert_read()
477 static int ina2xx_in_read(struct device *dev, u32 attr, int channel, long *val) in ina2xx_in_read()
519 static int sy24655_average_power_read(struct ina2xx_data *data, u8 reg, long *val) in sy24655_average_power_read()
547 static int ina2xx_power_read(struct device *dev, u32 attr, long *val) in ina2xx_power_read()
[all …]
Dmax6639.c69 #define FAN_FROM_REG(val, rpm_range) ((val) == 0 || (val) == 255 ? \ argument
71 #define TEMP_LIMIT_TO_REG(val) clamp_val((val) / 1000, 0, 255) argument
107 unsigned int val; in max6639_temp_read_fault() local
122 unsigned int val; in max6639_temp_read_max() local
137 unsigned int val; in max6639_temp_read_crit() local
152 unsigned int val; in max6639_temp_read_emergency() local
167 unsigned int val; in max6639_get_status() local
179 static int max6639_temp_set_max(struct max6639_data *data, int channel, long val) in max6639_temp_set_max()
188 static int max6639_temp_set_crit(struct max6639_data *data, int channel, long val) in max6639_temp_set_crit()
197 static int max6639_temp_set_emergency(struct max6639_data *data, int channel, long val) in max6639_temp_set_emergency()
[all …]
Dtps23861.c126 static int tps23861_read_temp(struct tps23861_data *data, long *val) in tps23861_read_temp()
141 long *val) in tps23861_read_voltage()
166 long *val) in tps23861_read_current()
213 static umode_t tps23861_is_visible(const void *data, enum hwmon_sensor_types type, in tps23861_is_visible()
248 static int tps23861_write(struct device *dev, enum hwmon_sensor_types type, in tps23861_write()
249 u32 attr, int channel, long val) in tps23861_write()
276 static int tps23861_read(struct device *dev, enum hwmon_sensor_types type, in tps23861_read()
277 u32 attr, int channel, long *val) in tps23861_read()
326 enum hwmon_sensor_types type, in tps23861_read_string()
Dina3221.c226 int *val) in ina3221_read_value()
257 static int ina3221_read_chip(struct device *dev, u32 attr, long *val) in ina3221_read_chip()
277 static int ina3221_read_in(struct device *dev, u32 attr, int channel, long *val) in ina3221_read_in()
335 int channel, long *val) in ina3221_read_curr()
396 static int ina3221_write_chip(struct device *dev, u32 attr, long val) in ina3221_write_chip()
439 int channel, long val) in ina3221_write_curr()
532 static int ina3221_read(struct device *dev, enum hwmon_sensor_types type, in ina3221_read()
533 u32 attr, int channel, long *val) in ina3221_read()
561 static int ina3221_write(struct device *dev, enum hwmon_sensor_types type, in ina3221_write()
562 u32 attr, int channel, long val) in ina3221_write()
[all …]
Dtmp421.c196 static int tmp421_read(struct device *dev, enum hwmon_sensor_types type, in tmp421_read()
197 u32 attr, int channel, long *val) in tmp421_read()
231 static int tmp421_read_string(struct device *dev, enum hwmon_sensor_types type, in tmp421_read_string()
241 static int tmp421_write(struct device *dev, enum hwmon_sensor_types type, in tmp421_write()
242 u32 attr, int channel, long val) in tmp421_write()
259 static umode_t tmp421_is_visible(const void *data, enum hwmon_sensor_types type, in tmp421_is_visible()
370 s32 val; in tmp421_probe_child_from_dt() local
Daspeed-g6-pwm-tach.c155 u32 duty_pt, val; in aspeed_pwm_get_state() local
191 u32 hwpwm = pwm->hwpwm, duty_pt, val; in aspeed_pwm_apply() local
304 u32 val; in aspeed_get_fan_tach_ch_rpm() local
315 enum hwmon_sensor_types type, u32 attr, in aspeed_tach_hwmon_read()
316 int channel, long *val) in aspeed_tach_hwmon_read()
337 enum hwmon_sensor_types type, u32 attr, in aspeed_tach_hwmon_write()
338 int channel, long val) in aspeed_tach_hwmon_write()
363 enum hwmon_sensor_types type, in aspeed_tach_dev_is_visible()
405 u32 val; in aspeed_present_fan_tach() local
/linux-6.14.4/drivers/input/keyboard/
Dtca6416-keypad.c48 static int tca6416_write_reg(struct tca6416_keypad_chip *chip, int reg, u16 val) in tca6416_write_reg()
65 static int tca6416_read_reg(struct tca6416_keypad_chip *chip, int reg, u16 *val) in tca6416_read_reg()
85 u16 reg_val, val; in tca6416_keys_scan() local
101 unsigned int type = button->type ?: EV_KEY; in tca6416_keys_scan() local
230 unsigned int type; in tca6416_keypad_probe() local
/linux-6.14.4/drivers/mtd/chips/
Dcfi_util.c44 unsigned type = cfi->device_type; in cfi_build_cmd_addr() local
68 map_word val = { {0} }; in cfi_build_cmd() local
132 unsigned long cfi_merge_status(map_word val, struct map_info *map, in cfi_merge_status()
204 int type, map_word *prev_val) in cfi_send_gen_cmd()
206 map_word val; in cfi_send_gen_cmd() local
223 map_word val[3]; in cfi_qry_present() local
/linux-6.14.4/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c320 u8 val; in inv_mpu6050_pwr_mgmt_1_write() local
365 unsigned int sleep, val; in inv_mpu6050_switch_engine() local
510 enum inv_mpu6050_fsr_e val) in inv_mpu6050_set_gyro_fsr()
529 enum inv_mpu6050_filter_e val) in inv_mpu6050_set_accel_lpf_regs()
558 enum inv_mpu6050_filter_e val) in inv_mpu6050_set_lpf_regs()
624 int axis, int val) in inv_mpu6050_sensor_set()
635 int axis, int *val) in inv_mpu6050_sensor_show()
651 int *val) in inv_mpu6050_read_channel_data()
751 int *val, int *val2, long mask) in inv_mpu6050_read_raw()
822 static int inv_mpu6050_write_gyro_scale(struct inv_mpu6050_state *st, int val, in inv_mpu6050_write_gyro_scale()
[all …]
/linux-6.14.4/drivers/usb/serial/
Dxr_serial.c239 const struct xr_type *type; member
244 static int xr_set_reg(struct usb_serial_port *port, u8 channel, u16 reg, u16 val) in xr_set_reg()
247 const struct xr_type *type = data->type; in xr_set_reg() local
264 static int xr_get_reg(struct usb_serial_port *port, u8 channel, u16 reg, u16 *val) in xr_get_reg()
267 const struct xr_type *type = data->type; in xr_get_reg() local
303 static int xr_set_reg_uart(struct usb_serial_port *port, u16 reg, u16 val) in xr_set_reg_uart()
310 static int xr_get_reg_uart(struct usb_serial_port *port, u16 reg, u16 *val) in xr_get_reg_uart()
317 static int xr_set_reg_um(struct usb_serial_port *port, u8 reg_base, u8 val) in xr_set_reg_um()
467 const struct xr_type *type = data->type; in xr_tiocmset_port() local
512 const struct xr_type *type = data->type; in xr_break_ctl() local
[all …]
/linux-6.14.4/drivers/iio/light/
Dapds9300.c236 struct iio_chan_spec const *chan, int *val, int *val2, in apds9300_read_raw()
274 const struct iio_chan_spec *chan, enum iio_event_type type, in apds9300_read_thresh()
276 int *val, int *val2) in apds9300_read_thresh()
295 const struct iio_chan_spec *chan, enum iio_event_type type, in apds9300_write_thresh()
296 enum iio_event_direction dir, enum iio_event_info info, int val, in apds9300_write_thresh()
314 enum iio_event_type type, in apds9300_read_interrupt_config()
323 const struct iio_chan_spec *chan, enum iio_event_type type, in apds9300_write_interrupt_config()
/linux-6.14.4/fs/squashfs/
Dxattr.c46 struct squashfs_xattr_val val; in squashfs_listxattr() local
124 struct squashfs_xattr_val val; in squashfs_xattr_get() local
125 int type, prefix, name_size; in squashfs_xattr_get() local
246 static const struct xattr_handler *squashfs_xattr_handler(int type) in squashfs_xattr_handler()
/linux-6.14.4/drivers/irqchip/
Dirq-imx-gpcv2.c78 u32 mask, val; in imx_gpcv2_irq_set_wake() local
99 u32 val; in imx_gpcv2_irq_unmask() local
115 u32 val; in imx_gpcv2_irq_mask() local
143 unsigned int *type) in imx_gpcv2_domain_translate()
168 unsigned int type; in imx_gpcv2_domain_alloc() local
/linux-6.14.4/drivers/iio/position/
Diqs624-pos.c112 static int iqs624_pos_angle_get(struct iqs62x_core *iqs62x, unsigned int *val) in iqs624_pos_angle_get()
133 int *val, int *val2, long mask) in iqs624_pos_read_raw()
167 enum iio_event_type type, in iqs624_pos_read_event_config()
182 enum iio_event_type type, in iqs624_pos_write_event_config()
188 unsigned int val; in iqs624_pos_write_event_config() local
/linux-6.14.4/drivers/iio/common/scmi_sensors/
Dscmi_iio.c134 static int scmi_iio_set_odr_val(struct iio_dev *iio_dev, int val, int val2) in scmi_iio_set_odr_val()
201 struct iio_chan_spec const *chan, int val, in scmi_iio_write_raw()
220 const int **vals, int *type, int *length, in scmi_iio_read_avail()
250 static int scmi_iio_get_odr_val(struct iio_dev *iio_dev, int *val, int *val2) in scmi_iio_get_odr_val()
287 struct iio_chan_spec const *ch, int *val, int *val2) in scmi_iio_read_channel_data()
333 struct iio_chan_spec const *ch, int *val, in scmi_iio_read_raw()
436 enum iio_chan_type type, in scmi_iio_set_data_channel()
497 static u64 scmi_iio_convert_interval_to_ns(u32 val) in scmi_iio_convert_interval_to_ns()
576 enum iio_chan_type type; in scmi_alloc_iiodev() local
/linux-6.14.4/samples/bpf/
Dtracex6.bpf.c32 u64 count, *val; in bpf_prog1() local
59 struct bpf_perf_event_value *val, buf; in BPF_KPROBE() local
60 enum bpf_map_type type; in BPF_KPROBE() local
/linux-6.14.4/net/9p/
Dprotocol.c43 size_t p9_msg_buf_size(struct p9_client *c, enum p9_msg_t type, in p9_msg_buf_size()
267 int8_t *val = va_arg(ap, int8_t *); in p9pdu_vreadf() local
275 int16_t *val = va_arg(ap, int16_t *); in p9pdu_vreadf() local
285 int32_t *val = va_arg(ap, int32_t *); in p9pdu_vreadf() local
295 int64_t *val = va_arg(ap, int64_t *); in p9pdu_vreadf() local
535 int8_t val = va_arg(ap, int); in p9pdu_vwritef() local
541 __le16 val = cpu_to_le16(va_arg(ap, int)); in p9pdu_vwritef() local
547 __le32 val = cpu_to_le32(va_arg(ap, int32_t)); in p9pdu_vwritef() local
553 __le64 val = cpu_to_le64(va_arg(ap, int64_t)); in p9pdu_vwritef() local
573 __le32 val = cpu_to_le32( in p9pdu_vwritef() local
[all …]

12345678910>>...63