Searched refs:chan_type (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/include/linux/iio/
H A Devents.h14 * @chan_type: Type of the channel. Should be one of enum iio_chan_type.
24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \
28 ((u64)chan_type << 32) | (((u16)chan2) << 16) | ((u16)chan1) | \
34 * @chan_type: Type of the channel. Should be one of enum iio_chan_type.
41 #define IIO_MOD_EVENT_CODE(chan_type, number, modifier, \
43 IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0)
47 * @chan_type: Type of the channel. Should be one of enum iio_chan_type.
53 #define IIO_UNMOD_EVENT_CODE(chan_type, number, type, direction) \
54 IIO_EVENT_CODE(chan_type, 0, 0, direction, type, number, 0, 0)
/linux-master/drivers/mailbox/
H A Dzynqmp-ipi-mailbox.c63 * @chan_type: channel type
72 unsigned int chan_type; member in struct:zynqmp_ipi_mchan
202 if (mchan->chan_type == IPI_MB_CHNL_TX) {
238 if (mchan->chan_type == IPI_MB_CHNL_TX) {
276 if (mchan->chan_type == IPI_MB_CHNL_TX) {
280 mchan->chan_type, (unsigned int)msg->len,
293 mchan->chan_type, (unsigned int)msg->len,
327 nchan_type = (mchan->chan_type + 1) % 2;
341 if (mchan->chan_type == IPI_MB_CHNL_RX) {
362 unsigned int chan_type; local
405 unsigned int chan_type; local
[all...]
/linux-master/drivers/thermal/
H A Dthermal-generic-adc.c80 enum iio_chan_type chan_type; local
87 ret = iio_get_channel_type(gti->channel, &chan_type);
88 if (ret || chan_type != IIO_TEMP)
/linux-master/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx.h83 #define ST_LSM6DSX_CHANNEL_ACC(chan_type, addr, mod, scan_idx) \
85 .type = chan_type, \
104 #define ST_LSM6DSX_CHANNEL(chan_type, addr, mod, scan_idx) \
106 .type = chan_type, \
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c128 u8 *sample_buf, u64 tsf, u16 freq, int chan_type);
134 u64 tsf, u16 freq, int chan_type)
238 u64 tsf, u16 freq, int chan_type)
265 fft_sample_40.channel_type = chan_type;
267 if (chan_type == NL80211_CHAN_HT40PLUS) {
484 enum nl80211_channel_type chan_type; local
517 chan_type = cfg80211_get_chandef_type(&common->hw->conf.chandef);
518 if ((chan_type == NL80211_CHAN_HT40MINUS) ||
519 (chan_type == NL80211_CHAN_HT40PLUS)) {
624 tsf, freq, chan_type);
131 ath_cmn_process_ht20_fft(struct ath_rx_status *rs, struct ath_spec_scan_priv *spec_priv, u8 *sample_buf, u64 tsf, u16 freq, int chan_type) argument
235 ath_cmn_process_ht20_40_fft(struct ath_rx_status *rs, struct ath_spec_scan_priv *spec_priv, u8 *sample_buf, u64 tsf, u16 freq, int chan_type) argument
[all...]
/linux-master/net/bluetooth/
H A Dl2cap_sock.c143 switch (chan->chan_type) {
580 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED &&
581 chan->chan_type != L2CAP_CHAN_FIXED &&
582 chan->chan_type != L2CAP_CHAN_RAW) {
685 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) {
903 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED &&
904 chan->chan_type != L2CAP_CHAN_FIXED &&
905 chan->chan_type != L2CAP_CHAN_RAW) {
999 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED &&
1000 chan->chan_type !
[all...]
H A Dl2cap_core.c237 chan->chan_type = L2CAP_CHAN_FIXED;
572 switch (chan->chan_type) {
608 if (chan->chan_type != L2CAP_CHAN_FIXED ||
645 if (chan->chan_type != L2CAP_CHAN_FIXED ||
797 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) {
805 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) {
837 switch (chan->chan_type) {
1185 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED)
1478 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) {
1598 } else if (chan->chan_type !
[all...]
H A D6lowpan.c626 chan->chan_type = L2CAP_CHAN_CONN_ORIENTED;
/linux-master/arch/powerpc/platforms/pasemi/
H A Ddma_lib.c204 chan->chan_type = type;
221 switch (chan->chan_type & (RXCHAN|TXCHAN)) {
284 if (chan->chan_type == RXCHAN)
311 if (chan->chan_type == RXCHAN) {
/linux-master/arch/um/drivers/
H A Dchan_kern.c396 struct chan_type { struct
401 static const struct chan_type chan_table[] = {
440 const struct chan_type *entry;
/linux-master/drivers/staging/rtl8723bs/include/
H A Dioctl_cfg80211.h115 #define rtw_cfg80211_remain_on_channel_expired(adapter, cookie, chan, chan_type, gfp) cfg80211_remain_on_channel_expired((adapter)->rtw_wdev, cookie, chan, gfp)
/linux-master/drivers/iio/imu/
H A Dfxos8700_core.c417 static int fxos8700_get_data(struct fxos8700_data *data, int chan_type, argument
429 switch (chan_type) {
463 switch (chan_type) {
/linux-master/net/mac80211/
H A Dtdls.c1844 enum nl80211_channel_type chan_type; local
1921 chan_type = NL80211_CHAN_HT20;
1925 chan_type = NL80211_CHAN_HT40PLUS;
1928 chan_type = NL80211_CHAN_HT40MINUS;
1931 chan_type = NL80211_CHAN_HT20;
1936 cfg80211_chandef_create(&chandef, chan, chan_type);
H A Dibss.c395 enum nl80211_channel_type chan_type; local
408 chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef);
409 cfg80211_chandef_create(&chandef, cbss->channel, chan_type);
/linux-master/drivers/iio/adc/
H A Dmxs-lradc-adc.c577 #define MXS_ADC_CHAN(idx, chan_type, name) { \
578 .type = (chan_type), \
/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c372 enum nl80211_channel_type chan_type = local
381 chan_ext_below = (chan_type == NL80211_CHAN_HT40MINUS);
387 if (chan_idx > 1 && chan_type == NL80211_CHAN_HT40MINUS)
389 else if (chan_idx < 12 && chan_type == NL80211_CHAN_HT40PLUS)
/linux-master/drivers/iio/light/
H A Drpr0521.c620 enum iio_chan_type chan_type,
633 switch (chan_type) {
650 enum iio_chan_type chan_type,
619 rpr0521_read_samp_freq(struct rpr0521_data *data, enum iio_chan_type chan_type, int *val, int *val2) argument
649 rpr0521_write_samp_freq_common(struct rpr0521_data *data, enum iio_chan_type chan_type, int val, int val2) argument
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi.c877 enum hdmi_aud_channel_type chan_type; local
899 chan_type = HDMI_AUD_CHAN_TYPE_2_0;
901 chan_type = hdmi->aud_param.aud_input_chan_type;
902 chan_count = mtk_hdmi_aud_get_chnl_count(chan_type);
903 mtk_hdmi_hw_aud_set_i2s_chan_num(hdmi, chan_type, chan_count);
/linux-master/drivers/iio/temperature/
H A Dltc2983.c1529 u32 chan_type = 0, *iio_chan; local
1546 chan_type = IIO_TEMP;
1549 chan_type = IIO_VOLTAGE;
1557 st->iio_chan[iio_idx++] = LTC2983_CHAN(chan_type, (*iio_chan)++,
/linux-master/drivers/iio/imu/bmi160/
H A Dbmi160_core.c361 static int bmi160_get_data(struct bmi160_data *data, int chan_type, argument
367 enum bmi160_sensor_type t = bmi160_to_sensor(chan_type);
/linux-master/arch/powerpc/include/asm/
H A Dpasemi_dma.h472 enum pasemi_dmachan_type chan_type; /* TX / RX */ member in struct:pasemi_dmachan
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dfw.c2408 u8 chan_type; local
2411 chan_type = COEX_SWITCH_TO_24G;
2413 chan_type = COEX_SWITCH_TO_24G_NOFORSCAN;
2414 rtw_coex_switchband_notify(rtwdev, chan_type);
/linux-master/net/wireless/
H A Dchan.c25 enum nl80211_channel_type chan_type)
35 switch (chan_type) {
23 cfg80211_chandef_create(struct cfg80211_chan_def *chandef, struct ieee80211_channel *chan, enum nl80211_channel_type chan_type) argument
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dcfg80211.c70 u8 mwifiex_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type) argument
72 switch (chan_type) {
4030 enum nl80211_channel_type chan_type; local
4046 chan_type = mwifiex_get_chan_type(priv);
4047 cfg80211_chandef_create(chandef, chan, chan_type);
/linux-master/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c1977 enum nl80211_channel_type chan_type; local
1994 chan_type = rtw_get_chan_type(adapter);
1995 cfg80211_chandef_create(chandef, chan, chan_type);

Completed in 345 milliseconds

12