Home
last modified time | relevance | path

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

12

/drivers/iio/multiplexer/
Diio-mux.c37 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()
191 mux->ext_info[private].name, in mux_read_ext_info()
225 mux->ext_info[private].name, in mux_write_ext_info()
256 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 …]
/drivers/iio/
Dinkern.c873 const struct iio_chan_spec_ext_info *ext_info; in iio_get_channel_ext_info_count() local
876 if (!chan->channel->ext_info) in iio_get_channel_ext_info_count()
879 for (ext_info = chan->channel->ext_info; ext_info->name; ext_info++) in iio_get_channel_ext_info_count()
890 const struct iio_chan_spec_ext_info *ext_info; in iio_lookup_ext_info() local
892 if (!chan->channel->ext_info) in iio_lookup_ext_info()
895 for (ext_info = chan->channel->ext_info; ext_info->name; ++ext_info) { in iio_lookup_ext_info()
896 if (!strcmp(attr, ext_info->name)) in iio_lookup_ext_info()
897 return ext_info; in iio_lookup_ext_info()
906 const struct iio_chan_spec_ext_info *ext_info; in iio_read_channel_ext_info() local
908 ext_info = iio_lookup_ext_info(chan, attr); in iio_read_channel_ext_info()
[all …]
Dindustrialio-core.c417 const struct iio_chan_spec_ext_info *ext_info; in iio_read_channel_ext_info() local
419 ext_info = &this_attr->c->ext_info[this_attr->address]; in iio_read_channel_ext_info()
421 return ext_info->read(indio_dev, ext_info->private, this_attr->c, buf); in iio_read_channel_ext_info()
431 const struct iio_chan_spec_ext_info *ext_info; in iio_write_channel_ext_info() local
433 ext_info = &this_attr->c->ext_info[this_attr->address]; in iio_write_channel_ext_info()
435 return ext_info->write(indio_dev, ext_info->private, in iio_write_channel_ext_info()
1148 const struct iio_chan_spec_ext_info *ext_info; in iio_device_add_channel_sysfs() local
1210 if (chan->ext_info) { in iio_device_add_channel_sysfs()
1212 for (ext_info = chan->ext_info; ext_info->name; ext_info++) { in iio_device_add_channel_sysfs()
1213 ret = __iio_add_chan_devattr(ext_info->name, in iio_device_add_channel_sysfs()
[all …]
/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.c260 .ext_info = mcp4725_ext_info,
269 .ext_info = mcp4726_ext_info,
Dvf610_dac.c117 .ext_info = vf610_ext_info, \
Dad5624r_spi.c182 .ext_info = ad5624r_ext_info, \
Dltc2632.c187 .ext_info = ltc2632_ext_info, \
Dad7303.c191 .ext_info = ad7303_ext_info, \
Dstm32-dac.c245 .ext_info = stm32_dac_ext_info \
Dad5504.c264 .ext_info = ad5504_ext_info, \
Dmax5821.c154 .ext_info = max5821_ext_info, \
Dad5686.c284 .ext_info = ad5686_ext_info, \
/drivers/net/wireless/ath/ath10k/
Dsdio.c1040 mbox_info->ext_info[0].htc_ext_addr = ATH10K_HIF_MBOX0_EXT_BASE_ADDR; in ath10k_sdio_set_mbox_info()
1047 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1053 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1057 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1061 mbox_info->ext_info[0].htc_ext_sz = in ath10k_sdio_set_mbox_info()
1065 mbox_info->ext_info[1].htc_ext_addr = in ath10k_sdio_set_mbox_info()
1066 mbox_info->ext_info[0].htc_ext_addr + in ath10k_sdio_set_mbox_info()
1067 mbox_info->ext_info[0].htc_ext_sz + in ath10k_sdio_set_mbox_info()
1069 mbox_info->ext_info[1].htc_ext_sz = ATH10K_HIF_MBOX1_EXT_WIDTH; in ath10k_sdio_set_mbox_info()
1652 ar_sdio->mbox_addr[0] = ar_sdio->mbox_info.ext_info[0].htc_ext_addr; in ath10k_sdio_hif_start()
[all …]
Dsdio.h182 struct ath10k_mbox_ext_info ext_info[2]; member
/drivers/iio/counter/
Dstm32-lptimer-cnt.c304 .ext_info = stm32_lptim_enc_ext_info,
327 .ext_info = stm32_lptim_cnt_ext_info,
D104-quad-8.c508 .ext_info = quad8_count_ext_info, \
516 .ext_info = quad8_index_ext_info, \
/drivers/iio/pressure/
Dcros_ec_baro.c165 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_baro_probe()
/drivers/iio/magnetometer/
Dhmc5843_core.c477 .ext_info = hmc5843_ext_info, \
495 .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()
490 if ((ext_info.proto & VXGE_HW_FRAME_PROTO_TCP_OR_UDP) && in vxge_rx_1b_compl()
491 !(ext_info.proto & VXGE_HW_FRAME_PROTO_IP_FRAG) && in vxge_rx_1b_compl()
493 ext_info.l3_cksum == VXGE_HW_L3_CKSUM_OK && in vxge_rx_1b_compl()
494 ext_info.l4_cksum == VXGE_HW_L4_CKSUM_OK) in vxge_rx_1b_compl()
512 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.c219 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_light_prox_probe()
/drivers/iio/accel/
Dmma9553.c937 .ext_info = mma9553_ext_info, \
949 .ext_info = mma9553_ext_info, \
977 .ext_info = mma9553_ext_info,
/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors.c231 channel->ext_info = cros_ec_sensors_ext_info; in cros_ec_sensors_probe()
/drivers/iio/adc/
Denvelope-detector.c319 .ext_info = envelope_detector_ext_info,

12