Home
last modified time | relevance | path

Searched refs:chan_type (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/include/linux/iio/
Devents.h27 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument
31 ((u64)chan_type << 32) | (((u16)chan2) << 16) | ((u16)chan1) | \
44 #define IIO_MOD_EVENT_CODE(chan_type, number, modifier, \ argument
46 IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0)
56 #define IIO_UNMOD_EVENT_CODE(chan_type, number, type, direction) \ argument
57 IIO_EVENT_CODE(chan_type, 0, 0, direction, type, number, 0, 0)
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dcommon-spectral.c140 u8 *sample_buf, u64 tsf, u16 freq, int chan_type);
146 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_fft() argument
250 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_40_fft() argument
277 fft_sample_40.channel_type = chan_type; in ath_cmn_process_ht20_40_fft()
279 if (chan_type == NL80211_CHAN_HT40PLUS) { in ath_cmn_process_ht20_40_fft()
513 enum nl80211_channel_type chan_type; in ath_cmn_process_fft() local
546 chan_type = cfg80211_get_chandef_type(&common->hw->conf.chandef); in ath_cmn_process_fft()
547 if ((chan_type == NL80211_CHAN_HT40MINUS) || in ath_cmn_process_fft()
548 (chan_type == NL80211_CHAN_HT40PLUS)) { in ath_cmn_process_fft()
653 tsf, freq, chan_type); in ath_cmn_process_fft()
[all …]
/Linux-v4.19/net/bluetooth/
Dl2cap_sock.c141 switch (chan->chan_type) { in l2cap_sock_bind()
519 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_getsockopt()
520 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_getsockopt()
521 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_getsockopt()
766 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
767 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_setsockopt()
768 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
863 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
864 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
1524 chan->chan_type = pchan->chan_type; in l2cap_sock_init()
[all …]
Dl2cap_core.c235 chan->chan_type = L2CAP_CHAN_FIXED; in l2cap_add_scid()
537 switch (chan->chan_type) { in __l2cap_chan_add()
573 if (chan->chan_type != L2CAP_CHAN_FIXED || in __l2cap_chan_add()
611 if (chan->chan_type != L2CAP_CHAN_FIXED || in l2cap_chan_del()
734 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
742 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
766 switch (chan->chan_type) { in l2cap_get_auth_type()
1131 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) in __l2cap_no_conn_pending()
1420 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_start()
1542 } else if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_ready()
[all …]
Da2mp.c769 chan->chan_type = L2CAP_CHAN_FIXED; in a2mp_chan_open()
D6lowpan.c652 chan->chan_type = L2CAP_CHAN_CONN_ORIENTED; in chan_create()
Dsmp.c3184 chan->chan_type = pchan->chan_type; in smp_new_conn_cb()
/Linux-v4.19/arch/powerpc/platforms/pasemi/
Ddma_lib.c214 chan->chan_type = type; in pasemi_dma_alloc_chan()
231 switch (chan->chan_type & (RXCHAN|TXCHAN)) { in pasemi_dma_free_chan()
296 if (chan->chan_type == RXCHAN) in pasemi_dma_start_chan()
323 if (chan->chan_type == RXCHAN) { in pasemi_dma_stop_chan()
/Linux-v4.19/arch/um/drivers/
Dchan_kern.c369 struct chan_type { struct
374 static const struct chan_type chan_table[] = { argument
413 const struct chan_type *entry; in parse_chan()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dioctl_cfg80211.h118 #define rtw_cfg80211_remain_on_channel_expired(adapter, cookie, chan, chan_type, gfp) cfg80211_rema… argument
/Linux-v4.19/drivers/iio/imu/bmi160/
Dbmi160_core.c320 static int bmi160_get_data(struct bmi160_data *data, int chan_type, in bmi160_get_data() argument
326 enum bmi160_sensor_type t = bmi160_to_sensor(chan_type); in bmi160_get_data()
/Linux-v4.19/drivers/iio/light/
Drpr0521.c619 enum iio_chan_type chan_type, in rpr0521_read_samp_freq() argument
632 switch (chan_type) { in rpr0521_read_samp_freq()
649 enum iio_chan_type chan_type, in rpr0521_write_samp_freq_common() argument
/Linux-v4.19/net/mac80211/
Dtdls.c1773 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req() local
1843 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1847 chan_type = NL80211_CHAN_HT40PLUS; in ieee80211_process_tdls_channel_switch_req()
1850 chan_type = NL80211_CHAN_HT40MINUS; in ieee80211_process_tdls_channel_switch_req()
1853 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1858 cfg80211_chandef_create(&chandef, chan, chan_type); in ieee80211_process_tdls_channel_switch_req()
Dibss.c410 enum nl80211_channel_type chan_type; in ieee80211_sta_join_ibss() local
424 chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss()
425 cfg80211_chandef_create(&chandef, cbss->channel, chan_type); in ieee80211_sta_join_ibss()
/Linux-v4.19/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c881 enum hdmi_aud_channel_type chan_type; in mtk_hdmi_aud_set_input() local
903 chan_type = HDMI_AUD_CHAN_TYPE_2_0; in mtk_hdmi_aud_set_input()
905 chan_type = hdmi->aud_param.aud_input_chan_type; in mtk_hdmi_aud_set_input()
906 chan_count = mtk_hdmi_aud_get_chnl_count(chan_type); in mtk_hdmi_aud_set_input()
907 mtk_hdmi_hw_aud_set_i2s_chan_num(hdmi, chan_type, chan_count); in mtk_hdmi_aud_set_input()
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/
Dphy.c380 enum nl80211_channel_type chan_type = in __mt7601u_phy_set_channel() local
389 chan_ext_below = (chan_type == NL80211_CHAN_HT40MINUS); in __mt7601u_phy_set_channel()
395 if (chan_idx > 1 && chan_type == NL80211_CHAN_HT40MINUS) in __mt7601u_phy_set_channel()
397 else if (chan_idx < 12 && chan_type == NL80211_CHAN_HT40PLUS) in __mt7601u_phy_set_channel()
/Linux-v4.19/drivers/iio/adc/
Dmxs-lradc-adc.c585 #define MXS_ADC_CHAN(idx, chan_type, name) { \ argument
586 .type = (chan_type), \
/Linux-v4.19/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c299 #define ST_LSM6DSX_CHANNEL(chan_type, addr, mod, scan_idx) \ argument
301 .type = chan_type, \
/Linux-v4.19/net/wireless/
Dchan.c18 enum nl80211_channel_type chan_type) in cfg80211_chandef_create() argument
26 switch (chan_type) { in cfg80211_chandef_create()
/Linux-v4.19/arch/powerpc/include/asm/
Dpasemi_dma.h484 enum pasemi_dmachan_type chan_type; /* TX / RX */ member
/Linux-v4.19/include/net/bluetooth/
Dl2cap.h515 __u8 chan_type; member
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c81 u8 mwifiex_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type) in mwifiex_chan_type_to_sec_chan_offset() argument
83 switch (chan_type) { in mwifiex_chan_type_to_sec_chan_offset()
3963 enum nl80211_channel_type chan_type; in mwifiex_cfg80211_get_channel() local
3979 chan_type = mwifiex_get_chan_type(priv); in mwifiex_cfg80211_get_channel()
3980 cfg80211_chandef_create(chandef, chan, chan_type); in mwifiex_cfg80211_get_channel()
Dmain.h1572 u8 mwifiex_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type);
/Linux-v4.19/drivers/scsi/
Dgdth.h631 u8 chan_type; /* channel type */ member