| /drivers/mailbox/ |
| A D | zynqmp-ipi-mailbox.c | 91 unsigned int chan_type; member 366 nchan_type = (mchan->chan_type + 1) % 2; in zynqmp_ipi_startup() 401 unsigned int chan_type; in zynqmp_ipi_shutdown() local 407 chan_type = mchan->chan_type; in zynqmp_ipi_shutdown() 408 if (chan_type == IPI_MB_CHNL_RX) { in zynqmp_ipi_shutdown() 413 chan_type = (chan_type + 1) % 2; in zynqmp_ipi_shutdown() 444 unsigned int chan_type; in zynqmp_ipi_of_xlate() local 447 chan_type = p->args[0]; in zynqmp_ipi_of_xlate() 448 if (chan_type != IPI_MB_CHNL_TX && chan_type != IPI_MB_CHNL_RX) { in zynqmp_ipi_of_xlate() 450 chan_type); in zynqmp_ipi_of_xlate() [all …]
|
| A D | exynos-mailbox.c | 57 if (msg->chan_type != EXYNOS_MBOX_CHAN_TYPE_DOORBELL) { in exynos_mbox_send_data() 58 dev_err(dev, "Unsupported channel type [%d]\n", msg->chan_type); in exynos_mbox_send_data()
|
| /drivers/iio/light/ |
| A D | opt3001.c | 80 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,
|
| A D | rpr0521.c | 607 enum iio_chan_type chan_type, in rpr0521_read_samp_freq() argument 620 switch (chan_type) { in rpr0521_read_samp_freq() 637 enum iio_chan_type chan_type, in rpr0521_write_samp_freq_common() argument
|
| /drivers/net/wireless/ath/ath9k/ |
| A D | common-spectral.c | 129 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 …]
|
| /drivers/thermal/ |
| A D | thermal-generic-adc.c | 80 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()
|
| /drivers/iio/imu/bmi270/ |
| A D | bmi270_core.c | 442 static int bmi270_set_scale(struct bmi270_data *data, int chan_type, int uscale) in bmi270_set_scale() argument 448 switch (chan_type) { in bmi270_set_scale() 475 static int bmi270_get_scale(struct bmi270_data *data, int chan_type, int *scale, in bmi270_get_scale() argument 484 switch (chan_type) { in bmi270_get_scale() 517 static int bmi270_set_odr(struct bmi270_data *data, int chan_type, int odr, in bmi270_set_odr() argument 524 switch (chan_type) { in bmi270_set_odr() 553 static int bmi270_get_odr(struct bmi270_data *data, int chan_type, int *odr, in bmi270_get_odr() argument 561 switch (chan_type) { in bmi270_get_odr() 683 static int bmi270_get_data(struct bmi270_data *data, int chan_type, int axis, in bmi270_get_data() argument 690 switch (chan_type) { in bmi270_get_data()
|
| /drivers/iio/imu/st_lsm6dsx/ |
| A D | st_lsm6dsx.h | 83 #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, \
|
| /drivers/iio/imu/ |
| A D | smi240.c | 325 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()
|
| A D | fxos8700_core.c | 416 static int fxos8700_get_data(struct fxos8700_data *data, int chan_type, in fxos8700_get_data() argument 428 switch (chan_type) { in fxos8700_get_data() 462 switch (chan_type) { in fxos8700_get_data()
|
| /drivers/staging/rtl8723bs/include/ |
| A D | ioctl_cfg80211.h | 116 #define rtw_cfg80211_remain_on_channel_expired(adapter, cookie, chan, chan_type, gfp) cfg80211_rema… argument
|
| /drivers/gpu/drm/mediatek/ |
| A D | mtk_hdmi.c | 835 enum hdmi_aud_channel_type chan_type; in mtk_hdmi_aud_set_input() local 857 chan_type = HDMI_AUD_CHAN_TYPE_2_0; in mtk_hdmi_aud_set_input() 859 chan_type = hdmi->aud_param.aud_input_chan_type; in mtk_hdmi_aud_set_input() 860 chan_count = mtk_hdmi_aud_get_chnl_count(chan_type); in mtk_hdmi_aud_set_input() 861 mtk_hdmi_hw_aud_set_i2s_chan_num(hdmi, chan_type, chan_count); in mtk_hdmi_aud_set_input()
|
| /drivers/net/wireless/mediatek/mt7601u/ |
| A D | phy.c | 372 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()
|
| /drivers/iio/temperature/ |
| A D | ltc2983.c | 1461 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()
|
| /drivers/iio/adc/ |
| A D | mxs-lradc-adc.c | 576 #define MXS_ADC_CHAN(idx, chan_type, name) { \ argument 577 .type = (chan_type), \
|
| /drivers/iio/imu/bmi160/ |
| A D | bmi160_core.c | 367 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()
|
| /drivers/iio/dac/ |
| A D | ad8460.c | 502 static int ad8460_select_fault_type(int chan_type, enum iio_event_direction dir) in ad8460_select_fault_type() argument 504 switch (chan_type) { in ad8460_select_fault_type()
|
| /drivers/net/wireless/realtek/rtw88/ |
| A D | fw.c | 2447 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()
|
| /drivers/firmware/samsung/ |
| A D | exynos-acpm.c | 434 msg.chan_type = EXYNOS_MBOX_CHAN_TYPE_DOORBELL; in acpm_do_xfer()
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | fw.c | 7119 int chan_type, int ssid_num, in rtw89_pno_scan_add_chan_ax() argument 7127 ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS; in rtw89_pno_scan_add_chan_ax() 7154 switch (chan_type) { in rtw89_pno_scan_add_chan_ax() 7168 static void rtw89_hw_scan_add_chan_ax(struct rtw89_dev *rtwdev, int chan_type, in rtw89_hw_scan_add_chan_ax() argument 7184 ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS; in rtw89_hw_scan_add_chan_ax() 7226 switch (chan_type) { in rtw89_hw_scan_add_chan_ax() 7268 ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS; in rtw89_pno_scan_add_chan_be() 7285 switch (chan_type) { in rtw89_pno_scan_add_chan_be() 7298 static void rtw89_hw_scan_add_chan_be(struct rtw89_dev *rtwdev, int chan_type, in rtw89_hw_scan_add_chan_be() argument 7310 ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS; in rtw89_hw_scan_add_chan_be() [all …]
|
| /drivers/net/wireless/marvell/mwifiex/ |
| A D | cfg80211.c | 70 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() 4085 enum nl80211_channel_type chan_type; in mwifiex_cfg80211_get_channel() local 4101 chan_type = mwifiex_get_chan_type(priv); in mwifiex_cfg80211_get_channel() 4102 cfg80211_chandef_create(chandef, chan, chan_type); in mwifiex_cfg80211_get_channel()
|
| A D | main.h | 1545 u8 mwifiex_chan_type_to_sec_chan_offset(enum nl80211_channel_type chan_type);
|
| /drivers/staging/rtl8723bs/os_dep/ |
| A D | ioctl_cfg80211.c | 1969 enum nl80211_channel_type chan_type; in cfg80211_rtw_get_channel() local 1986 chan_type = rtw_get_chan_type(adapter); in cfg80211_rtw_get_channel() 1987 cfg80211_chandef_create(chandef, chan, chan_type); in cfg80211_rtw_get_channel()
|