Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/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()
511 enum nl80211_channel_type chan_type; in ath_cmn_process_fft() local
541 chan_type = cfg80211_get_chandef_type(&common->hw->conf.chandef); in ath_cmn_process_fft()
542 if ((chan_type == NL80211_CHAN_HT40MINUS) || in ath_cmn_process_fft()
543 (chan_type == NL80211_CHAN_HT40PLUS)) { in ath_cmn_process_fft()
648 tsf, freq, chan_type); in ath_cmn_process_fft()
[all …]
/linux-4.4.14/net/bluetooth/
Dl2cap_sock.c136 switch (chan->chan_type) { in l2cap_sock_bind()
518 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_getsockopt()
519 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_getsockopt()
520 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_getsockopt()
765 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
766 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_setsockopt()
767 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
862 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
863 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
1513 chan->chan_type = pchan->chan_type; in l2cap_sock_init()
[all …]
Dl2cap_core.c224 chan->chan_type = L2CAP_CHAN_FIXED; in l2cap_add_scid()
526 switch (chan->chan_type) { in __l2cap_chan_add()
562 if (chan->chan_type != L2CAP_CHAN_FIXED || in __l2cap_chan_add()
600 if (chan->chan_type != L2CAP_CHAN_FIXED || in l2cap_chan_del()
723 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
731 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
755 switch (chan->chan_type) { in l2cap_get_auth_type()
1120 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) in __l2cap_no_conn_pending()
1409 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_start()
1531 } 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.c753 chan->chan_type = L2CAP_CHAN_CONN_ORIENTED; in chan_create()
Dsmp.c3088 chan->chan_type = pchan->chan_type; in smp_new_conn_cb()
/linux-4.4.14/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-4.4.14/arch/um/drivers/
Dchan_kern.c406 struct chan_type { struct
411 static const struct chan_type chan_table[] = { argument
450 const struct chan_type *entry; in parse_chan()
/linux-4.4.14/net/mac80211/
Dtdls.c1744 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req() local
1814 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1818 chan_type = NL80211_CHAN_HT40PLUS; in ieee80211_process_tdls_channel_switch_req()
1821 chan_type = NL80211_CHAN_HT40MINUS; in ieee80211_process_tdls_channel_switch_req()
1824 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1829 cfg80211_chandef_create(&chandef, chan, chan_type); in ieee80211_process_tdls_channel_switch_req()
Dibss.c408 enum nl80211_channel_type chan_type; in ieee80211_sta_join_ibss() local
422 chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss()
423 cfg80211_chandef_create(&chandef, cbss->channel, chan_type); in ieee80211_sta_join_ibss()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dphy.c378 enum nl80211_channel_type chan_type = in __mt7601u_phy_set_channel() local
387 chan_ext_below = (chan_type == NL80211_CHAN_HT40MINUS); in __mt7601u_phy_set_channel()
393 if (chan_idx > 1 && chan_type == NL80211_CHAN_HT40MINUS) in __mt7601u_phy_set_channel()
395 else if (chan_idx < 12 && chan_type == NL80211_CHAN_HT40PLUS) in __mt7601u_phy_set_channel()
/linux-4.4.14/net/wireless/
Dchan.c17 enum nl80211_channel_type chan_type) in cfg80211_chandef_create() argument
25 switch (chan_type) { in cfg80211_chandef_create()
/linux-4.4.14/arch/powerpc/include/asm/
Dpasemi_dma.h484 enum pasemi_dmachan_type chan_type; /* TX / RX */ member
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dcfg80211.c82 u8 mwifiex_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type) in mwifiex_chan_type_to_sec_chan_offset() argument
84 switch (chan_type) { in mwifiex_chan_type_to_sec_chan_offset()
3560 enum nl80211_channel_type chan_type; in mwifiex_cfg80211_get_channel() local
3578 chan_type = mwifiex_sec_chan_offset_to_chan_type in mwifiex_cfg80211_get_channel()
3580 cfg80211_chandef_create(chandef, chan, chan_type); in mwifiex_cfg80211_get_channel()
Dmain.h1442 u8 mwifiex_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type);
/linux-4.4.14/include/net/bluetooth/
Dl2cap.h509 __u8 chan_type; member
/linux-4.4.14/drivers/staging/iio/adc/
Dmxs-lradc.c1386 #define MXS_ADC_CHAN(idx, chan_type, name) { \ argument
1387 .type = (chan_type), \
/linux-4.4.14/drivers/scsi/
Dgdth.h633 u8 chan_type; /* channel type */ member