Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/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 …]
/Linux-v5.4/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-v5.4/net/bluetooth/
Dl2cap_sock.c141 switch (chan->chan_type) { in l2cap_sock_bind()
519 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_getsockopt()
520 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_getsockopt()
521 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_getsockopt()
766 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
767 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_setsockopt()
768 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
866 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
867 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
1527 chan->chan_type = pchan->chan_type; in l2cap_sock_init()
[all …]
Dl2cap_core.c240 chan->chan_type = L2CAP_CHAN_FIXED; in l2cap_add_scid()
544 switch (chan->chan_type) { in __l2cap_chan_add()
580 if (chan->chan_type != L2CAP_CHAN_FIXED || in __l2cap_chan_add()
618 if (chan->chan_type != L2CAP_CHAN_FIXED || in l2cap_chan_del()
741 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
749 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
773 switch (chan->chan_type) { in l2cap_get_auth_type()
1138 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) in __l2cap_no_conn_pending()
1449 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_start()
1574 } else if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_ready()
[all …]
Da2mp.c762 chan->chan_type = L2CAP_CHAN_FIXED; in a2mp_chan_open()
D6lowpan.c646 chan->chan_type = L2CAP_CHAN_CONN_ORIENTED; in chan_create()
Dsmp.c3176 chan->chan_type = pchan->chan_type; in smp_new_conn_cb()
/Linux-v5.4/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()
/Linux-v5.4/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx.h57 #define ST_LSM6DSX_CHANNEL(chan_type, addr, mod, scan_idx) \ argument
59 .type = chan_type, \
/Linux-v5.4/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()
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Dioctl_cfg80211.h118 #define rtw_cfg80211_remain_on_channel_expired(adapter, cookie, chan, chan_type, gfp) cfg80211_rema… argument
/Linux-v5.4/drivers/iio/light/
Drpr0521.c616 enum iio_chan_type chan_type, in rpr0521_read_samp_freq() argument
629 switch (chan_type) { in rpr0521_read_samp_freq()
646 enum iio_chan_type chan_type, in rpr0521_write_samp_freq_common() argument
/Linux-v5.4/net/mac80211/
Dtdls.c1774 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req() local
1844 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1848 chan_type = NL80211_CHAN_HT40PLUS; in ieee80211_process_tdls_channel_switch_req()
1851 chan_type = NL80211_CHAN_HT40MINUS; in ieee80211_process_tdls_channel_switch_req()
1854 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1859 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()
/Linux-v5.4/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c886 enum hdmi_aud_channel_type chan_type; in mtk_hdmi_aud_set_input() local
908 chan_type = HDMI_AUD_CHAN_TYPE_2_0; in mtk_hdmi_aud_set_input()
910 chan_type = hdmi->aud_param.aud_input_chan_type; in mtk_hdmi_aud_set_input()
911 chan_count = mtk_hdmi_aud_get_chnl_count(chan_type); in mtk_hdmi_aud_set_input()
912 mtk_hdmi_hw_aud_set_i2s_chan_num(hdmi, chan_type, chan_count); in mtk_hdmi_aud_set_input()
/Linux-v5.4/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-v5.4/drivers/iio/adc/
Dmxs-lradc-adc.c578 #define MXS_ADC_CHAN(idx, chan_type, name) { \ argument
579 .type = (chan_type), \
/Linux-v5.4/drivers/iio/imu/bmi160/
Dbmi160_core.c346 static int bmi160_get_data(struct bmi160_data *data, int chan_type, in bmi160_get_data() argument
352 enum bmi160_sensor_type t = bmi160_to_sensor(chan_type); in bmi160_get_data()
/Linux-v5.4/arch/powerpc/include/asm/
Dpasemi_dma.h472 enum pasemi_dmachan_type chan_type; /* TX / RX */ member
/Linux-v5.4/net/wireless/
Dchan.c24 enum nl80211_channel_type chan_type) in cfg80211_chandef_create() argument
34 switch (chan_type) { in cfg80211_chandef_create()
/Linux-v5.4/include/net/bluetooth/
Dl2cap.h519 __u8 chan_type; member
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c81 u8 mwifiex_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type) in mwifiex_chan_type_to_sec_chan_offset() argument
83 switch (chan_type) { in mwifiex_chan_type_to_sec_chan_offset()
3997 enum nl80211_channel_type chan_type; in mwifiex_cfg80211_get_channel() local
4013 chan_type = mwifiex_get_chan_type(priv); in mwifiex_cfg80211_get_channel()
4014 cfg80211_chandef_create(chandef, chan, chan_type); in mwifiex_cfg80211_get_channel()
Dmain.h1573 u8 mwifiex_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type);
/Linux-v5.4/drivers/scsi/
Dgdth.h612 u8 chan_type; /* channel type */ member