Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Dopt3001.c80 enum iio_chan_type chan_type; member
486 if (chan->type != opt->chip_info->chan_type) in opt3001_read_raw()
518 if (chan->type != opt->chip_info->chan_type) in opt3001_write_raw()
790 enum iio_chan_type chan_type = opt->chip_info->chan_type; in opt3001_irq() local
807 IIO_UNMOD_EVENT_CODE(chan_type, 0, in opt3001_irq()
813 IIO_UNMOD_EVENT_CODE(chan_type, 0, in opt3001_irq()
930 .chan_type = IIO_LIGHT,
941 .chan_type = IIO_INTENSITY,
/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.c143 switch (chan->chan_type) { in l2cap_sock_bind()
580 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_getsockopt()
581 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_getsockopt()
582 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_getsockopt()
685 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_sock_getsockopt()
904 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
905 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_setsockopt()
906 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
1000 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
1001 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
[all …]
H A Dl2cap_core.c233 chan->chan_type = L2CAP_CHAN_FIXED; in l2cap_add_scid()
596 switch (chan->chan_type) { in __l2cap_chan_add()
632 if (chan->chan_type != L2CAP_CHAN_FIXED || in __l2cap_chan_add()
670 if (chan->chan_type != L2CAP_CHAN_FIXED || in l2cap_chan_del()
822 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
830 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
862 switch (chan->chan_type) { in l2cap_get_auth_type()
1235 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) in __l2cap_no_conn_pending()
1527 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_start()
1645 } else if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_ready()
[all …]
H A D6lowpan.c635 chan->chan_type = L2CAP_CHAN_CONN_ORIENTED; in chan_create()
H A Dsmp.c3247 chan->chan_type = pchan->chan_type; in smp_new_conn_cb()
/linux/drivers/mailbox/
H A Dexynos-mailbox.c55 if (msg->chan_type != EXYNOS_MBOX_CHAN_TYPE_DOORBELL) { in exynos_mbox_send_data()
56 dev_err(dev, "Unsupported channel type [%d]\n", msg->chan_type); in exynos_mbox_send_data()
/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/imu/bmi270/
H A Dbmi270_core.c608 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/drivers/iio/imu/
H A Dsmi240.c325 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/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.c1843 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req() local
1923 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1927 chan_type = NL80211_CHAN_HT40PLUS; in ieee80211_process_tdls_channel_switch_req()
1930 chan_type = NL80211_CHAN_HT40MINUS; in ieee80211_process_tdls_channel_switch_req()
1933 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1938 cfg80211_chandef_create(&chandef, chan, chan_type); in ieee80211_process_tdls_channel_switch_req()
/linux/drivers/iio/temperature/
H A Dltc2983.c1461 u32 chan_type = 0, *iio_chan; in ltc2983_setup() local
1478 chan_type = IIO_TEMP; in ltc2983_setup()
1481 chan_type = IIO_VOLTAGE; in ltc2983_setup()
1489 st->iio_chan[iio_idx++] = LTC2983_CHAN(chan_type, (*iio_chan)++, in ltc2983_setup()
/linux/drivers/iio/imu/bmi160/
H A Dbmi160_core.c367 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 Dpasemi_dma.h472 enum pasemi_dmachan_type chan_type; /* TX / RX */ member
/linux/drivers/net/wireless/realtek/rtw88/
H A Dfw.c2447 u8 chan_type; in rtw_hw_scan_chan_switch() local
2450 chan_type = COEX_SWITCH_TO_24G; in rtw_hw_scan_chan_switch()
2452 chan_type = COEX_SWITCH_TO_24G_NOFORSCAN; in rtw_hw_scan_chan_switch()
2453 rtw_coex_switchband_notify(rtwdev, chan_type); in rtw_hw_scan_chan_switch()
/linux/include/net/bluetooth/
H A Dl2cap.h534 __u8 chan_type; member
/linux/drivers/iio/adc/
H A Dade9000.c315 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 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()
4091 enum nl80211_channel_type chan_type; in mwifiex_cfg80211_get_channel() local
4107 chan_type = mwifiex_get_chan_type(priv); in mwifiex_cfg80211_get_channel()
4108 cfg80211_chandef_create(chandef, chan, chan_type); in mwifiex_cfg80211_get_channel()