Home
last modified time | relevance | path

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

123

/drivers/iio/multiplexer/
Diio-mux.c34 struct iio_chan_spec_ext_info *ext_info; member
54 if (chan->ext_info) { in iio_mux_select()
55 for (i = 0; chan->ext_info[i].name; ++i) { in iio_mux_select()
56 const char *attr = chan->ext_info[i].name; in iio_mux_select()
187 mux->ext_info[private].name, in mux_read_ext_info()
221 mux->ext_info[private].name, in mux_write_ext_info()
252 chan->ext_info = mux->ext_info; in mux_configure_channel()
291 if (!pchan->ext_info[i].write) in mux_configure_channel()
293 if (!pchan->ext_info[i].read) in mux_configure_channel()
297 mux->ext_info[i].name, in mux_configure_channel()
[all …]
/drivers/iio/afe/
Diio-rescale.c203 rescale->ext_info[private].name, in rescale_read_ext_info()
215 rescale->ext_info[private].name, in rescale_write_ext_info()
227 chan->ext_info = rescale->ext_info; in rescale_configure_channel()
398 sizeof_ext_info *= sizeof(*rescale->ext_info); in rescale_probe()
433 rescale->ext_info = devm_kmemdup(dev, in rescale_probe()
434 source->channel->ext_info, in rescale_probe()
436 if (!rescale->ext_info) in rescale_probe()
439 for (i = 0; rescale->ext_info[i].name; ++i) { in rescale_probe()
440 struct iio_chan_spec_ext_info *ext_info = in rescale_probe() local
441 &rescale->ext_info[i]; in rescale_probe()
[all …]
/drivers/iio/
Dinkern.c924 const struct iio_chan_spec_ext_info *ext_info; in iio_get_channel_ext_info_count() local
927 if (!chan->channel->ext_info) in iio_get_channel_ext_info_count()
930 for (ext_info = chan->channel->ext_info; ext_info->name; ext_info++) in iio_get_channel_ext_info_count()
941 const struct iio_chan_spec_ext_info *ext_info; in iio_lookup_ext_info() local
943 if (!chan->channel->ext_info) in iio_lookup_ext_info()
946 for (ext_info = chan->channel->ext_info; ext_info->name; ++ext_info) { in iio_lookup_ext_info()
947 if (!strcmp(attr, ext_info->name)) in iio_lookup_ext_info()
948 return ext_info; in iio_lookup_ext_info()
957 const struct iio_chan_spec_ext_info *ext_info; in iio_read_channel_ext_info() local
959 ext_info = iio_lookup_ext_info(chan, attr); in iio_read_channel_ext_info()
[all …]
Dindustrialio-core.c510 const struct iio_chan_spec_ext_info *ext_info; in iio_read_channel_ext_info() local
512 ext_info = &this_attr->c->ext_info[this_attr->address]; in iio_read_channel_ext_info()
514 return ext_info->read(indio_dev, ext_info->private, this_attr->c, buf); in iio_read_channel_ext_info()
524 const struct iio_chan_spec_ext_info *ext_info; in iio_write_channel_ext_info() local
526 ext_info = &this_attr->c->ext_info[this_attr->address]; in iio_write_channel_ext_info()
528 return ext_info->write(indio_dev, ext_info->private, in iio_write_channel_ext_info()
1308 const struct iio_chan_spec_ext_info *ext_info; in iio_device_add_channel_sysfs() local
1375 if (chan->ext_info) { in iio_device_add_channel_sysfs()
1377 for (ext_info = chan->ext_info; ext_info->name; ext_info++) { in iio_device_add_channel_sysfs()
1378 ret = __iio_add_chan_devattr(ext_info->name, in iio_device_add_channel_sysfs()
[all …]
/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.h84 .ext_info = st_lsm6dsx_accel_ext_info, \
366 } ext_info; member
/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 …]
Dmcp4725.c263 .ext_info = mcp4725_ext_info,
272 .ext_info = mcp4726_ext_info,
Dvf610_dac.c109 .ext_info = vf610_ext_info, \
Dad7303.c193 .ext_info = ad7303_ext_info, \
Dad5624r_spi.c180 .ext_info = ad5624r_ext_info, \
Dti-dac7311.c159 .ext_info = ti_dac_ext_info, \
Dad5504.c261 .ext_info = ad5504_ext_info, \
Dti-dac082s085.c176 .ext_info = ti_dac_ext_info, \
/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()
/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
/drivers/iio/accel/
Dcros_ec_accel_legacy.c190 .ext_info = cros_ec_sensors_ext_info, \
Dmma9553.c929 .ext_info = mma9553_ext_info, \
941 .ext_info = mma9553_ext_info, \
969 .ext_info = mma9553_ext_info,
/drivers/iio/pressure/
Dcros_ec_baro.c161 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_baro_probe()
/drivers/iio/magnetometer/
Dhmc5843_core.c479 .ext_info = hmc5843_ext_info, \
497 .ext_info = hmc5983_ext_info, \
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c294 int pkt_length, struct vxge_hw_ring_rxd_info *ext_info) in vxge_rx_complete() argument
314 if (ext_info->vlan && in vxge_rx_complete()
316 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ext_info->vlan); in vxge_rx_complete()
367 struct vxge_hw_ring_rxd_info ext_info; in vxge_rx_1b_compl() local
395 vxge_hw_ring_rxd_1b_info_get(ringh, dtr, &ext_info); in vxge_rx_1b_compl()
491 if ((ext_info.proto & VXGE_HW_FRAME_PROTO_TCP_OR_UDP) && in vxge_rx_1b_compl()
492 !(ext_info.proto & VXGE_HW_FRAME_PROTO_IP_FRAG) && in vxge_rx_1b_compl()
494 ext_info.l3_cksum == VXGE_HW_L3_CKSUM_OK && in vxge_rx_1b_compl()
495 ext_info.l4_cksum == VXGE_HW_L4_CKSUM_OK) in vxge_rx_1b_compl()
513 if (ext_info.rth_value) in vxge_rx_1b_compl()
[all …]
/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()
/drivers/iio/light/
Dcros_ec_light_prox.c203 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_light_prox_probe()
/drivers/iio/adc/
Denvelope-detector.c316 .ext_info = envelope_detector_ext_info,

123