/linux-4.19.296/drivers/iio/orientation/ |
D | hid-sensor-rotation.c | 69 int size, int *vals, int *val_len, in dev_rot_read_raw() argument 76 vals[0] = 0; in dev_rot_read_raw() 77 vals[1] = 0; in dev_rot_read_raw() 83 vals[i] = rot_state->sampled_vals[i]; in dev_rot_read_raw() 90 vals[0] = rot_state->scale_pre_decml; in dev_rot_read_raw() 91 vals[1] = rot_state->scale_post_decml; in dev_rot_read_raw() 95 *vals = rot_state->value_offset; in dev_rot_read_raw() 100 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw() 104 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
|
/linux-4.19.296/drivers/clk/uniphier/ |
D | clk-uniphier-mux.c | 27 const unsigned int *vals; member 37 mux->vals[index]); in uniphier_clk_mux_set_parent() 53 if ((mux->masks[i] & val) == mux->vals[i]) in uniphier_clk_mux_get_parent() 87 mux->vals = data->vals; in uniphier_clk_register_mux()
|
D | clk-uniphier-mio.c | 58 .vals = { \
|
D | clk-uniphier.h | 62 unsigned int vals[UNIPHIER_CLK_MUX_MAX_PARENTS]; member
|
/linux-4.19.296/drivers/iio/ |
D | industrialio-core.c | 575 int size, const int *vals) in __iio_format_value() argument 583 return snprintf(buf, len, "%d", vals[0]); in __iio_format_value() 588 if (vals[1] < 0) in __iio_format_value() 589 return snprintf(buf, len, "-%d.%06u%s", abs(vals[0]), in __iio_format_value() 590 -vals[1], scale_db ? " dB" : ""); in __iio_format_value() 592 return snprintf(buf, len, "%d.%06u%s", vals[0], vals[1], in __iio_format_value() 595 if (vals[1] < 0) in __iio_format_value() 596 return snprintf(buf, len, "-%d.%09u", abs(vals[0]), in __iio_format_value() 597 -vals[1]); in __iio_format_value() 599 return snprintf(buf, len, "%d.%09u", vals[0], vals[1]); in __iio_format_value() [all …]
|
D | inkern.c | 534 int vals[INDIO_MAX_RAW_ELEMENTS]; in iio_channel_read() local 547 vals, &val_len, info); in iio_channel_read() 548 *val = vals[0]; in iio_channel_read() 549 *val2 = vals[1]; in iio_channel_read() 750 const int **vals, int *type, int *length, in iio_channel_read_avail() argument 757 vals, type, length, info); in iio_channel_read_avail() 761 const int **vals, int *length) in iio_read_avail_channel_raw() argument 773 vals, &type, length, IIO_CHAN_INFO_RAW); in iio_read_avail_channel_raw() 790 const int *vals; in iio_channel_read_max() local 797 ret = iio_channel_read_avail(chan, &vals, type, &length, info); in iio_channel_read_max() [all …]
|
D | iio_core.h | 38 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
|
/linux-4.19.296/drivers/cpufreq/ |
D | s3c24xx-cpufreq.c | 635 struct cpufreq_frequency_table *vals; in s3c_plltab_register() local 638 size = sizeof(*vals) * (plls_no + 1); in s3c_plltab_register() 640 vals = kzalloc(size, GFP_KERNEL); in s3c_plltab_register() 641 if (vals) { in s3c_plltab_register() 642 memcpy(vals, plls, size); in s3c_plltab_register() 643 pll_reg = vals; in s3c_plltab_register() 647 vals += plls_no; in s3c_plltab_register() 648 vals->frequency = CPUFREQ_TABLE_END; in s3c_plltab_register() 654 return vals ? 0 : -ENOMEM; in s3c_plltab_register()
|
/linux-4.19.296/drivers/iio/magnetometer/ |
D | mag3110.c | 119 const int (*vals)[2], int n) in mag3110_show_int_plus_micros() 125 "%d.%06d ", vals[n][0], vals[n][1]); in mag3110_show_int_plus_micros() 133 static int mag3110_get_int_plus_micros_index(const int (*vals)[2], int n, in mag3110_get_int_plus_micros_index() 137 if (val == vals[n][0] && val2 == vals[n][1]) in mag3110_get_int_plus_micros_index()
|
/linux-4.19.296/drivers/nvmem/ |
D | bcm-ocotp.c | 131 static const u32 vals[] = OTPC_PROG_EN_SEQ; in enable_ocotp_program() local 137 for (i = 0; i < ARRAY_SIZE(vals); i++) { in enable_ocotp_program() 138 write_cpu_data(base, vals[i]); in enable_ocotp_program()
|
/linux-4.19.296/drivers/iio/dac/ |
D | dpot-dac.c | 99 const int **vals, int *type, int *length, in dpot_dac_read_avail() argument 107 return iio_read_avail_channel_raw(dac->dpot, vals, length); in dpot_dac_read_avail()
|
/linux-4.19.296/drivers/iio/health/ |
D | afe4403.c | 150 int vals[2]; in afe440x_show_register() local 160 vals[0] = afe440x_attr->val_table[reg_val].integer; in afe440x_show_register() 161 vals[1] = afe440x_attr->val_table[reg_val].fract; in afe440x_show_register() 163 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, 2, vals); in afe440x_show_register()
|
D | afe4404.c | 183 int vals[2]; in afe440x_show_register() local 193 vals[0] = afe440x_attr->val_table[reg_val].integer; in afe440x_show_register() 194 vals[1] = afe440x_attr->val_table[reg_val].fract; in afe440x_show_register() 196 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, 2, vals); in afe440x_show_register()
|
/linux-4.19.296/include/linux/iio/ |
D | iio.h | 409 int *vals, 415 const int **vals, 728 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
|
D | consumer.h | 291 const int **vals, int *length);
|
/linux-4.19.296/fs/cifs/ |
D | connect.c | 870 server->vals->header_preamble_size) { in standard_receive3() 887 + server->vals->header_preamble_size); in standard_receive3() 944 if (server->vals->header_preamble_size) in smb2_add_credits_from_hdr() 992 if (server->vals->header_preamble_size == 0) in cifs_demultiplex_thread() 1011 server->vals->header_preamble_size) { in cifs_demultiplex_thread() 1021 buf + server->vals->header_preamble_size, in cifs_demultiplex_thread() 1023 - server->vals->header_preamble_size); in cifs_demultiplex_thread() 1313 vol->vals = &smb1_values; in cifs_parse_smb_version() 1325 vol->vals = &smb20_values; in cifs_parse_smb_version() 1337 vol->vals = &smb21_values; in cifs_parse_smb_version() [all …]
|
D | file.c | 959 if (!(li->type & server->vals->shared_lock_type) || in cifs_find_fid_lock_conflict() 963 if ((type & server->vals->shared_lock_type) && in cifs_find_fid_lock_conflict() 1018 if (conf_lock->type & server->vals->shared_lock_type) in cifs_lock_test() 1377 *type = server->vals->large_lock_type; in cifs_read_flock() 1380 *type |= server->vals->exclusive_lock_type; in cifs_read_flock() 1384 *type |= server->vals->unlock_lock_type; in cifs_read_flock() 1389 *type |= server->vals->shared_lock_type; in cifs_read_flock() 1393 *type |= server->vals->exclusive_lock_type; in cifs_read_flock() 1397 *type |= server->vals->shared_lock_type; in cifs_read_flock() 1421 if (type & server->vals->shared_lock_type) in cifs_getlk() [all …]
|
D | cifsglob.h | 494 #define HEADER_SIZE(server) (server->vals->header_size) 495 #define MAX_HEADER_SIZE(server) (server->vals->max_header_size) 563 struct smb_version_values *vals; member 613 struct smb_version_values *vals; member 927 return ses->server->vals->cap_unix & ses->capabilities; in cap_unix()
|
/linux-4.19.296/drivers/iio/adc/ |
D | ina2xx-adc.c | 449 const int **vals, int *type, int *length, in ina2xx_read_avail() argument 458 *vals = ina219_vshunt_gain_frac; in ina2xx_read_avail() 464 *vals = ina219_vbus_range_tab; in ina2xx_read_avail() 588 int vals[2] = { chip->shunt_resistor_uohm, 1000000 }; in ina2xx_shunt_resistor_show() local 590 return iio_format_value(buf, IIO_VAL_FRACTIONAL, 1, vals); in ina2xx_shunt_resistor_show()
|
/linux-4.19.296/drivers/extcon/ |
D | extcon-arizona.c | 1260 u32 *vals; in arizona_extcon_get_micd_configs() local 1266 vals = kcalloc(nconfs, sizeof(u32), GFP_KERNEL); in arizona_extcon_get_micd_configs() 1267 if (!vals) in arizona_extcon_get_micd_configs() 1270 ret = device_property_read_u32_array(arizona->dev, prop, vals, nconfs); in arizona_extcon_get_micd_configs() 1283 micd_configs[i].src = vals[j++] ? ARIZONA_ACCDET_SRC : 0; in arizona_extcon_get_micd_configs() 1284 micd_configs[i].bias = vals[j++]; in arizona_extcon_get_micd_configs() 1285 micd_configs[i].gpio = vals[j++]; in arizona_extcon_get_micd_configs() 1292 kfree(vals); in arizona_extcon_get_micd_configs()
|
/linux-4.19.296/drivers/iio/afe/ |
D | iio-rescale.c | 78 const int **vals, int *type, int *length, in rescale_read_avail() argument 87 vals, length); in rescale_read_avail()
|
/linux-4.19.296/include/linux/ |
D | input.h | 187 struct input_value *vals; member 294 const struct input_value *vals, unsigned int count);
|
/linux-4.19.296/drivers/iio/potentiometer/ |
D | mcp4531.c | 169 const int **vals, int *type, int *length, in mcp4531_read_avail() argument 177 *vals = data->cfg->avail; in mcp4531_read_avail()
|
/linux-4.19.296/drivers/iio/accel/ |
D | mma8452.c | 259 static ssize_t mma8452_show_int_plus_micros(char *buf, const int (*vals)[2], in mma8452_show_int_plus_micros() 266 vals[n][0], vals[n][1]); in mma8452_show_int_plus_micros() 274 static int mma8452_get_int_plus_micros_index(const int (*vals)[2], int n, in mma8452_get_int_plus_micros_index() 278 if (val == vals[n][0] && val2 == vals[n][1]) in mma8452_get_int_plus_micros_index()
|
/linux-4.19.296/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_hdcs.c | 91 static int hdcs_reg_write_seq(struct sd *sd, u8 reg, u8 *vals, u8 len) in hdcs_reg_write_seq() argument 102 regs[2 * i + 1] = vals[i]; in hdcs_reg_write_seq()
|