Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/iio/multiplexer/
Diio-mux.c35 struct iio_chan_spec_ext_info *ext_info; member
57 if (chan->ext_info) { in iio_mux_select()
58 for (i = 0; chan->ext_info[i].name; ++i) { in iio_mux_select()
59 const char *attr = chan->ext_info[i].name; in iio_mux_select()
190 mux->ext_info[private].name, in mux_read_ext_info()
224 mux->ext_info[private].name, in mux_write_ext_info()
255 chan->ext_info = mux->ext_info; in mux_configure_channel()
294 if (!pchan->ext_info[i].write) in mux_configure_channel()
296 if (!pchan->ext_info[i].read) in mux_configure_channel()
300 mux->ext_info[i].name, in mux_configure_channel()
[all …]
/linux-6.1.9/drivers/iio/afe/
Diio-rescale.c255 rescale->ext_info[private].name, in rescale_read_ext_info()
267 rescale->ext_info[private].name, in rescale_write_ext_info()
279 chan->ext_info = rescale->ext_info; in rescale_configure_channel()
529 sizeof_ext_info *= sizeof(*rescale->ext_info); in rescale_probe()
564 rescale->ext_info = devm_kmemdup(dev, in rescale_probe()
565 source->channel->ext_info, in rescale_probe()
567 if (!rescale->ext_info) in rescale_probe()
570 for (i = 0; rescale->ext_info[i].name; ++i) { in rescale_probe()
571 struct iio_chan_spec_ext_info *ext_info = in rescale_probe() local
572 &rescale->ext_info[i]; in rescale_probe()
[all …]
/linux-6.1.9/drivers/iio/
Dinkern.c970 const struct iio_chan_spec_ext_info *ext_info; in iio_get_channel_ext_info_count() local
973 if (!chan->channel->ext_info) in iio_get_channel_ext_info_count()
976 for (ext_info = chan->channel->ext_info; ext_info->name; ext_info++) in iio_get_channel_ext_info_count()
986 const struct iio_chan_spec_ext_info *ext_info; in iio_lookup_ext_info() local
988 if (!chan->channel->ext_info) in iio_lookup_ext_info()
991 for (ext_info = chan->channel->ext_info; ext_info->name; ++ext_info) { in iio_lookup_ext_info()
992 if (!strcmp(attr, ext_info->name)) in iio_lookup_ext_info()
993 return ext_info; in iio_lookup_ext_info()
1002 const struct iio_chan_spec_ext_info *ext_info; in iio_read_channel_ext_info() local
1004 ext_info = iio_lookup_ext_info(chan, attr); in iio_read_channel_ext_info()
[all …]
Dindustrialio-core.c498 const struct iio_chan_spec_ext_info *ext_info; in iio_read_channel_ext_info() local
500 ext_info = &this_attr->c->ext_info[this_attr->address]; in iio_read_channel_ext_info()
502 return ext_info->read(indio_dev, ext_info->private, this_attr->c, buf); in iio_read_channel_ext_info()
512 const struct iio_chan_spec_ext_info *ext_info; in iio_write_channel_ext_info() local
514 ext_info = &this_attr->c->ext_info[this_attr->address]; in iio_write_channel_ext_info()
516 return ext_info->write(indio_dev, ext_info->private, in iio_write_channel_ext_info()
1299 const struct iio_chan_spec_ext_info *ext_info; in iio_device_add_channel_sysfs() local
1364 if (chan->ext_info) { in iio_device_add_channel_sysfs()
1367 for (ext_info = chan->ext_info; ext_info->name; ext_info++) { in iio_device_add_channel_sysfs()
1368 ret = __iio_add_chan_devattr(ext_info->name, in iio_device_add_channel_sysfs()
[all …]
/linux-6.1.9/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_shub.c301 config[0] = (sensor->ext_info.addr << 1) | 1; in st_lsm6dsx_shub_read()
359 config[0] = sensor->ext_info.addr << 1; in st_lsm6dsx_shub_write()
410 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_get_odr_val()
434 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_set_odr()
467 settings = cur_sensor->ext_info.settings; in st_lsm6dsx_shub_config_channels()
468 config[j] = (sensor->ext_info.addr << 1) | 1; in st_lsm6dsx_shub_config_channels()
489 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_set_enable()
492 sensor->ext_info.slv_odr); in st_lsm6dsx_shub_set_enable()
530 delay = 1000000000 / sensor->ext_info.slv_odr; in st_lsm6dsx_shub_read_oneshot()
571 *val = sensor->ext_info.slv_odr / 1000; in st_lsm6dsx_shub_read_raw()
[all …]
Dst_lsm6dsx.h88 .ext_info = st_lsm6dsx_accel_ext_info, \
370 } ext_info; member
/linux-6.1.9/drivers/iio/dac/
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 …]
Dltc2688.c671 .ext_info = ltc2688_ext_info, \
776 st->iio_chan[reg].ext_info = ltc2688_toggle_sym_ext_info; in ltc2688_channel_config()
831 st->iio_chan[reg].ext_info = ltc2688_dither_ext_info; in ltc2688_channel_config()
834 st->iio_chan[reg].ext_info = ltc2688_toggle_ext_info; in ltc2688_channel_config()
Dmcp4725.c252 .ext_info = mcp4725_ext_info,
261 .ext_info = mcp4726_ext_info,
Dad7303.c193 .ext_info = ad7303_ext_info, \
Dvf610_dac.c110 .ext_info = vf610_ext_info, \
Dad5624r_spi.c180 .ext_info = ad5624r_ext_info, \
Dti-dac7311.c159 .ext_info = ti_dac_ext_info, \
/linux-6.1.9/drivers/i3c/
Ddevice.c216 u16 manuf, part, ext_info; in i3c_device_match_id() local
223 ext_info = I3C_PID_EXTRA_INFO(devinfo.pid); in i3c_device_match_id()
240 (rndpid || id->extra_info != ext_info)) in i3c_device_match_id()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dsdio.c1090 mbox_info->ext_info[0].htc_ext_addr = ATH10K_HIF_MBOX0_EXT_BASE_ADDR; in ath10k_sdio_set_mbox_info()
1097 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1103 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1107 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1111 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1115 mbox_info->ext_info[1].htc_ext_addr = in ath10k_sdio_set_mbox_info()
1116 mbox_info->ext_info[0].htc_ext_addr + in ath10k_sdio_set_mbox_info()
1117 mbox_info->ext_info[0].htc_ext_sz + in ath10k_sdio_set_mbox_info()
1119 mbox_info->ext_info[1].htc_ext_sz = ATH10K_HIF_MBOX1_EXT_WIDTH; in ath10k_sdio_set_mbox_info()
1879 ar_sdio->mbox_addr[0] = ar_sdio->mbox_info.ext_info[0].htc_ext_addr; in ath10k_sdio_hif_start()
[all …]
Dsdio.h177 struct ath10k_mbox_ext_info ext_info[2]; member
/linux-6.1.9/fs/fat/
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-6.1.9/include/linux/iio/afe/
Drescale.h24 struct iio_chan_spec_ext_info *ext_info; member
/linux-6.1.9/drivers/iio/pressure/
Dcros_ec_baro.c160 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_baro_probe()
/linux-6.1.9/drivers/iio/accel/
Dcros_ec_accel_legacy.c190 .ext_info = cros_ec_sensors_ext_info, \
/linux-6.1.9/drivers/iio/magnetometer/
Dhmc5843_core.c479 .ext_info = hmc5843_ext_info, \
497 .ext_info = hmc5983_ext_info, \
/linux-6.1.9/include/linux/iio/common/
Dst_sensors.h69 .ext_info = ext, \
/linux-6.1.9/drivers/iio/light/
Dcros_ec_light_prox.c202 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_light_prox_probe()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
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-6.1.9/tools/lib/bpf/
Dbtf.c2638 struct btf_ext_info *ext_info; member
2646 struct btf_ext_info *ext_info; in btf_ext_setup_info() local
2724 ext_info = ext_sec->ext_info; in btf_ext_setup_info()
2725 ext_info->len = ext_sec->len - sizeof(__u32); in btf_ext_setup_info()
2726 ext_info->rec_size = record_size; in btf_ext_setup_info()
2727 ext_info->info = info + sizeof(__u32); in btf_ext_setup_info()
2728 ext_info->sec_cnt = sec_cnt; in btf_ext_setup_info()
2739 .ext_info = &btf_ext->func_info, in btf_ext_setup_func_info()
2752 .ext_info = &btf_ext->line_info, in btf_ext_setup_line_info()
2765 .ext_info = &btf_ext->core_relo_info, in btf_ext_setup_core_relos()

1234