Home
last modified time | relevance | path

Searched refs:cap_info (Results 1 – 14 of 14) sorted by relevance

/external/u-boot/drivers/ram/rockchip/
Dsdram_common.c38 void sdram_print_ddr_info(struct sdram_cap_info *cap_info, in sdram_print_ddr_info() argument
44 bg = (cap_info->dbw == 0) ? 2 : 1; in sdram_print_ddr_info()
53 printdec(8 << cap_info->bw); in sdram_print_ddr_info()
55 printdec(cap_info->col); in sdram_print_ddr_info()
57 printdec(0x1 << cap_info->bk); in sdram_print_ddr_info()
63 printdec(cap_info->cs0_row); in sdram_print_ddr_info()
64 if (cap_info->cs0_high16bit_row != in sdram_print_ddr_info()
65 cap_info->cs0_row) { in sdram_print_ddr_info()
67 printdec(cap_info->cs0_high16bit_row); in sdram_print_ddr_info()
69 if (cap_info->rank > 1) { in sdram_print_ddr_info()
[all …]
Dsdram_px30.c201 struct sdram_cap_info *cap_info = &sdram_params->ch.cap_info; in calculate_ddrconfig() local
206 bw = cap_info->bw; in calculate_ddrconfig()
207 die_bw = cap_info->dbw; in calculate_ddrconfig()
208 col = cap_info->col; in calculate_ddrconfig()
209 bank = cap_info->bk; in calculate_ddrconfig()
239 struct sdram_cap_info *cap_info = &sdram_params->ch.cap_info; in set_ctl_address_map() local
249 bg = (cap_info->dbw == 0) ? 2 : 1; in set_ctl_address_map()
253 cs_pst = cap_info->bw + cap_info->col + in set_ctl_address_map()
254 bg + cap_info->bk + cap_info->cs0_row; in set_ctl_address_map()
255 if (cs_pst >= 32 || cap_info->rank == 1) in set_ctl_address_map()
[all …]
Dsdram_rk3328.c136 struct sdram_cap_info *cap_info = &sdram_params->ch.cap_info; in calculate_ddrconfig() local
142 cs = cap_info->rank; in calculate_ddrconfig()
143 bw = cap_info->bw; in calculate_ddrconfig()
144 die_bw = cap_info->dbw; in calculate_ddrconfig()
145 col = cap_info->col; in calculate_ddrconfig()
146 row = cap_info->cs0_row; in calculate_ddrconfig()
147 cs1_row = cap_info->cs1_row; in calculate_ddrconfig()
148 bank = cap_info->bk; in calculate_ddrconfig()
218 struct sdram_cap_info *cap_info = &sdram_params->ch.cap_info; in set_ctl_address_map() local
222 &addrmap[cap_info->ddrconfig][0], 9 * 4); in set_ctl_address_map()
[all …]
Dsdram_rk3399.c296 if (sdram_ch->cap_info.ddrconfig < 2 || in set_memory_map()
297 sdram_ch->cap_info.ddrconfig == 4) in set_memory_map()
299 else if (sdram_ch->cap_info.ddrconfig == 3 || in set_memory_map()
300 sdram_ch->cap_info.ddrconfig == 5) in set_memory_map()
305 cs_map = (sdram_ch->cap_info.rank > 1) ? 3 : 1; in set_memory_map()
306 reduc = (sdram_ch->cap_info.bw == 2) ? 0 : 1; in set_memory_map()
309 clrsetbits_le32(&denali_ctl[191], 0xF, (12 - sdram_ch->cap_info.col)); in set_memory_map()
311 ((3 - sdram_ch->cap_info.bk) << 16) | in set_memory_map()
318 clrsetbits_le32(&denali_pi[199], 0xF, (12 - sdram_ch->cap_info.col)); in set_memory_map()
322 ((3 - sdram_ch->cap_info.bk) << 16) | in set_memory_map()
[all …]
Dsdram_pctl_px30.c140 struct sdram_cap_info *cap_info, in pctl_remodify_sdram_params() argument
154 switch (cap_info->dbw) { in pctl_remodify_sdram_params()
172 if (cap_info->rank == 2 || dram_type == DDR3 || in pctl_remodify_sdram_params()
178 tmp |= (2 - cap_info->bw) << 12; in pctl_remodify_sdram_params()
/external/u-boot/arch/arm/include/asm/arch-rockchip/
Dsdram_common.h122 inline void sdram_print_ddr_info(struct sdram_cap_info *cap_info, in sdram_print_ddr_info() argument
132 void sdram_print_ddr_info(struct sdram_cap_info *cap_info,
137 void sdram_org_config(struct sdram_cap_info *cap_info,
141 int sdram_detect_bw(struct sdram_cap_info *cap_info);
142 int sdram_detect_cs(struct sdram_cap_info *cap_info);
143 int sdram_detect_col(struct sdram_cap_info *cap_info,
145 int sdram_detect_bank(struct sdram_cap_info *cap_info,
147 int sdram_detect_bg(struct sdram_cap_info *cap_info,
149 int sdram_detect_dbw(struct sdram_cap_info *cap_info, u32 dram_type);
150 int sdram_detect_row(struct sdram_cap_info *cap_info,
[all …]
Dsdram_rk3399.h69 struct sdram_cap_info cap_info; member
Dsdram_pctl_px30.h134 struct sdram_cap_info *cap_info,
Dsdram_px30.h121 struct sdram_cap_info cap_info; member
Dsdram_rk3328.h253 struct sdram_cap_info cap_info; member
/external/iw/
Dieee80211.h38 __u16 cap_info; member
57 __u32 cap_info; member
Dinfo.c540 if (cm->cap_info & htole16(IEEE80211_HT_CAP_MAX_AMSDU)) in print_phy_handler()
542 if (cm->cap_info & htole16(IEEE80211_HT_CAP_SUP_WIDTH_20_40)) in print_phy_handler()
544 if (cm->cap_info & htole16(IEEE80211_HT_CAP_SGI_40)) in print_phy_handler()
/external/autotest/server/site_tests/firmware_Cr50CheckCap/
Dfirmware_Cr50CheckCap.py75 for cap, cap_info in cap_dict.iteritems():
76 if cap_info[self.cr50.CAP_IS_ACCESSIBLE] != expect_accessible:
/external/autotest/server/cros/servo/
Dchrome_cr50.py223 for cap, cap_info in cap_dict.iteritems():
224 cap_setting = cap_info[self.CAP_SETTING]
350 cap_info = [accessible == 'Y', setting, required]
352 caps[cap] = cap_info[info]
354 caps[cap] = cap_info