Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/iio/
H A 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)
/openbmc/linux/drivers/mailbox/
H A Dzynqmp-ipi-mailbox.c72 unsigned int chan_type; member
203 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_peek_data()
239 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_last_tx_done()
277 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_send_data()
281 mchan->chan_type, (unsigned int)msg->len, in zynqmp_ipi_send_data()
294 mchan->chan_type, (unsigned int)msg->len, in zynqmp_ipi_send_data()
328 nchan_type = (mchan->chan_type + 1) % 2; in zynqmp_ipi_startup()
342 if (mchan->chan_type == IPI_MB_CHNL_RX) { in zynqmp_ipi_startup()
363 unsigned int chan_type; in zynqmp_ipi_shutdown() local
369 chan_type = mchan->chan_type; in zynqmp_ipi_shutdown()
[all …]
/openbmc/linux/drivers/thermal/
H A 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()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A 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 …]
/openbmc/linux/net/bluetooth/
H A Dl2cap_sock.c143 switch (chan->chan_type) { in l2cap_sock_bind()
579 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_getsockopt()
580 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_getsockopt()
581 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_getsockopt()
684 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_sock_getsockopt()
902 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
903 chan->chan_type != L2CAP_CHAN_FIXED && in l2cap_sock_setsockopt()
904 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
998 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED && in l2cap_sock_setsockopt()
999 chan->chan_type != L2CAP_CHAN_RAW) { in l2cap_sock_setsockopt()
[all …]
H A 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()
673 if (chan->chan_type != L2CAP_CHAN_FIXED || in l2cap_chan_del()
825 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
833 if (chan->chan_type == L2CAP_CHAN_CONN_ORIENTED) { in l2cap_chan_close()
865 switch (chan->chan_type) { in l2cap_get_auth_type()
1213 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) in __l2cap_no_conn_pending()
1506 if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_start()
1626 } else if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) { in l2cap_conn_ready()
[all …]
/openbmc/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx.h81 #define ST_LSM6DSX_CHANNEL_ACC(chan_type, addr, mod, scan_idx) \ argument
83 .type = chan_type, \
102 #define ST_LSM6DSX_CHANNEL(chan_type, addr, mod, scan_idx) \ argument
104 .type = chan_type, \
/openbmc/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()
/openbmc/linux/arch/um/drivers/
H A 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()
/openbmc/linux/drivers/iio/imu/
H A 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()
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dioctl_cfg80211.h115 #define rtw_cfg80211_remain_on_channel_expired(adapter, cookie, chan, chan_type, gfp) cfg80211_rema… argument
/openbmc/linux/drivers/iio/light/
H A 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
/openbmc/linux/drivers/gpu/drm/mediatek/
H A 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()
/openbmc/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()
/openbmc/linux/net/mac80211/
H A Dtdls.c1887 enum nl80211_channel_type chan_type; in ieee80211_process_tdls_channel_switch_req() local
1962 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1966 chan_type = NL80211_CHAN_HT40PLUS; in ieee80211_process_tdls_channel_switch_req()
1969 chan_type = NL80211_CHAN_HT40MINUS; in ieee80211_process_tdls_channel_switch_req()
1972 chan_type = NL80211_CHAN_HT20; in ieee80211_process_tdls_channel_switch_req()
1977 cfg80211_chandef_create(&chandef, chan, chan_type); in ieee80211_process_tdls_channel_switch_req()
H A Dibss.c405 enum nl80211_channel_type chan_type; in ieee80211_sta_join_ibss() local
419 chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss()
420 cfg80211_chandef_create(&chandef, cbss->channel, chan_type); in ieee80211_sta_join_ibss()
/openbmc/linux/drivers/iio/temperature/
H A Dltc2983.c1528 u32 chan_type = 0, *iio_chan; in ltc2983_setup() local
1545 chan_type = IIO_TEMP; in ltc2983_setup()
1548 chan_type = IIO_VOLTAGE; in ltc2983_setup()
1556 st->iio_chan[iio_idx++] = LTC2983_CHAN(chan_type, (*iio_chan)++, in ltc2983_setup()
/openbmc/linux/drivers/iio/imu/bmi160/
H A Dbmi160_core.c361 static int bmi160_get_data(struct bmi160_data *data, int chan_type, in bmi160_get_data() argument
367 enum bmi160_sensor_type t = bmi160_to_sensor(chan_type); in bmi160_get_data()
/openbmc/linux/drivers/iio/adc/
H A Dmxs-lradc-adc.c577 #define MXS_ADC_CHAN(idx, chan_type, name) { \ argument
578 .type = (chan_type), \
/openbmc/ipmitool/include/ipmitool/
H A Dipmi_fru.h430 unsigned char chan_type; member
/openbmc/linux/arch/powerpc/include/asm/
H A Dpasemi_dma.h472 enum pasemi_dmachan_type chan_type; /* TX / RX */ member
/openbmc/linux/net/wireless/
H A Dchan.c25 enum nl80211_channel_type chan_type) in cfg80211_chandef_create() argument
36 switch (chan_type) { in cfg80211_chandef_create()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dfw.c2337 u8 chan_type; in rtw_hw_scan_chan_switch() local
2340 chan_type = COEX_SWITCH_TO_24G; in rtw_hw_scan_chan_switch()
2342 chan_type = COEX_SWITCH_TO_24G_NOFORSCAN; in rtw_hw_scan_chan_switch()
2343 rtw_coex_switchband_notify(rtwdev, chan_type); in rtw_hw_scan_chan_switch()
/openbmc/linux/include/net/bluetooth/
H A Dl2cap.h526 __u8 chan_type; member
/openbmc/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()
4031 enum nl80211_channel_type chan_type; in mwifiex_cfg80211_get_channel() local
4047 chan_type = mwifiex_get_chan_type(priv); in mwifiex_cfg80211_get_channel()
4048 cfg80211_chandef_create(chandef, chan, chan_type); in mwifiex_cfg80211_get_channel()

12