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
488 if (chan->type != opt->chip_info->chan_type) in opt3001_read_raw()
520 if (chan->type != opt->chip_info->chan_type) in opt3001_write_raw()
792 enum iio_chan_type chan_type = opt->chip_info->chan_type; in opt3001_irq()
809 IIO_UNMOD_EVENT_CODE(chan_type, 0, in opt3001_irq()
815 IIO_UNMOD_EVENT_CODE(chan_type, 0, in opt3001_irq()
932 .chan_type = IIO_LIGHT,
943 .chan_type = IIO_INTENSITY,
790 enum iio_chan_type chan_type = opt->chip_info->chan_type; opt3001_irq() local
/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.c141 switch (chan->chan_type) { in l2cap_sock_bind()
584 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_getsockopt()
585 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_getsockopt()
586 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_getsockopt()
698 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_sock_getsockopt()
919 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
920 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_setsockopt()
921 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
1015 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
1016 chan->chan_type ! in l2cap_sock_setsockopt()
[all...]
H A Dl2cap_core.c230 chan->chan_type = L2CAP_CHAN_FIXED; in l2cap_add_scid()
601 switch (chan->chan_type) { in __l2cap_chan_add()
637 if (chan->chan_type != L2CAP_CHAN_FIXED || in __l2cap_chan_add()
671 if (chan->chan_type != L2CAP_CHAN_FIXED || in l2cap_chan_del()
823 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
831 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
863 switch (chan->chan_type) { in l2cap_get_auth_type()
1236 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) in __l2cap_no_conn_pending()
1528 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_start()
1646 } else if (chan->chan_type ! in l2cap_conn_ready()
[all...]
H A D6lowpan.c637 chan->chan_type = L2CAP_CHAN_CONN_ORIENTED; in chan_create()
H A Dsmp.c3214 chan->chan_type = pchan->chan_type; in smp_alloc_skb_cb()
/linux/drivers/mailbox/
H A Dexynos-mailbox.c48 if (msg->chan_type != EXYNOS_MBOX_CHAN_TYPE_DOORBELL) { in exynos_mbox_send_data()
49 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.c1849 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req()
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()
1843 enum nl80211_channel_type chan_type; ieee80211_process_tdls_channel_switch_req() local
/linux/drivers/iio/temperature/
H A Dltc2983.c1841 u32 chan_type = 0, *iio_chan;
1877 chan_type = IIO_VOLTAGE;
1881 chan_type = IIO_TEMP;
1890 st->iio_chan[iio_idx++] = LTC2983_CHAN(chan_type, (*iio_chan)++,
1461 u32 chan_type = 0, *iio_chan; ltc2983_setup() local
/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.c2450 u8 chan_type; in rtw_hw_scan_chan_switch()
2453 chan_type = COEX_SWITCH_TO_24G; in rtw_hw_scan_chan_switch()
2455 chan_type = COEX_SWITCH_TO_24G_NOFORSCAN; in rtw_hw_scan_chan_switch()
2456 rtw_coex_switchband_notify(rtwdev, chan_type); in rtw_hw_scan_chan_switch()
2447 u8 chan_type; rtw_hw_scan_chan_switch() local
/linux/include/net/bluetooth/
H A Dl2cap.h532 __u8 chan_type;
535 __u8 chan_type; global() member
/linux/drivers/firmware/samsung/
H A Dexynos-acpm.c486 msg.chan_type = EXYNOS_MBOX_CHAN_TYPE_DOORBELL; in acpm_do_xfer()
/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()
4092 enum nl80211_channel_type chan_type; in mwifiex_cfg80211_get_channel()
4108 chan_type = mwifiex_get_chan_type(priv); in mwifiex_cfg80211_get_channel()
4109 cfg80211_chandef_create(chandef, chan, chan_type); in mwifiex_cfg80211_get_channel()
4091 enum nl80211_channel_type chan_type; mwifiex_cfg80211_get_channel() local