| /linux/drivers/iio/light/ |
| H A D | opt3001.c | 79 enum iio_chan_type chan_type; member 487 if (chan->type != opt->chip_info->chan_type) in opt3001_read_raw() 519 if (chan->type != opt->chip_info->chan_type) in opt3001_write_raw() 791 enum iio_chan_type chan_type = opt->chip_info->chan_type; in opt3001_irq() local 808 IIO_UNMOD_EVENT_CODE(chan_type, 0, in opt3001_irq() 814 IIO_UNMOD_EVENT_CODE(chan_type, 0, in opt3001_irq() 931 .chan_type = IIO_LIGHT, 942 .chan_type = IIO_INTENSITY,
|
| H A D | rpr0521.c | 604 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 D | common-spectral.c | 129 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 D | l2cap_sock.c | 142 switch (chan->chan_type) { in l2cap_sock_bind() 585 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_getsockopt() 586 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_getsockopt() 587 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_getsockopt() 699 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_sock_getsockopt() 920 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt() 921 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_setsockopt() 922 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt() 1016 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt() 1017 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt() [all …]
|
| H A D | l2cap_core.c | 230 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 D | 6lowpan.c | 637 chan->chan_type = L2CAP_CHAN_CONN_ORIENTED; in chan_create()
|
| /linux/arch/powerpc/platforms/pasemi/ |
| H A D | dma_lib.c | 204 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 D | max22007.c | 344 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 D | ad8460.c | 501 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 D | exynos-mailbox.c | 94 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/drivers/iio/imu/ |
| H A D | smi240.c | 325 int chan_type, int *val) in smi240_get_low_pass_filter_freq() argument 327 switch (chan_type) { in smi240_get_low_pass_filter_freq() 339 static int smi240_get_data(struct smi240_data *data, int chan_type, int axis, in smi240_get_data() argument 345 switch (chan_type) { in smi240_get_data()
|
| /linux/drivers/iio/imu/bmi270/ |
| H A D | bmi270_core.c | 608 static int bmi270_set_scale(struct bmi270_data *data, int chan_type, int uscale) in bmi270_set_scale() argument 614 switch (chan_type) { in bmi270_set_scale() 641 static int bmi270_get_scale(struct bmi270_data *data, int chan_type, int *scale, in bmi270_get_scale() argument 648 switch (chan_type) { in bmi270_get_scale() 681 static int bmi270_set_odr(struct bmi270_data *data, int chan_type, int odr, in bmi270_set_odr() argument 688 switch (chan_type) { in bmi270_set_odr() 717 static int bmi270_get_odr(struct bmi270_data *data, int chan_type, int *odr, in bmi270_get_odr() argument 725 switch (chan_type) { in bmi270_get_odr() 861 static int bmi270_get_data(struct bmi270_data *data, int chan_type, int axis, in bmi270_get_data() argument 868 switch (chan_type) { in bmi270_get_data()
|
| /linux/arch/um/drivers/ |
| H A D | chan_kern.c | 436 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 D | phy.c | 372 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 D | tdls.c | 1849 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req() local 1929 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req() 1933 chan_type = NL80211_CHAN_HT40PLUS; in ieee80211_process_tdls_channel_switch_req() 1936 chan_type = NL80211_CHAN_HT40MINUS; in ieee80211_process_tdls_channel_switch_req() 1939 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req() 1944 cfg80211_chandef_create(&chandef, chan, chan_type); in ieee80211_process_tdls_channel_switch_req()
|
| H A D | ibss.c | 389 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/imu/bmi160/ |
| H A D | bmi160_core.c | 367 static int bmi160_get_data(struct bmi160_data *data, int chan_type, in bmi160_get_data() argument 373 enum bmi160_sensor_type t = bmi160_to_sensor(chan_type); in bmi160_get_data()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pasemi_dma.h | 472 enum pasemi_dmachan_type chan_type; /* TX / RX */ member
|
| /linux/drivers/iio/temperature/ |
| H A D | ltc2983.c | 1840 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/include/net/bluetooth/ |
| H A D | l2cap.h | 532 __u8 chan_type; member
|
| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | cfg80211.c | 49 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() 3155 enum nl80211_channel_type chan_type; in nxpwifi_cfg80211_get_channel() local 3171 chan_type = nxpwifi_get_chan_type(priv); in nxpwifi_cfg80211_get_channel() 3172 cfg80211_chandef_create(chandef, chan, chan_type); in nxpwifi_cfg80211_get_channel()
|
| /linux/drivers/iio/adc/ |
| H A D | ade9000.c | 315 enum iio_chan_type chan_type; member 942 IIO_UNMOD_EVENT_CODE(event->chan_type, in ade9000_irq1_thread()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | cfg80211.c | 70 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/staging/rtl8723bs/os_dep/ |
| H A D | ioctl_cfg80211.c | 1977 enum nl80211_channel_type chan_type; in cfg80211_rtw_get_channel() local 1994 chan_type = rtw_get_chan_type(adapter); in cfg80211_rtw_get_channel() 1995 cfg80211_chandef_create(chandef, chan, chan_type); in cfg80211_rtw_get_channel()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | fw.c | 9580 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 …]
|