Home
last modified time | relevance | path

Searched refs:ext_info (Results 1 – 25 of 97) sorted by relevance

1234

/linux/drivers/iio/multiplexer/
H A Diio-mux.c34 struct iio_chan_spec_ext_info *ext_info; member
56 if (chan->ext_info) { in iio_mux_select()
57 for (i = 0; chan->ext_info[i].name; ++i) { in iio_mux_select()
58 const char *attr = chan->ext_info[i].name; in iio_mux_select()
189 mux->ext_info[private].name, in mux_read_ext_info()
223 mux->ext_info[private].name, in mux_write_ext_info()
254 chan->ext_info = mux->ext_info; in mux_configure_channel()
293 if (!pchan->ext_info[i].write) in mux_configure_channel()
295 if (!pchan->ext_info[i].read) in mux_configure_channel()
299 mux->ext_info[i].name, in mux_configure_channel()
[all …]
/linux/drivers/iio/afe/
H A Diio-rescale.c265 rescale->ext_info[private].name, in rescale_read_ext_info()
277 rescale->ext_info[private].name, in rescale_write_ext_info()
289 chan->ext_info = rescale->ext_info; in rescale_configure_channel()
540 sizeof_ext_info *= sizeof(*rescale->ext_info); in rescale_probe()
575 rescale->ext_info = devm_kmemdup(dev, in rescale_probe()
576 source->channel->ext_info, in rescale_probe()
578 if (!rescale->ext_info) in rescale_probe()
581 for (i = 0; rescale->ext_info[i].name; ++i) { in rescale_probe()
582 struct iio_chan_spec_ext_info *ext_info = in rescale_probe() local
583 &rescale->ext_info[i]; in rescale_probe()
[all …]
/linux/drivers/iio/
H A Dinkern.c957 const struct iio_chan_spec_ext_info *ext_info; in iio_get_channel_ext_info_count() local
960 if (!chan->channel->ext_info) in iio_get_channel_ext_info_count()
963 for (ext_info = chan->channel->ext_info; ext_info->name; ext_info++) in iio_get_channel_ext_info_count()
973 const struct iio_chan_spec_ext_info *ext_info; in iio_lookup_ext_info() local
975 if (!chan->channel->ext_info) in iio_lookup_ext_info()
978 for (ext_info = chan->channel->ext_info; ext_info->name; ++ext_info) { in iio_lookup_ext_info()
979 if (!strcmp(attr, ext_info->name)) in iio_lookup_ext_info()
980 return ext_info; in iio_lookup_ext_info()
989 const struct iio_chan_spec_ext_info *ext_info; in iio_read_channel_ext_info() local
991 ext_info = iio_lookup_ext_info(chan, attr); in iio_read_channel_ext_info()
[all …]
H A Dindustrialio-core.c490 const struct iio_chan_spec_ext_info *ext_info; in iio_read_channel_ext_info() local
492 ext_info = &this_attr->c->ext_info[this_attr->address]; in iio_read_channel_ext_info()
494 return ext_info->read(indio_dev, ext_info->private, this_attr->c, buf); in iio_read_channel_ext_info()
503 const struct iio_chan_spec_ext_info *ext_info; in iio_write_channel_ext_info() local
505 ext_info = &this_attr->c->ext_info[this_attr->address]; in iio_write_channel_ext_info()
507 return ext_info->write(indio_dev, ext_info->private, in iio_write_channel_ext_info()
1297 const struct iio_chan_spec_ext_info *ext_info; in iio_device_add_channel_sysfs() local
1362 if (chan->ext_info) { in iio_device_add_channel_sysfs()
1365 for (ext_info = chan->ext_info; ext_info->name; ext_info++) { in iio_device_add_channel_sysfs()
1366 ret = __iio_add_chan_devattr(ext_info->name, in iio_device_add_channel_sysfs()
[all …]
H A Dindustrialio-backend.c653 const struct iio_chan_spec_ext_info *frontend_ext_info = chan->ext_info; in iio_backend_extend_chan_spec()
665 if (frontend_ext_info && chan->ext_info != frontend_ext_info) in iio_backend_extend_chan_spec()
667 if (!chan->ext_info) in iio_backend_extend_chan_spec()
671 for (back_ext_info = chan->ext_info; back_ext_info->name; back_ext_info++) { in iio_backend_extend_chan_spec()
/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_shub.c299 config[0] = (sensor->ext_info.addr << 1) | 1; in st_lsm6dsx_shub_read()
357 config[0] = sensor->ext_info.addr << 1; in st_lsm6dsx_shub_write()
408 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_get_odr_val()
432 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_set_odr()
465 settings = cur_sensor->ext_info.settings; in st_lsm6dsx_shub_config_channels()
466 config[j] = (sensor->ext_info.addr << 1) | 1; in st_lsm6dsx_shub_config_channels()
487 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_set_enable()
490 sensor->ext_info.slv_odr); in st_lsm6dsx_shub_set_enable()
528 delay = 1000000000 / sensor->ext_info.slv_odr; in st_lsm6dsx_shub_read_oneshot()
569 *val = sensor->ext_info.slv_odr / 1000; in st_lsm6dsx_shub_read_raw()
[all …]
H A Dst_lsm6dsx.h100 .ext_info = st_lsm6dsx_ext_info, \
120 .ext_info = st_lsm6dsx_ext_info, \
394 } ext_info; member
/linux/drivers/iio/dac/
H A Dad5064.c410 .ext_info = (_ext_info), \
413 #define DECLARE_AD5064_CHANNELS(name, bits, shift, ext_info) \ argument
415 AD5064_CHANNEL(0, 0, bits, shift, ext_info), \
416 AD5064_CHANNEL(1, 1, bits, shift, ext_info), \
417 AD5064_CHANNEL(2, 2, bits, shift, ext_info), \
418 AD5064_CHANNEL(3, 3, bits, shift, ext_info), \
419 AD5064_CHANNEL(4, 4, bits, shift, ext_info), \
420 AD5064_CHANNEL(5, 5, bits, shift, ext_info), \
421 AD5064_CHANNEL(6, 6, bits, shift, ext_info), \
422 AD5064_CHANNEL(7, 7, bits, shift, ext_info), \
[all …]
H A Dltc2688.c670 .ext_info = ltc2688_ext_info, \
770 st->iio_chan[reg].ext_info = ltc2688_toggle_sym_ext_info; in ltc2688_channel_config()
820 st->iio_chan[reg].ext_info = ltc2688_dither_ext_info; in ltc2688_channel_config()
823 st->iio_chan[reg].ext_info = ltc2688_toggle_ext_info; in ltc2688_channel_config()
H A Dmcp4725.c269 .ext_info = mcp4725_ext_info,
278 .ext_info = mcp4726_ext_info,
H A Dvf610_dac.c110 .ext_info = vf610_ext_info, \
H A Dad7303.c193 .ext_info = ad7303_ext_info, \
/linux/drivers/net/wireless/ath/ath10k/
H A Dsdio.c1091 mbox_info->ext_info[0].htc_ext_addr = ATH10K_HIF_MBOX0_EXT_BASE_ADDR; in ath10k_sdio_set_mbox_info()
1098 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1104 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1108 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1112 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1116 mbox_info->ext_info[1].htc_ext_addr = in ath10k_sdio_set_mbox_info()
1117 mbox_info->ext_info[0].htc_ext_addr + in ath10k_sdio_set_mbox_info()
1118 mbox_info->ext_info[0].htc_ext_sz + in ath10k_sdio_set_mbox_info()
1120 mbox_info->ext_info[1].htc_ext_sz = ATH10K_HIF_MBOX1_EXT_WIDTH; in ath10k_sdio_set_mbox_info()
1880 ar_sdio->mbox_addr[0] = ar_sdio->mbox_info.ext_info[0].htc_ext_addr; in ath10k_sdio_hif_start()
[all …]
H A Dsdio.h177 struct ath10k_mbox_ext_info ext_info[2]; member
/linux/fs/fat/
H A Dnamei_vfat.c338 struct shortname_info base_info, ext_info; in vfat_create_shortname() local
342 INIT_SHORTNAME_INFO(&ext_info); in vfat_create_shortname()
412 ip, &ext_info); in vfat_create_shortname()
447 if (is_shortname && base_info.valid && ext_info.valid) { in vfat_create_shortname()
452 return (base_info.upper && ext_info.upper); in vfat_create_shortname()
455 (ext_info.upper || ext_info.lower)) { in vfat_create_shortname()
458 if (!ext_info.upper && ext_info.lower) in vfat_create_shortname()
/linux/include/linux/iio/afe/
H A Drescale.h24 struct iio_chan_spec_ext_info *ext_info; member
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_controlq_api.h93 void *ext_info; /* Specific to q type */ member
/linux/drivers/iio/pressure/
H A Dcros_ec_baro.c160 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_baro_probe()
/linux/drivers/iio/accel/
H A Dcros_ec_accel_legacy.c190 .ext_info = cros_ec_sensors_ext_info, \
H A Dmma7660.c85 .ext_info = mma7660_ext_info, \
/linux/drivers/iio/magnetometer/
H A Dhmc5843_core.c479 .ext_info = hmc5843_ext_info, \
497 .ext_info = hmc5983_ext_info, \
/linux/drivers/iio/adc/
H A Dpac1921.c931 .ext_info = pac1921_ext_info_voltage,
954 .ext_info = pac1921_ext_info_voltage,
976 .ext_info = pac1921_ext_info_current,
/linux/include/linux/iio/common/
H A Dst_sensors.h70 .ext_info = ext, \
/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c155 } *ext_info; in mlx4_MAD_IFC() local
158 ext_info = inbox + 256; in mlx4_MAD_IFC()
160 ext_info->my_qpn = cpu_to_be32(in_wc->qp->qp_num); in mlx4_MAD_IFC()
161 ext_info->rqpn = cpu_to_be32(in_wc->src_qp); in mlx4_MAD_IFC()
162 ext_info->sl = in_wc->sl << 4; in mlx4_MAD_IFC()
163 ext_info->g_path = in_wc->dlid_path_bits | in mlx4_MAD_IFC()
165 ext_info->pkey = cpu_to_be16(in_wc->pkey_index); in mlx4_MAD_IFC()
168 memcpy(ext_info->grh, in_grh, 40); in mlx4_MAD_IFC()
/linux/drivers/iio/light/
H A Dcros_ec_light_prox.c202 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_light_prox_probe()

1234