Home
last modified time | relevance | path

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

12

/linux-6.12.1/include/linux/iio/
Devents.h24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument
28 ((u64)chan_type << 32) | (((u16)chan2) << 16) | ((u16)chan1) | \
41 #define IIO_MOD_EVENT_CODE(chan_type, number, modifier, \ argument
43 IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0)
53 #define IIO_UNMOD_EVENT_CODE(chan_type, number, type, direction) \ argument
54 IIO_EVENT_CODE(chan_type, 0, 0, direction, type, number, 0, 0)
/linux-6.12.1/drivers/mailbox/
Dzynqmp-ipi-mailbox.c91 unsigned int chan_type; member
241 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_peek_data()
277 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_last_tx_done()
315 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_send_data()
319 mchan->chan_type, (unsigned int)msg->len, in zynqmp_ipi_send_data()
332 mchan->chan_type, (unsigned int)msg->len, in zynqmp_ipi_send_data()
366 nchan_type = (mchan->chan_type + 1) % 2; in zynqmp_ipi_startup()
380 if (mchan->chan_type == IPI_MB_CHNL_RX) { in zynqmp_ipi_startup()
401 unsigned int chan_type; in zynqmp_ipi_shutdown() local
407 chan_type = mchan->chan_type; in zynqmp_ipi_shutdown()
[all …]
/linux-6.12.1/drivers/thermal/
Dthermal-generic-adc.c80 enum iio_chan_type chan_type; in gadc_thermal_read_linear_lookup_table() local
87 ret = iio_get_channel_type(gti->channel, &chan_type); in gadc_thermal_read_linear_lookup_table()
88 if (ret || chan_type != IIO_TEMP) in gadc_thermal_read_linear_lookup_table()
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Dcommon-spectral.c128 u8 *sample_buf, u64 tsf, u16 freq, int chan_type);
134 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_fft() argument
238 u64 tsf, u16 freq, int chan_type) in ath_cmn_process_ht20_40_fft() argument
265 fft_sample_40.channel_type = chan_type; in ath_cmn_process_ht20_40_fft()
267 if (chan_type == NL80211_CHAN_HT40PLUS) { in ath_cmn_process_ht20_40_fft()
484 enum nl80211_channel_type chan_type; in ath_cmn_process_fft() local
517 chan_type = cfg80211_get_chandef_type(&common->hw->conf.chandef); in ath_cmn_process_fft()
518 if ((chan_type == NL80211_CHAN_HT40MINUS) || in ath_cmn_process_fft()
519 (chan_type == NL80211_CHAN_HT40PLUS)) { in ath_cmn_process_fft()
624 tsf, freq, chan_type); in ath_cmn_process_fft()
[all …]
/linux-6.12.1/net/bluetooth/
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()
903 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
904 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_setsockopt()
905 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
999 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
1000 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
[all …]
Dl2cap_core.c237 chan->chan_type = L2CAP_CHAN_FIXED; in l2cap_add_scid()
599 switch (chan->chan_type) { in __l2cap_chan_add()
635 if (chan->chan_type != L2CAP_CHAN_FIXED || in __l2cap_chan_add()
672 if (chan->chan_type != L2CAP_CHAN_FIXED || in l2cap_chan_del()
824 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
832 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
864 switch (chan->chan_type) { in l2cap_get_auth_type()
1212 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) in __l2cap_no_conn_pending()
1505 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_start()
1625 } else if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_ready()
[all …]
/linux-6.12.1/drivers/iio/imu/st_lsm6dsx/
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-6.12.1/arch/powerpc/platforms/pasemi/
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-6.12.1/drivers/iio/imu/
Dfxos8700_core.c417 static int fxos8700_get_data(struct fxos8700_data *data, int chan_type, in fxos8700_get_data() argument
429 switch (chan_type) { in fxos8700_get_data()
463 switch (chan_type) { in fxos8700_get_data()
/linux-6.12.1/arch/um/drivers/
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-6.12.1/drivers/staging/rtl8723bs/include/
Dioctl_cfg80211.h115 #define rtw_cfg80211_remain_on_channel_expired(adapter, cookie, chan, chan_type, gfp) cfg80211_rema… argument
/linux-6.12.1/drivers/iio/light/
Drpr0521.c620 enum iio_chan_type chan_type, in rpr0521_read_samp_freq() argument
633 switch (chan_type) { in rpr0521_read_samp_freq()
650 enum iio_chan_type chan_type, in rpr0521_write_samp_freq_common() argument
/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c877 enum hdmi_aud_channel_type chan_type; in mtk_hdmi_aud_set_input() local
899 chan_type = HDMI_AUD_CHAN_TYPE_2_0; in mtk_hdmi_aud_set_input()
901 chan_type = hdmi->aud_param.aud_input_chan_type; in mtk_hdmi_aud_set_input()
902 chan_count = mtk_hdmi_aud_get_chnl_count(chan_type); in mtk_hdmi_aud_set_input()
903 mtk_hdmi_hw_aud_set_i2s_chan_num(hdmi, chan_type, chan_count); in mtk_hdmi_aud_set_input()
/linux-6.12.1/drivers/net/wireless/mediatek/mt7601u/
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-6.12.1/net/mac80211/
Dtdls.c1844 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req() local
1921 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1925 chan_type = NL80211_CHAN_HT40PLUS; in ieee80211_process_tdls_channel_switch_req()
1928 chan_type = NL80211_CHAN_HT40MINUS; in ieee80211_process_tdls_channel_switch_req()
1931 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1936 cfg80211_chandef_create(&chandef, chan, chan_type); in ieee80211_process_tdls_channel_switch_req()
Dibss.c395 enum nl80211_channel_type chan_type; in ieee80211_sta_join_ibss() local
408 chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss()
409 cfg80211_chandef_create(&chandef, cbss->channel, chan_type); in ieee80211_sta_join_ibss()
/linux-6.12.1/drivers/iio/temperature/
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-6.12.1/drivers/iio/adc/
Dmxs-lradc-adc.c577 #define MXS_ADC_CHAN(idx, chan_type, name) { \ argument
578 .type = (chan_type), \
/linux-6.12.1/drivers/iio/imu/bmi160/
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-6.12.1/arch/powerpc/include/asm/
Dpasemi_dma.h472 enum pasemi_dmachan_type chan_type; /* TX / RX */ member
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Dfw.c2417 u8 chan_type; in rtw_hw_scan_chan_switch() local
2420 chan_type = COEX_SWITCH_TO_24G; in rtw_hw_scan_chan_switch()
2422 chan_type = COEX_SWITCH_TO_24G_NOFORSCAN; in rtw_hw_scan_chan_switch()
2423 rtw_coex_switchband_notify(rtwdev, chan_type); in rtw_hw_scan_chan_switch()
/linux-6.12.1/net/wireless/
Dchan.c25 enum nl80211_channel_type chan_type) in cfg80211_chandef_create() argument
35 switch (chan_type) { in cfg80211_chandef_create()
/linux-6.12.1/include/net/bluetooth/
Dl2cap.h532 __u8 chan_type; member
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dfw.c6039 int chan_type, int ssid_num, in rtw89_pno_scan_add_chan_ax() argument
6047 ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS; in rtw89_pno_scan_add_chan_ax()
6074 switch (chan_type) { in rtw89_pno_scan_add_chan_ax()
6088 static void rtw89_hw_scan_add_chan(struct rtw89_dev *rtwdev, int chan_type, in rtw89_hw_scan_add_chan() argument
6102 ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS; in rtw89_hw_scan_add_chan()
6144 switch (chan_type) { in rtw89_hw_scan_add_chan()
6166 static void rtw89_pno_scan_add_chan_be(struct rtw89_dev *rtwdev, int chan_type, in rtw89_pno_scan_add_chan_be() argument
6175 ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS; in rtw89_pno_scan_add_chan_be()
6192 switch (chan_type) { in rtw89_pno_scan_add_chan_be()
6205 static void rtw89_hw_scan_add_chan_be(struct rtw89_dev *rtwdev, int chan_type, in rtw89_hw_scan_add_chan_be() argument
[all …]
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
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() local
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()

12