Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/iio/multiplexer/
A Diio-mux.c57 if (chan->ext_info) { 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()
304 pchan->ext_info[i].name); in mux_configure_channel()
309 pchan->ext_info[i].name); in mux_configure_channel()
406 if (!mux->ext_info) in mux_probe()
[all …]
/linux-6.3-rc2/drivers/iio/afe/
A 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()
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()
572 &rescale->ext_info[i]; in rescale_probe()
574 if (source->channel->ext_info[i].read) in rescale_probe()
575 ext_info->read = rescale_read_ext_info; in rescale_probe()
576 if (source->channel->ext_info[i].write) in rescale_probe()
[all …]
/linux-6.3-rc2/drivers/iio/
A Dinkern.c973 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()
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()
1004 ext_info = iio_lookup_ext_info(chan, attr); in iio_read_channel_ext_info()
1005 if (!ext_info) in iio_read_channel_ext_info()
1008 return ext_info->read(chan->indio_dev, ext_info->private, in iio_read_channel_ext_info()
1019 if (!ext_info) in iio_write_channel_ext_info()
[all …]
A Dindustrialio-core.c470 const struct iio_chan_spec_ext_info *ext_info; in iio_read_channel_ext_info() local
472 ext_info = &this_attr->c->ext_info[this_attr->address]; in iio_read_channel_ext_info()
474 return ext_info->read(indio_dev, ext_info->private, this_attr->c, buf); in iio_read_channel_ext_info()
486 ext_info = &this_attr->c->ext_info[this_attr->address]; in iio_write_channel_ext_info()
488 return ext_info->write(indio_dev, ext_info->private, in iio_write_channel_ext_info()
1336 if (chan->ext_info) { in iio_device_add_channel_sysfs()
1339 for (ext_info = chan->ext_info; ext_info->name; ext_info++) { in iio_device_add_channel_sysfs()
1342 ext_info->read ? in iio_device_add_channel_sysfs()
1344 ext_info->write ? in iio_device_add_channel_sysfs()
1347 ext_info->shared, in iio_device_add_channel_sysfs()
[all …]
/linux-6.3-rc2/drivers/iio/imu/st_lsm6dsx/
A Dst_lsm6dsx_shub.c357 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()
487 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_set_enable()
490 sensor->ext_info.slv_odr); in st_lsm6dsx_shub_set_enable()
647 sensor->ext_info.slv_odr = val; in st_lsm6dsx_shub_write_raw()
675 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_sampling_freq_avail()
695 settings = sensor->ext_info.settings; in st_lsm6dsx_shub_scale_avail()
748 sensor->ext_info.settings = info; in st_lsm6dsx_shub_alloc_iiodev()
749 sensor->ext_info.addr = i2c_addr; in st_lsm6dsx_shub_alloc_iiodev()
[all …]
A Dst_lsm6dsx.h96 .ext_info = st_lsm6dsx_ext_info, \
116 .ext_info = st_lsm6dsx_ext_info, \
379 } ext_info; member
/linux-6.3-rc2/drivers/iio/dac/
A Dad5064.c410 .ext_info = (_ext_info), \
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), \
427 AD5064_CHANNEL(0, 0, bits, shift, ext_info), \
[all …]
A Dltc2688.c670 .ext_info = ltc2688_ext_info, \
775 st->iio_chan[reg].ext_info = ltc2688_toggle_sym_ext_info; in ltc2688_channel_config()
830 st->iio_chan[reg].ext_info = ltc2688_dither_ext_info; in ltc2688_channel_config()
833 st->iio_chan[reg].ext_info = ltc2688_toggle_ext_info; in ltc2688_channel_config()
A Dmcp4725.c252 .ext_info = mcp4725_ext_info,
261 .ext_info = mcp4726_ext_info,
A Dad7303.c193 .ext_info = ad7303_ext_info, \
A Dvf610_dac.c110 .ext_info = vf610_ext_info, \
A Dad5624r_spi.c180 .ext_info = ad5624r_ext_info, \
A Dti-dac7311.c159 .ext_info = ti_dac_ext_info, \
/linux-6.3-rc2/drivers/i3c/
A Ddevice.c224 u16 manuf, part, ext_info; in i3c_device_match_id() local
231 ext_info = I3C_PID_EXTRA_INFO(devinfo.pid); in i3c_device_match_id()
248 (rndpid || id->extra_info != ext_info)) in i3c_device_match_id()
/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/
A Dsdio.c1097 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()
2066 htt_addr = ar_sdio->mbox_info.ext_info[0].htc_ext_addr; in ath10k_sdio_hif_map_service_to_pipe()
2067 wmi_addr = ar_sdio->mbox_info.ext_info[1].htc_ext_addr; in ath10k_sdio_hif_map_service_to_pipe()
2071 htt_addr = ar_sdio->mbox_info.ext_info[1].htc_ext_addr; in ath10k_sdio_hif_map_service_to_pipe()
[all …]
A Dsdio.h177 struct ath10k_mbox_ext_info ext_info[2]; member
/linux-6.3-rc2/fs/fat/
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-6.3-rc2/include/linux/iio/afe/
A Drescale.h24 struct iio_chan_spec_ext_info *ext_info; member
/linux-6.3-rc2/drivers/iio/accel/
A Dcros_ec_accel_legacy.c190 .ext_info = cros_ec_sensors_ext_info, \
/linux-6.3-rc2/drivers/iio/pressure/
A Dcros_ec_baro.c160 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_baro_probe()
/linux-6.3-rc2/drivers/iio/magnetometer/
A Dhmc5843_core.c479 .ext_info = hmc5843_ext_info, \
497 .ext_info = hmc5983_ext_info, \
/linux-6.3-rc2/include/linux/iio/common/
A Dst_sensors.h69 .ext_info = ext, \
/linux-6.3-rc2/drivers/iio/light/
A Dcros_ec_light_prox.c202 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_light_prox_probe()
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/
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-6.3-rc2/tools/lib/bpf/
A Dbtf.c2653 struct btf_ext_info *ext_info; member
2661 struct btf_ext_info *ext_info; in btf_ext_setup_info() local
2739 ext_info = ext_sec->ext_info; in btf_ext_setup_info()
2740 ext_info->len = ext_sec->len - sizeof(__u32); in btf_ext_setup_info()
2741 ext_info->rec_size = record_size; in btf_ext_setup_info()
2742 ext_info->info = info + sizeof(__u32); in btf_ext_setup_info()
2743 ext_info->sec_cnt = sec_cnt; in btf_ext_setup_info()
2754 .ext_info = &btf_ext->func_info, in btf_ext_setup_func_info()
2767 .ext_info = &btf_ext->line_info, in btf_ext_setup_line_info()
2780 .ext_info = &btf_ext->core_relo_info, in btf_ext_setup_core_relos()

Completed in 95 milliseconds

1234