/device/soc/rockchip/common/sdk_linux/drivers/spi/ |
D | spi-rockchip.c | 210 static inline void spi_enable_chip(struct rockchip_spi *rs, bool enable) in spi_enable_chip() argument 212 writel_relaxed((enable ? 1U : 0U), rs->regs + ROCKCHIP_SPI_SSIENR); in spi_enable_chip() 215 static inline void wait_for_tx_idle(struct rockchip_spi *rs, bool slave_mode) in wait_for_tx_idle() argument 221 if (!(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_SLAVE_TX_BUSY) && in wait_for_tx_idle() 222 !((readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY))) { in wait_for_tx_idle() 226 if (!(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY)) { in wait_for_tx_idle() 232 dev_warn(rs->dev, "spi controller is in busy state!\n"); in wait_for_tx_idle() 235 static u32 get_fifo_len(struct rockchip_spi *rs) in get_fifo_len() argument 239 ver = readl_relaxed(rs->regs + ROCKCHIP_SPI_VERSION); in get_fifo_len() 253 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_set_cs() local [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/ |
D | hal_com_phycfg.h | 101 , BAND_TYPE band, enum rf_path rfpath, RATE_SECTION rs, enum MGN_RATE rate); 104 , BAND_TYPE band, enum rf_path rfpath, RATE_SECTION rs, enum MGN_RATE rate, bool eirp); 106 , BAND_TYPE band, RATE_SECTION rs, enum MGN_RATE rate, bool cap, bool eirp); 143 , enum rf_path RFPath, RATE_SECTION rs, u8 ntx_idx 157 , u8 rfpath, u8 rs, u8 tlrs, u8 ntx_idx, u8 cch, u8 lock 167 #define phy_get_txpwr_lmt_diff(adapter, lmt_name, band, bw, rfpath, rs, tlrs, ntx_idx, cch, lock) (… argument 174 s8 phy_get_txpwr_target(_adapter *adapter, u8 rfpath, RATE_SECTION rs, u8 rate, u8 ntx_idx 176 s8 phy_get_txpwr_amends(_adapter *adapter, u8 rfpath, RATE_SECTION rs, u8 rate, u8 ntx_idx 183 , RATE_SECTION rs, enum MGN_RATE rate, enum channel_width bw, BAND_TYPE band, u8 cch, u8 opch 186 s16 phy_get_txpwr_single_mbm(_adapter *adapter, u8 rfpath, RATE_SECTION rs, u8 rate [all …]
|
D | hal_data.h | 328 #define txpwr_lmt_rs_str(rs) (((rs) >= TXPWR_LMT_RS_NUM) ? _txpwr_lmt_rs_str[TXPWR_LMT_RS_NUM] : _t… argument
|
D | hal_intf.h | 358 …u8 (*get_tx_power_index_handler)(_adapter *adapter, enum rf_path rfpath, RATE_SECTION rs, enum MGN… 360 …s8 (*get_txpwr_target_extra_bias)(_adapter *adapter, enum rf_path rfpath, RATE_SECTION rs, enum MG… 895 , RATE_SECTION rs, enum MGN_RATE rate, enum channel_width bw, BAND_TYPE band, u8 cch, u8 opch 898 , RATE_SECTION rs, enum MGN_RATE rate, enum channel_width bw, BAND_TYPE band, u8 cch);
|
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/sensor/src/platform/ |
D | system_am_mipi.c | 42 struct resource rs; in am_mipi_parse_dt() local 64 rtn = of_address_to_resource(node, i, &rs); in am_mipi_parse_dt() 71 if (strcmp(rs.name, "csi2_phy0") == 0) { in am_mipi_parse_dt() 72 t_mipi->csi2_phy0_reg = rs; in am_mipi_parse_dt() 75 } else if (strcmp(rs.name, "csi2_phy1") == 0) { in am_mipi_parse_dt() 76 t_mipi->csi2_phy1_reg = rs; in am_mipi_parse_dt() 79 } else if (strcmp(rs.name, "aphy_reg") == 0){ in am_mipi_parse_dt() 80 t_mipi->aphy_reg = rs; in am_mipi_parse_dt() 83 } else if (strcmp(rs.name, "csi0_host") == 0) { in am_mipi_parse_dt() 84 t_mipi->csi0_host_reg = rs; in am_mipi_parse_dt() [all …]
|
D | system_am_adap.c | 628 struct resource rs; in am_adap_parse_dt() local 652 rtn = of_address_to_resource(node, 0, &rs); in am_adap_parse_dt() 659 if (strcmp(rs.name, "adapter") == 0) { in am_adap_parse_dt() 660 t_adap->reg = rs; in am_adap_parse_dt()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_rm_util.c | 174 int tx_num, band, bw, ch, n, rs; in rm_get_tx_power() local 384 int path, tx_num, band, bw, ch, n, rs; in rm_get_path_a_max_tx_power() local 401 for (rs = 0; rs < RATE_SECTION_NUM; rs++) { in rm_get_path_a_max_tx_power() 402 tx_num = rate_section_to_tx_num(rs); in rm_get_path_a_max_tx_power() 407 if (band == BAND_ON_5G && IS_CCK_RATE_SECTION(rs)) in rm_get_path_a_max_tx_power() 410 if (IS_VHT_RATE_SECTION(rs) && !IS_HARDWARE_TYPE_JAGUAR_ALL(adapter)) in rm_get_path_a_max_tx_power() 413 rate_num = rate_section_rate_num(rs); in rm_get_path_a_max_tx_power() 417 …pwr = phy_get_tx_power_final_absolute_value(adapter, path, rates_by_sections[rs].rates[n], bw, ch); in rm_get_path_a_max_tx_power() 421 MGN_RATE_STR(rates_by_sections[rs].rates[n]), pwr); in rm_get_path_a_max_tx_power()
|
D | rtw_ieee80211.c | 122 RATE_SECTION rs = RATE_SECTION_NUM; in mgn_rate_to_rs() local 125 rs = CCK; in mgn_rate_to_rs() 127 rs = OFDM; in mgn_rate_to_rs() 129 rs = HT_1SS; in mgn_rate_to_rs() 131 rs = HT_2SS; in mgn_rate_to_rs() 133 rs = HT_3SS; in mgn_rate_to_rs() 135 rs = HT_4SS; in mgn_rate_to_rs() 137 rs = VHT_1SS; in mgn_rate_to_rs() 139 rs = VHT_2SS; in mgn_rate_to_rs() 141 rs = VHT_3SS; in mgn_rate_to_rs() [all …]
|
D | rtw_rf.c | 1935 int bw, band, ch_num, tlrs, ntx_idx, rs, i, path; in dump_txpwr_lmt() local 2038 rs = CCK; in dump_txpwr_lmt() 2040 rs = OFDM; in dump_txpwr_lmt() 2042 rs = HT_1SS + ntx_idx; in dump_txpwr_lmt() 2044 rs = VHT_1SS + ntx_idx; in dump_txpwr_lmt() 2131 base = phy_get_target_txpwr(adapter, band, path, rs); in dump_txpwr_lmt() 2140 … lmt_offset = phy_get_txpwr_lmt_diff(adapter, ent->name, band, bw, path, rs, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt() 2150 …lmt_offset = phy_get_txpwr_lmt_diff(adapter, txpwr_lmt_str(TXPWR_LMT_WW), band, bw, path, rs, tlrs… in dump_txpwr_lmt()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/ |
D | hal_com_phycfg.c | 1517 int path, tx_num, band, rs; in rtw_regsty_chk_target_tx_power_valid() local 1528 for (rs = 0; rs < RATE_SECTION_NUM; rs++) { in rtw_regsty_chk_target_tx_power_valid() 1529 tx_num = rate_section_to_tx_num(rs); in rtw_regsty_chk_target_tx_power_valid() 1533 if (band == BAND_ON_5G && IS_CCK_RATE_SECTION(rs)) in rtw_regsty_chk_target_tx_power_valid() 1536 if (IS_VHT_RATE_SECTION(rs) && !IS_HARDWARE_TYPE_JAGUAR_ALL(adapter)) in rtw_regsty_chk_target_tx_power_valid() 1539 target = rtw_regsty_get_target_tx_power(adapter, band, path, rs); in rtw_regsty_chk_target_tx_power_valid() 1541 …RTW_PRINT("%s return _FALSE for band:%d, path:%d, rs:%d, t:%d\n", __func__, band, path, rs, target… in rtw_regsty_chk_target_tx_power_valid() 1715 u8 band, path, rs, tx_num, base; in phy_store_target_tx_power() local 1725 for (rs = 0; rs < RATE_SECTION_NUM; rs++) { in phy_store_target_tx_power() 1726 tx_num = rate_section_to_tx_num(rs); in phy_store_target_tx_power() [all …]
|
D | hal_intf.c | 2005 , RATE_SECTION rs, enum MGN_RATE rate, enum channel_width bw, BAND_TYPE band, u8 cch, u8 opch in rtw_hal_get_tx_power_index() argument 2009 , rs, rate, bw, band, cch, opch, tic); in rtw_hal_get_tx_power_index() 2013 , RATE_SECTION rs, enum MGN_RATE rate, enum channel_width bw, BAND_TYPE band, u8 cch) in rtw_hal_get_txpwr_target_extra_bias() argument 2019 , rfpath, rs, rate, bw, band, cch); in rtw_hal_get_txpwr_target_extra_bias()
|
/device/board/bearpi/bearpi_hm_nano/app/D12_iot_cloud_oc_gps/src/ |
D | E53_ST1.c | 194 float rs; in NMEA_BDS_GPRMC_Analysis() local 201 rs = temp % NMEA_Pow(L80R_CONSTANT_10, dx + L80R_CONSTANT_2); // 得到' in NMEA_BDS_GPRMC_Analysis() 203 (rs * NMEA_Pow(L80R_CONSTANT_10, L80R_CONSTANT_5 - dx)) / L80R_CONSTANT_60; // 转换为° in NMEA_BDS_GPRMC_Analysis() 213 rs = temp % NMEA_Pow(L80R_CONSTANT_10, dx + L80R_CONSTANT_2); // 得到' in NMEA_BDS_GPRMC_Analysis() 215 (rs * NMEA_Pow(L80R_CONSTANT_10, L80R_CONSTANT_5 - dx)) / L80R_CONSTANT_60; // 转换为° in NMEA_BDS_GPRMC_Analysis()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/platform/ |
D | system_am_md.c | 562 struct resource rs; in am_md_parse_dt() local 584 rtn = of_address_to_resource(node, 0, &rs); in am_md_parse_dt() 590 pr_info("%s: rs idx info: name: %s\n", __func__, rs.name); in am_md_parse_dt() 591 if (strcmp(rs.name, "isp_md") == 0) { in am_md_parse_dt() 592 t_md->reg = rs; in am_md_parse_dt()
|
D | system_am_sc.c | 1057 struct resource rs; in am_sc_parse_dt() local 1079 rtn = of_address_to_resource(node, 0, &rs); in am_sc_parse_dt() 1085 pr_info("%s: rs idx info: name: %s\n", __func__, rs.name); in am_sc_parse_dt() 1086 if (strcmp(rs.name, "isp_sc") == 0) { in am_sc_parse_dt() 1087 t_sc->reg = rs; in am_sc_parse_dt()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
D | ecdh.h | 98 mbedtls_ecp_restart_ctx rs; /*!< The restart context for EC computations. */ member 124 mbedtls_ecp_restart_ctx rs; /*!< The restart context for EC computations. */ member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/halrf/rtl8822c/ |
D | halhwimg8822c_rf.h | 57 u8 rs:2; member
|
/device/soc/esp/esp32/components/soc/esp32/include/soc/ |
D | twai_struct.h | 61 uint32_t rs: 1; /* SR.4 Receive Status */ member
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/vin-isp/isp520/ |
D | isp520_reg_cfg.c | 437 int i, s, rs = 12; in bsp_isp_set_size() local 451 rs = i; in bsp_isp_set_size() 457 isp_regs[id].isp_lsc_cfg0->bits.lsc_rs_value = rs; in bsp_isp_set_size()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/ |
D | rtw_proc.c | 3049 u8 rs = *pos & 0xFF; in proc_next_tx_power_idx() local 3051 rs++; in proc_next_tx_power_idx() 3052 if (rs >= RATE_SECTION_NUM) { in proc_next_tx_power_idx() 3053 rs = 0; in proc_next_tx_power_idx() 3060 *pos = (path << 8) | rs; in proc_next_tx_power_idx() 3072 u8 rs = pos & 0xFF; in proc_get_tx_power_idx() local 3077 RTW_INFO("%s path=%u, rs=%u\n", __func__, path, rs); in proc_get_tx_power_idx() 3079 if (path == RF_PATH_A && rs == CCK) in proc_get_tx_power_idx() 3081 dump_tx_power_idx_by_path_rs(m, adapter, path, rs, bw, cch, 0); in proc_get_tx_power_idx() 3123 u8 rs = *pos; in proc_start_txpwr_total_dbm() local [all …]
|
D | os_intfs.c | 1116 int path, rs; in rtw_regsty_load_target_tx_power() local 1129 for (rs = CCK; rs < RATE_SECTION_NUM; rs++) in rtw_regsty_load_target_tx_power() 1130 regsty->target_tx_pwr_2g[path][rs] = target_tx_pwr[rs]; in rtw_regsty_load_target_tx_power() 1144 for (rs = OFDM; rs < RATE_SECTION_NUM; rs++) in rtw_regsty_load_target_tx_power() 1145 regsty->target_tx_pwr_5g[path][rs - 1] = target_tx_pwr[rs - 1]; in rtw_regsty_load_target_tx_power()
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | wl_cfgvif.c | 5424 wl_rateset_args_t rs; in wl_set_ap_beacon_rate() local 5442 bzero(&rs, sizeof(wl_rateset_args_t)); in wl_set_ap_beacon_rate() 5444 &rs, sizeof(wl_rateset_args_t), NULL); in wl_set_ap_beacon_rate() 5450 if (rs.count < 1) { in wl_set_ap_beacon_rate() 5457 for (i = 0; i < rs.count && i < WL_NUMRATES; i++) in wl_set_ap_beacon_rate() 5458 if (rs.rates[i] & WLC_RATE_FLAG) in wl_set_ap_beacon_rate() 5459 if ((rs.rates[i] & RATE_MASK) == val) in wl_set_ap_beacon_rate() 5463 if (i < rs.count && i < WL_NUMRATES) { in wl_set_ap_beacon_rate() 5482 wl_rateset_args_t rs; in wl_get_ap_basic_rate() local 5501 bzero(&rs, sizeof(wl_rateset_args_t)); in wl_get_ap_basic_rate() [all …]
|
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/ |
D | kernel.patch | 57830 static inline void spi_enable_chip(struct rockchip_spi *rs, bool enable) 57831 @@ -195,13 +206,19 @@ static inline void spi_enable_chip(struct rockchip_spi *rs, bool enable) 57832 writel_relaxed((enable ? 1U : 0U), rs->regs + ROCKCHIP_SPI_SSIENR); 57835 -static inline void wait_for_idle(struct rockchip_spi *rs) 57836 +static inline void wait_for_tx_idle(struct rockchip_spi *rs, bool slave_mode) 57841 - if (!(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY)) 57844 + if (!(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_SLAVE_TX_BUSY) && 57845 + !((readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY))) 57848 + if (!(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY)) 57853 dev_warn(rs->dev, "spi controller is in busy state!\n"); [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | wl_cfg80211.c | 21072 wl_rateset_args_t rs; in wl_set_ap_beacon_rate() local 21090 bzero(&rs, sizeof(wl_rateset_args_t)); in wl_set_ap_beacon_rate() 21092 &rs, sizeof(wl_rateset_args_t), NULL); in wl_set_ap_beacon_rate() 21098 if (rs.count < 1) { in wl_set_ap_beacon_rate() 21105 for (i = 0; i < rs.count && i < WL_NUMRATES; i++) in wl_set_ap_beacon_rate() 21106 if (rs.rates[i] & WLC_RATE_FLAG) in wl_set_ap_beacon_rate() 21107 if ((rs.rates[i] & RATE_MASK) == val) in wl_set_ap_beacon_rate() 21111 if (i < rs.count && i < WL_NUMRATES) { in wl_set_ap_beacon_rate() 21130 wl_rateset_args_t rs; in wl_get_ap_basic_rate() local 21149 bzero(&rs, sizeof(wl_rateset_args_t)); in wl_get_ap_basic_rate() [all …]
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | wl_cfg80211.c | 22329 wl_rateset_args_t rs; in wl_set_ap_beacon_rate() local 22347 bzero(&rs, sizeof(wl_rateset_args_t)); in wl_set_ap_beacon_rate() 22349 &rs, sizeof(wl_rateset_args_t), NULL); in wl_set_ap_beacon_rate() 22355 if (rs.count < 1) { in wl_set_ap_beacon_rate() 22362 for (i = 0; i < rs.count && i < WL_NUMRATES; i++) in wl_set_ap_beacon_rate() 22363 if (rs.rates[i] & WLC_RATE_FLAG) in wl_set_ap_beacon_rate() 22364 if ((rs.rates[i] & RATE_MASK) == val) in wl_set_ap_beacon_rate() 22368 if (i < rs.count && i < WL_NUMRATES) { in wl_set_ap_beacon_rate() 22387 wl_rateset_args_t rs; in wl_get_ap_basic_rate() local 22406 bzero(&rs, sizeof(wl_rateset_args_t)); in wl_get_ap_basic_rate() [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | wl_cfg80211.c | 22526 wl_rateset_args_t rs; in wl_set_ap_beacon_rate() local 22543 bzero(&rs, sizeof(wl_rateset_args_t)); in wl_set_ap_beacon_rate() 22544 error = wldev_iovar_getbuf(ndev, "rateset", NULL, 0, &rs, in wl_set_ap_beacon_rate() 22551 if (rs.count < 1) { in wl_set_ap_beacon_rate() 22559 for (i = 0; i < rs.count && i < WL_NUMRATES; i++) { in wl_set_ap_beacon_rate() 22560 if (rs.rates[i] & WLC_RATE_FLAG) { in wl_set_ap_beacon_rate() 22561 if ((rs.rates[i] & RATE_MASK) == val) { in wl_set_ap_beacon_rate() 22568 if (i < rs.count && i < WL_NUMRATES) { in wl_set_ap_beacon_rate() 22587 wl_rateset_args_t rs; in wl_get_ap_basic_rate() local 22605 bzero(&rs, sizeof(wl_rateset_args_t)); in wl_get_ap_basic_rate() [all …]
|