Searched refs:vals (Results 76 - 100 of 206) sorted by relevance

123456789

/linux-master/sound/soc/codecs/
H A Darizona-jack.c1164 u32 *vals; local
1170 vals = kcalloc(nconfs, sizeof(u32), GFP_KERNEL);
1171 if (!vals)
1174 ret = device_property_read_u32_array(arizona->dev, prop, vals, nconfs);
1187 micd_configs[i].src = vals[j++] ? ARIZONA_ACCDET_SRC : 0;
1188 micd_configs[i].bias = vals[j++];
1189 micd_configs[i].gpio = vals[j++];
1196 kfree(vals);
/linux-master/drivers/iio/accel/
H A Dadxl313_core.c237 const int **vals, int *type, int *length,
242 *vals = (const int *)adxl313_odr_freqs;
235 adxl313_read_freq_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) argument
H A Dbma400_core.c275 int ret, reg_val, raw, vals[2]; local
282 vals[0] = 0;
283 vals[1] = tap_max2min_time[raw];
285 return iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, 2, vals);
1021 const int **vals, int *type, int *length,
1027 *vals = bma400_scales;
1032 *vals = bma400_osr_range;
1037 *vals = bma400_sample_freqs;
1019 bma400_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) argument
H A Dadxl355_core.c586 const int **vals, int *type, int *length,
593 *vals = (const int *)adxl355_odr_table;
600 *vals = (const int *)data->adxl355_hpf_3db_table;
584 adxl355_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) argument
/linux-master/drivers/iio/light/
H A Dopt4001.c302 const int **vals, int *type, int *length,
308 *vals = (const int *)opt4001_int_time_available;
300 opt4001_read_available(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) argument
/linux-master/drivers/input/
H A Devdev.c245 const struct input_value *vals, unsigned int count,
263 for (v = vals; v != vals + count; v++) {
292 const struct input_value *vals, unsigned int count)
303 evdev_pass_values(client, vals, count, ev_time);
306 evdev_pass_values(client, vals, count, ev_time);
317 struct input_value vals[] = { { type, code, value } }; local
319 evdev_events(handle, vals, 1);
244 evdev_pass_values(struct evdev_client *client, const struct input_value *vals, unsigned int count, ktime_t *ev_time) argument
291 evdev_events(struct input_handle *handle, const struct input_value *vals, unsigned int count) argument
/linux-master/drivers/media/i2c/
H A Dov2640.c651 const struct regval_list *vals)
655 while ((vals->reg_num != 0xff) || (vals->value != 0xff)) {
657 vals->reg_num, vals->value);
659 vals->reg_num, vals->value);
663 vals++;
650 ov2640_write_array(struct i2c_client *client, const struct regval_list *vals) argument
/linux-master/include/linux/
H A Dinput.h127 * @vals: array of values queued in the current frame
205 struct input_value *vals; member in struct:input_dev
316 const struct input_value *vals, unsigned int count);
H A Daudit.h95 struct audit_ntp_val vals[AUDIT_NTP_NVALS]; member in struct:audit_ntp_data
552 ad->vals[type].oldval = val;
558 ad->vals[type].newval = val;
/linux-master/fs/smb/server/
H A Dsmb2misc.c344 } else if (credit_charge > conn->vals->max_credits) {
463 if ((work->conn->vals->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU) &&
/linux-master/drivers/iio/dac/
H A Dad3552r.c778 static int ad3552r_find_range(u16 id, s32 *vals) argument
792 if (vals[0] == ranges[i][0] * 1000 &&
793 vals[1] == ranges[i][1] * 1000)
872 u32 vals[2], val, ch; local
951 vals,
957 err = ad3552r_find_range(dac->chip_id, vals);
/linux-master/fs/smb/client/
H A Dfs_context.c392 ctx->vals = &smb1_values;
404 ctx->vals = &smb20_values;
416 ctx->vals = &smb21_values;
420 ctx->vals = &smb30_values;
424 ctx->vals = &smb302_values;
428 ctx->vals = &smb311_values;
432 ctx->vals = &smb3any_values;
436 ctx->vals = &smbdefault_values;
705 if (ctx->rdma && ctx->vals->protocol_id < SMB30_PROT_ID) {
1708 ctx->vals
[all...]
H A Dconnect.c917 bool srv_sign_required = server->sec_mode & server->vals->signing_required;
918 bool srv_sign_enabled = server->sec_mode & server->vals->signing_enabled;
1523 if (strcmp(ctx->vals->version_string, SMB3ANY_VERSION_STRING) == 0) {
1524 if (server->vals->protocol_id < SMB30_PROT_ID)
1526 } else if (strcmp(ctx->vals->version_string,
1528 if (server->vals->protocol_id < SMB21_PROT_ID)
1530 } else if ((server->vals != ctx->vals) || (server->ops != ctx->ops))
1717 tcp_ses->vals = ctx->vals;
[all...]
/linux-master/tools/perf/util/
H A Dstat-display.c446 char buf[64], *vals, *ends; local
453 ends = vals = skip_spaces(buf);
457 fprintf(out, "%s%s%s%s", config->csv_sep, vals, config->csv_sep, skip_spaces(unit));
586 char buf[64], *vals, *ends; local
593 ends = vals = skip_spaces(buf);
597 fprintf(out, "%s%s", vals, config->csv_sep);
608 char buf[64], *vals, *ends; local
615 ends = vals = skip_spaces(buf);
619 if (!unit[0] || !vals[0])
621 fprintf(out, "%s\"%s\" : \"%s\"", os->first ? "" : ", ", unit, vals);
[all...]
H A Dstat.c304 static int check_per_pkg(struct evsel *counter, struct perf_counts_values *vals, argument
337 if (!(vals->run && vals->ena))
/linux-master/drivers/media/pci/saa7134/
H A Dsaa7134-video.c469 } vals[] = { local
482 static const int count = ARRAY_SIZE(vals);
486 if (vals[i].xpsc == prescale)
491 saa_writeb(SAA7134_H_PRESCALE(task), vals[i].xpsc);
492 saa_writeb(SAA7134_ACC_LENGTH(task), vals[i].xacl);
494 (vals[i].xc2_1 << 3) | (vals[i].xdcg));
496 (vals[i].vpfy << 2) | vals[i].vpfy);
/linux-master/drivers/iio/addac/
H A Dad74115.c1223 const int **vals, int *type, int *length, long info)
1228 *vals = ad74115_dac_rate_tbl;
1231 *vals = ad74115_adc_conv_rate_tbl;
1515 s32 vals[2] = { local
1522 device_property_read_u32_array(dev, prop_name, vals, 2);
1525 if (vals[0] == ad74115_adc_range_tbl[i][0] &&
1526 vals[1] == ad74115_adc_range_tbl[i][1])
1532 vals[0], vals[1], prop_name);
1221 ad74115_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long info) argument
/linux-master/drivers/usb/dwc3/
H A Dcore.c1038 u32 *vals; local
1057 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL);
1058 if (!vals)
1063 "snps,incr-burst-type-adjustment", vals, ntype);
1065 kfree(vals);
1070 incrx_size = *vals;
1076 if (vals[i] > incrx_size)
1077 incrx_size = vals[i];
1084 kfree(vals);
/linux-master/drivers/iio/adc/
H A Dina2xx-adc.c454 const int **vals, int *type, int *length,
463 *vals = ina219_vshunt_gain_frac;
469 *vals = ina219_vbus_range_tab;
593 int vals[2] = { chip->shunt_resistor_uohm, 1000000 }; local
595 return iio_format_value(buf, IIO_VAL_FRACTIONAL, 1, vals);
452 ina2xx_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) argument
/linux-master/drivers/iio/gyro/
H A Dadxrs290.c417 const int **vals, int *type, int *length,
422 *vals = (const int *)adxrs290_lpf_3db_freq_hz_table;
429 *vals = (const int *)adxrs290_hpf_3db_freq_hz_table;
415 adxrs290_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) argument
/linux-master/drivers/iio/chemical/
H A Dscd30_core.c332 const int **vals, int *type, int *length, long mask)
336 *vals = scd30_pressure_raw_available;
341 *vals = scd30_temp_calibbias_available;
331 scd30_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) argument
/linux-master/drivers/iio/cdc/
H A Dad7746.c558 struct iio_chan_spec const *chan, const int **vals,
566 *vals = ad7746_v_samp_freq;
570 *vals = ad7746_cap_samp_freq;
557 ad7746_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) argument
/linux-master/drivers/iio/magnetometer/
H A Dtmag5273.c255 const int **vals, int *type, int *length,
262 *vals = tmag5273_avg_table;
270 *vals = (int *)tmag5273_scale[data->version];
253 tmag5273_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) argument
/linux-master/drivers/iio/proximity/
H A Dsx9360.c356 const int **vals, int *type, int *length,
366 *vals = sx9360_gain_vals;
371 *vals = (int *)sx9360_samp_freq_interval;
354 sx9360_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) argument
/linux-master/drivers/gpio/
H A Dgpiolib-cdev.c203 DECLARE_BITMAP(vals, GPIOHANDLES_MAX);
217 NULL, vals);
223 ghd.values[i] = test_bit(i, vals);
242 __assign_bit(i, vals, ghd.values[i]);
250 vals);
1384 DECLARE_BITMAP(vals, GPIO_V2_LINES_MAX);
1426 descs, NULL, vals);
1435 /* unpack compacted vals for the response */
1440 val = test_bit(didx, vals);
1455 DECLARE_BITMAP(vals, GPIO_V2_LINES_MA
[all...]

Completed in 293 milliseconds

123456789