Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Dopt3001.c80 enum iio_chan_type chan_type; member
512 if (chan->type != opt->chip_info->chan_type) in opt3001_read_raw()
537 if (chan->type != opt->chip_info->chan_type) in opt3001_write_raw()
827 enum iio_chan_type chan_type = opt->chip_info->chan_type; in opt3001_irq() local
844 IIO_UNMOD_EVENT_CODE(chan_type, 0, in opt3001_irq()
850 IIO_UNMOD_EVENT_CODE(chan_type, 0, in opt3001_irq()
933 .chan_type = IIO_LIGHT,
944 .chan_type = IIO_INTENSITY,
H A Drpr0521.c604 enum iio_chan_type chan_type, in rpr0521_read_samp_freq() argument
617 switch (chan_type) { in rpr0521_read_samp_freq()
634 enum iio_chan_type chan_type, in rpr0521_write_samp_freq_common() argument
/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c129 u8 *sample_buf, u64 tsf, u16 freq, int chan_type);
135 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_fft() argument
239 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_40_fft() argument
266 fft_sample_40.channel_type = chan_type; in ath_cmn_process_ht20_40_fft()
268 if (chan_type == NL80211_CHAN_HT40PLUS) { in ath_cmn_process_ht20_40_fft()
485 enum nl80211_channel_type chan_type; in ath_cmn_process_fft() local
518 chan_type = cfg80211_get_chandef_type(&common->hw->conf.chandef); in ath_cmn_process_fft()
519 if ((chan_type == NL80211_CHAN_HT40MINUS) || in ath_cmn_process_fft()
520 (chan_type == NL80211_CHAN_HT40PLUS)) { in ath_cmn_process_fft()
625 tsf, freq, chan_type); in ath_cmn_process_fft()
[all …]
/linux/net/bluetooth/
H A Dl2cap_sock.c142 switch (chan->chan_type) { in l2cap_sock_bind()
611 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_getsockopt()
612 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_getsockopt()
613 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_getsockopt()
729 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_sock_getsockopt()
954 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
955 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_setsockopt()
956 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
1050 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
1051 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
[all …]
H A Dl2cap_core.c230 chan->chan_type = L2CAP_CHAN_FIXED; in l2cap_add_scid()
545 chan->chan_type = pchan->chan_type; in l2cap_chan_set_defaults()
559 if (chan->chan_type == L2CAP_CHAN_FIXED) { in l2cap_chan_set_defaults()
629 switch (chan->chan_type) { in __l2cap_chan_add()
665 if (chan->chan_type != L2CAP_CHAN_FIXED || in __l2cap_chan_add()
699 if (chan->chan_type != L2CAP_CHAN_FIXED || in l2cap_chan_del()
851 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
859 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
891 switch (chan->chan_type) { in l2cap_get_auth_type()
1264 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) in __l2cap_no_conn_pending()
[all …]
H A D6lowpan.c637 chan->chan_type = L2CAP_CHAN_CONN_ORIENTED; in chan_create()
/linux/arch/powerpc/platforms/pasemi/
H A Ddma_lib.c204 chan->chan_type = type; in pasemi_dma_alloc_chan()
221 switch (chan->chan_type & (RXCHAN|TXCHAN)) { in pasemi_dma_free_chan()
284 if (chan->chan_type == RXCHAN) in pasemi_dma_start_chan()
311 if (chan->chan_type == RXCHAN) { in pasemi_dma_stop_chan()
/linux/drivers/iio/dac/
H A Dmax22007.c344 enum iio_chan_type chan_type; in max22007_parse_channel_cfg() local
362 chan_type = IIO_VOLTAGE; in max22007_parse_channel_cfg()
365 chan_type = IIO_CURRENT; in max22007_parse_channel_cfg()
380 .type = chan_type, in max22007_parse_channel_cfg()
H A Dad8460.c501 static int ad8460_select_fault_type(int chan_type, enum iio_event_direction dir) in ad8460_select_fault_type() argument
503 switch (chan_type) { in ad8460_select_fault_type()
/linux/drivers/mailbox/
H A Dexynos-mailbox.c94 if (msg->chan_type != EXYNOS_MBOX_CHAN_TYPE_DOORBELL) { in exynos_mbox_send_data()
95 dev_err(dev, "Unsupported channel type [%d]\n", msg->chan_type); in exynos_mbox_send_data()
/linux/arch/um/drivers/
H A Dchan_kern.c436 struct chan_type { struct
441 static const struct chan_type chan_table[] = { argument
480 const struct chan_type *entry; in parse_chan()
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c372 enum nl80211_channel_type chan_type = in __mt7601u_phy_set_channel() local
381 chan_ext_below = (chan_type == NL80211_CHAN_HT40MINUS); in __mt7601u_phy_set_channel()
387 if (chan_idx > 1 && chan_type == NL80211_CHAN_HT40MINUS) in __mt7601u_phy_set_channel()
389 else if (chan_idx < 12 && chan_type == NL80211_CHAN_HT40PLUS) in __mt7601u_phy_set_channel()
/linux/net/mac80211/
H A Dtdls.c1863 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req() local
1943 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1947 chan_type = NL80211_CHAN_HT40PLUS; in ieee80211_process_tdls_channel_switch_req()
1950 chan_type = NL80211_CHAN_HT40MINUS; in ieee80211_process_tdls_channel_switch_req()
1953 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1958 cfg80211_chandef_create(&chandef, chan, chan_type); in ieee80211_process_tdls_channel_switch_req()
H A Dibss.c389 enum nl80211_channel_type chan_type; in ieee80211_sta_join_ibss() local
401 chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss()
402 cfg80211_chandef_create(&chandef, cbss->channel, chan_type); in ieee80211_sta_join_ibss()
/linux/drivers/iio/temperature/
H A Dltc2983.c1840 u32 chan_type = 0, *iio_chan; in ltc2983_setup() local
1876 chan_type = IIO_VOLTAGE; in ltc2983_setup()
1880 chan_type = IIO_TEMP; in ltc2983_setup()
1889 st->iio_chan[iio_idx++] = LTC2983_CHAN(chan_type, (*iio_chan)++, in ltc2983_setup()
/linux/arch/powerpc/include/asm/
H A Dpasemi_dma.h472 enum pasemi_dmachan_type chan_type; /* TX / RX */ member
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dcfg80211.c49 u8 nxpwifi_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type) in nxpwifi_chan_type_to_sec_chan_offset() argument
51 switch (chan_type) { in nxpwifi_chan_type_to_sec_chan_offset()
3157 enum nl80211_channel_type chan_type; in nxpwifi_cfg80211_get_channel()
3173 chan_type = nxpwifi_get_chan_type(priv); in nxpwifi_cfg80211_get_channel()
3174 cfg80211_chandef_create(chandef, chan, chan_type); in nxpwifi_cfg80211_get_channel()
3155 enum nl80211_channel_type chan_type; nxpwifi_cfg80211_get_channel() local
H A Dmain.h1341 u8 nxpwifi_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type);
/linux/include/net/bluetooth/
H A Dl2cap.h532 __u8 chan_type; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfg80211.c70 u8 mwifiex_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type) in mwifiex_chan_type_to_sec_chan_offset() argument
72 switch (chan_type) { in mwifiex_chan_type_to_sec_chan_offset()
4090 enum nl80211_channel_type chan_type; in mwifiex_cfg80211_get_channel() local
4106 chan_type = mwifiex_get_chan_type(priv); in mwifiex_cfg80211_get_channel()
4107 cfg80211_chandef_create(chandef, chan, chan_type); in mwifiex_cfg80211_get_channel()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dfw.c9580 int chan_type, int ssid_num, in rtw89_pno_scan_add_chan_ax() argument
9587 ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS; in rtw89_pno_scan_add_chan_ax()
9614 switch (chan_type) { in rtw89_pno_scan_add_chan_ax()
9628 static void rtw89_hw_scan_add_chan_ax(struct rtw89_dev *rtwdev, int chan_type, in rtw89_hw_scan_add_chan_ax() argument
9645 ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS; in rtw89_hw_scan_add_chan_ax()
9687 switch (chan_type) { in rtw89_hw_scan_add_chan_ax()
9724 static void rtw89_pno_scan_add_chan_be(struct rtw89_dev *rtwdev, int chan_type, in rtw89_pno_scan_add_chan_be() argument
9732 ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS; in rtw89_pno_scan_add_chan_be()
9749 switch (chan_type) { in rtw89_pno_scan_add_chan_be()
9762 static void rtw89_hw_scan_add_chan_be(struct rtw89_dev *rtwdev, int chan_type, in rtw89_hw_scan_add_chan_be() argument
[all …]