Home
last modified time | relevance | path

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

12

/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 ! 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()
1220 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) in __l2cap_no_conn_pending()
1512 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_start()
1630 } 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()
/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx.h83 #define ST_LSM6DSX_CHANNEL_ACC(chan_type, addr, mod, scan_idx) \ argument
85 .type = chan_type, \
104 #define ST_LSM6DSX_CHANNEL(chan_type, addr, mod, scan_idx) \ argument
106 .type = chan_type, \
/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/gpu/drm/mediatek/
H A Dmtk_hdmi.c617 enum hdmi_aud_channel_type chan_type; in mtk_hdmi_aud_set_input() local
639 chan_type = HDMI_AUD_CHAN_TYPE_2_0; in mtk_hdmi_aud_set_input()
641 chan_type = hdmi->aud_param.aud_input_chan_type; in mtk_hdmi_aud_set_input()
642 chan_count = mtk_hdmi_aud_get_chnl_count(chan_type); in mtk_hdmi_aud_set_input()
643 mtk_hdmi_hw_aud_set_i2s_chan_num(hdmi, chan_type, chan_count); in mtk_hdmi_aud_set_input()
/linux/drivers/staging/rtl8723bs/include/
H A Dioctl_cfg80211.h116 #define rtw_cfg80211_remain_on_channel_expired(adapter, cookie, chan, chan_type, gfp) cfg80211_rema… argument
/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.c1848 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req()
1928 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1932 chan_type = NL80211_CHAN_HT40PLUS; in ieee80211_process_tdls_channel_switch_req()
1935 chan_type = NL80211_CHAN_HT40MINUS; in ieee80211_process_tdls_channel_switch_req()
1938 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1943 cfg80211_chandef_create(&chandef, chan, chan_type); in ieee80211_process_tdls_channel_switch_req()
1845 enum nl80211_channel_type chan_type; ieee80211_process_tdls_channel_switch_req() local
H A Dibss.c393 enum nl80211_channel_type chan_type; in ieee80211_sta_join_ibss() local
405 chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss()
406 cfg80211_chandef_create(&chandef, cbss->channel, chan_type); in ieee80211_sta_join_ibss()
/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/drivers/iio/imu/smi330/
H A Dsmi330_core.c429 static int smi330_get_data(struct smi330_data *data, int chan_type, int axis, in smi330_get_data() argument
435 switch (chan_type) { in smi330_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/drivers/firmware/samsung/
H A Dexynos-acpm.c437 msg.chan_type = EXYNOS_MBOX_CHAN_TYPE_DOORBELL; in acpm_do_xfer()
/linux/include/net/bluetooth/
H A Dl2cap.h532 __u8 chan_type; member
/linux/drivers/iio/adc/
H A Dade9000.c319 enum iio_chan_type chan_type; member
946 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()
4084 enum nl80211_channel_type chan_type; in mwifiex_cfg80211_get_channel() local
4100 chan_type = mwifiex_get_chan_type(priv); in mwifiex_cfg80211_get_channel()
4101 cfg80211_chandef_create(chandef, chan, chan_type); in mwifiex_cfg80211_get_channel()
/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c1970 enum nl80211_channel_type chan_type; in cfg80211_rtw_get_channel() local
1987 chan_type = rtw_get_chan_type(adapter); in cfg80211_rtw_get_channel()
1988 cfg80211_chandef_create(chandef, chan, chan_type); in cfg80211_rtw_get_channel()

12