Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/drivers/mailbox/
Dzynqmp-ipi-mailbox.c74 unsigned int chan_type; member
205 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_peek_data()
241 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_last_tx_done()
279 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_send_data()
283 mchan->chan_type, (unsigned int)msg->len, in zynqmp_ipi_send_data()
296 mchan->chan_type, (unsigned int)msg->len, in zynqmp_ipi_send_data()
330 nchan_type = (mchan->chan_type + 1) % 2; in zynqmp_ipi_startup()
344 if (mchan->chan_type == IPI_MB_CHNL_RX) { in zynqmp_ipi_startup()
365 unsigned int chan_type; in zynqmp_ipi_shutdown() local
371 chan_type = mchan->chan_type; in zynqmp_ipi_shutdown()
[all …]
/kernel/linux/linux-5.10/drivers/thermal/
Dthermal-generic-adc.c79 enum iio_chan_type chan_type; in gadc_thermal_read_linear_lookup_table() local
86 ret = iio_get_channel_type(gti->channel, &chan_type); in gadc_thermal_read_linear_lookup_table()
87 if (ret || chan_type != IIO_TEMP) in gadc_thermal_read_linear_lookup_table()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/bluetooth/
Dl2cap_sock.c141 switch (chan->chan_type) { in l2cap_sock_bind()
595 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_getsockopt()
596 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_getsockopt()
597 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_getsockopt()
700 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_sock_getsockopt()
921 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
922 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_setsockopt()
923 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
1021 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
1022 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
[all …]
Dl2cap_core.c257 chan->chan_type = L2CAP_CHAN_FIXED; in l2cap_add_scid()
592 switch (chan->chan_type) { in __l2cap_chan_add()
628 if (chan->chan_type != L2CAP_CHAN_FIXED || in __l2cap_chan_add()
666 if (chan->chan_type != L2CAP_CHAN_FIXED || in l2cap_chan_del()
833 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
841 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
873 switch (chan->chan_type) { in l2cap_get_auth_type()
1239 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) in __l2cap_no_conn_pending()
1638 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_start()
1763 } else if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_ready()
[all …]
Da2mp.c777 chan->chan_type = L2CAP_CHAN_FIXED; in a2mp_chan_open()
/kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx.h62 #define ST_LSM6DSX_CHANNEL_ACC(chan_type, addr, mod, scan_idx) \ argument
64 .type = chan_type, \
83 #define ST_LSM6DSX_CHANNEL(chan_type, addr, mod, scan_idx) \ argument
85 .type = chan_type, \
/kernel/linux/linux-5.10/arch/powerpc/platforms/pasemi/
Ddma_lib.c202 chan->chan_type = type; in pasemi_dma_alloc_chan()
219 switch (chan->chan_type & (RXCHAN|TXCHAN)) { in pasemi_dma_free_chan()
282 if (chan->chan_type == RXCHAN) in pasemi_dma_start_chan()
309 if (chan->chan_type == RXCHAN) { in pasemi_dma_stop_chan()
/kernel/linux/linux-5.10/arch/um/drivers/
Dchan_kern.c397 struct chan_type { struct
402 static const struct chan_type chan_table[] = { argument
441 const struct chan_type *entry; in parse_chan()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dioctl_cfg80211.h117 #define rtw_cfg80211_remain_on_channel_expired(adapter, cookie, chan, chan_type, gfp) cfg80211_rema… argument
/kernel/linux/linux-5.10/drivers/iio/imu/
Dfxos8700_core.c393 static int fxos8700_get_data(struct fxos8700_data *data, int chan_type, in fxos8700_get_data() argument
398 enum fxos8700_sensor type = fxos8700_to_sensor(chan_type); in fxos8700_get_data()
/kernel/linux/linux-5.10/drivers/iio/light/
Drpr0521.c623 enum iio_chan_type chan_type, in rpr0521_read_samp_freq() argument
636 switch (chan_type) { in rpr0521_read_samp_freq()
653 enum iio_chan_type chan_type, in rpr0521_write_samp_freq_common() argument
/kernel/linux/linux-5.10/net/mac80211/
Dtdls.c1777 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req() local
1847 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1851 chan_type = NL80211_CHAN_HT40PLUS; in ieee80211_process_tdls_channel_switch_req()
1854 chan_type = NL80211_CHAN_HT40MINUS; in ieee80211_process_tdls_channel_switch_req()
1857 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1862 cfg80211_chandef_create(&chandef, chan, chan_type); in ieee80211_process_tdls_channel_switch_req()
Dibss.c408 enum nl80211_channel_type chan_type; in ieee80211_sta_join_ibss() local
422 chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss()
423 cfg80211_chandef_create(&chandef, cbss->channel, chan_type); in ieee80211_sta_join_ibss()
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c892 enum hdmi_aud_channel_type chan_type; in mtk_hdmi_aud_set_input() local
914 chan_type = HDMI_AUD_CHAN_TYPE_2_0; in mtk_hdmi_aud_set_input()
916 chan_type = hdmi->aud_param.aud_input_chan_type; in mtk_hdmi_aud_set_input()
917 chan_count = mtk_hdmi_aud_get_chnl_count(chan_type); in mtk_hdmi_aud_set_input()
918 mtk_hdmi_hw_aud_set_i2s_chan_num(hdmi, chan_type, chan_count); in mtk_hdmi_aud_set_input()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/iio/temperature/
Dltc2983.c1391 u32 chan_type = 0, *iio_chan; in ltc2983_setup() local
1408 chan_type = IIO_TEMP; in ltc2983_setup()
1411 chan_type = IIO_VOLTAGE; in ltc2983_setup()
1419 st->iio_chan[iio_idx++] = LTC2983_CHAN(chan_type, (*iio_chan)++, in ltc2983_setup()
/kernel/linux/linux-5.10/drivers/iio/imu/bmi160/
Dbmi160_core.c362 static int bmi160_get_data(struct bmi160_data *data, int chan_type, in bmi160_get_data() argument
368 enum bmi160_sensor_type t = bmi160_to_sensor(chan_type); in bmi160_get_data()
/kernel/linux/linux-5.10/drivers/iio/adc/
Dmxs-lradc-adc.c577 #define MXS_ADC_CHAN(idx, chan_type, name) { \ argument
578 .type = (chan_type), \
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpasemi_dma.h472 enum pasemi_dmachan_type chan_type; /* TX / RX */ member
/kernel/linux/linux-5.10/net/wireless/
Dchan.c25 enum nl80211_channel_type chan_type) in cfg80211_chandef_create() argument
36 switch (chan_type) { in cfg80211_chandef_create()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c82 u8 mwifiex_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type) in mwifiex_chan_type_to_sec_chan_offset() argument
84 switch (chan_type) { in mwifiex_chan_type_to_sec_chan_offset()
3981 enum nl80211_channel_type chan_type; in mwifiex_cfg80211_get_channel() local
3997 chan_type = mwifiex_get_chan_type(priv); in mwifiex_cfg80211_get_channel()
3998 cfg80211_chandef_create(chandef, chan, chan_type); in mwifiex_cfg80211_get_channel()
/kernel/linux/linux-5.10/include/net/bluetooth/
Dl2cap.h560 __u8 chan_type; member
/kernel/linux/linux-5.10/drivers/scsi/
Dgdth.h612 u8 chan_type; /* channel type */ member

12