Home
last modified time | relevance | path

Searched refs:cs_mask (Results 1 – 13 of 13) sorted by relevance

/external/u-boot/arch/arm/mach-at91/arm926ejs/
Dat91sam9261_devices.c58 void at91_spi0_hw_init(unsigned long cs_mask) in at91_spi0_hw_init() argument
66 if (cs_mask & (1 << 0)) { in at91_spi0_hw_init()
69 if (cs_mask & (1 << 1)) { in at91_spi0_hw_init()
72 if (cs_mask & (1 << 2)) { in at91_spi0_hw_init()
75 if (cs_mask & (1 << 3)) { in at91_spi0_hw_init()
78 if (cs_mask & (1 << 4)) { in at91_spi0_hw_init()
81 if (cs_mask & (1 << 5)) { in at91_spi0_hw_init()
84 if (cs_mask & (1 << 6)) { in at91_spi0_hw_init()
87 if (cs_mask & (1 << 7)) { in at91_spi0_hw_init()
92 void at91_spi1_hw_init(unsigned long cs_mask) in at91_spi1_hw_init() argument
[all …]
Dat91sam9m10g45_devices.c59 void at91_spi0_hw_init(unsigned long cs_mask) in at91_spi0_hw_init() argument
67 if (cs_mask & (1 << 0)) { in at91_spi0_hw_init()
70 if (cs_mask & (1 << 1)) { in at91_spi0_hw_init()
73 if (cs_mask & (1 << 2)) { in at91_spi0_hw_init()
76 if (cs_mask & (1 << 3)) { in at91_spi0_hw_init()
79 if (cs_mask & (1 << 4)) { in at91_spi0_hw_init()
82 if (cs_mask & (1 << 5)) { in at91_spi0_hw_init()
85 if (cs_mask & (1 << 6)) { in at91_spi0_hw_init()
88 if (cs_mask & (1 << 7)) { in at91_spi0_hw_init()
93 void at91_spi1_hw_init(unsigned long cs_mask) in at91_spi1_hw_init() argument
[all …]
Dat91sam9x5_devices.c110 void at91_spi0_hw_init(unsigned long cs_mask) in at91_spi0_hw_init() argument
118 if (cs_mask & (1 << 0)) in at91_spi0_hw_init()
120 if (cs_mask & (1 << 1)) in at91_spi0_hw_init()
122 if (cs_mask & (1 << 2)) in at91_spi0_hw_init()
124 if (cs_mask & (1 << 3)) in at91_spi0_hw_init()
126 if (cs_mask & (1 << 4)) in at91_spi0_hw_init()
128 if (cs_mask & (1 << 5)) in at91_spi0_hw_init()
130 if (cs_mask & (1 << 6)) in at91_spi0_hw_init()
132 if (cs_mask & (1 << 7)) in at91_spi0_hw_init()
136 void at91_spi1_hw_init(unsigned long cs_mask) in at91_spi1_hw_init() argument
[all …]
Dat91sam9263_devices.c62 void at91_spi0_hw_init(unsigned long cs_mask) in at91_spi0_hw_init() argument
70 if (cs_mask & (1 << 0)) { in at91_spi0_hw_init()
73 if (cs_mask & (1 << 1)) { in at91_spi0_hw_init()
76 if (cs_mask & (1 << 2)) { in at91_spi0_hw_init()
79 if (cs_mask & (1 << 3)) { in at91_spi0_hw_init()
82 if (cs_mask & (1 << 4)) { in at91_spi0_hw_init()
85 if (cs_mask & (1 << 5)) { in at91_spi0_hw_init()
88 if (cs_mask & (1 << 6)) { in at91_spi0_hw_init()
91 if (cs_mask & (1 << 7)) { in at91_spi0_hw_init()
96 void at91_spi1_hw_init(unsigned long cs_mask) in at91_spi1_hw_init() argument
[all …]
Dat91sam9260_devices.c61 void at91_spi0_hw_init(unsigned long cs_mask) in at91_spi0_hw_init() argument
69 if (cs_mask & (1 << 0)) { in at91_spi0_hw_init()
72 if (cs_mask & (1 << 1)) { in at91_spi0_hw_init()
75 if (cs_mask & (1 << 2)) { in at91_spi0_hw_init()
78 if (cs_mask & (1 << 3)) { in at91_spi0_hw_init()
81 if (cs_mask & (1 << 4)) { in at91_spi0_hw_init()
84 if (cs_mask & (1 << 5)) { in at91_spi0_hw_init()
87 if (cs_mask & (1 << 6)) { in at91_spi0_hw_init()
90 if (cs_mask & (1 << 7)) { in at91_spi0_hw_init()
95 void at91_spi1_hw_init(unsigned long cs_mask) in at91_spi1_hw_init() argument
[all …]
Dat91sam9rl_devices.c58 void at91_spi0_hw_init(unsigned long cs_mask) in at91_spi0_hw_init() argument
66 if (cs_mask & (1 << 0)) { in at91_spi0_hw_init()
69 if (cs_mask & (1 << 1)) { in at91_spi0_hw_init()
72 if (cs_mask & (1 << 2)) { in at91_spi0_hw_init()
75 if (cs_mask & (1 << 3)) { in at91_spi0_hw_init()
78 if (cs_mask & (1 << 4)) { in at91_spi0_hw_init()
81 if (cs_mask & (1 << 5)) { in at91_spi0_hw_init()
84 if (cs_mask & (1 << 6)) { in at91_spi0_hw_init()
87 if (cs_mask & (1 << 7)) { in at91_spi0_hw_init()
Dat91sam9n12_devices.c54 void at91_spi0_hw_init(unsigned long cs_mask) in at91_spi0_hw_init() argument
62 if (cs_mask & (1 << 0)) in at91_spi0_hw_init()
64 if (cs_mask & (1 << 1)) in at91_spi0_hw_init()
66 if (cs_mask & (1 << 2)) in at91_spi0_hw_init()
68 if (cs_mask & (1 << 3)) in at91_spi0_hw_init()
72 void at91_spi1_hw_init(unsigned long cs_mask) in at91_spi1_hw_init() argument
80 if (cs_mask & (1 << 0)) in at91_spi1_hw_init()
82 if (cs_mask & (1 << 1)) in at91_spi1_hw_init()
84 if (cs_mask & (1 << 2)) in at91_spi1_hw_init()
86 if (cs_mask & (1 << 3)) in at91_spi1_hw_init()
/external/u-boot/arch/arm/mach-at91/armv7/
Dsama5d3_devices.c89 void at91_spi0_hw_init(unsigned long cs_mask) in at91_spi0_hw_init() argument
95 if (cs_mask & (1 << 0)) in at91_spi0_hw_init()
97 if (cs_mask & (1 << 1)) in at91_spi0_hw_init()
99 if (cs_mask & (1 << 2)) in at91_spi0_hw_init()
101 if (cs_mask & (1 << 3)) in at91_spi0_hw_init()
/external/u-boot/arch/arm/mach-at91/include/mach/
Dat91_common.h19 void at91_spi0_hw_init(unsigned long cs_mask);
20 void at91_spi1_hw_init(unsigned long cs_mask);
/external/u-boot/drivers/ddr/marvell/a38x/
Dddr3_training_leveling.c342 u32 c_cs, if_id, cs_mask = 0; in ddr3_tip_legacy_dynamic_write_leveling() local
356 cs_mask = cs_mask | 1 << (20 + c_cs); in ddr3_tip_legacy_dynamic_write_leveling()
362 TRAINING_REG, (0x80000008 | cs_mask), in ddr3_tip_legacy_dynamic_write_leveling()
383 u32 c_cs, if_id, cs_mask = 0; in ddr3_tip_legacy_dynamic_read_leveling() local
397 cs_mask = cs_mask | 1 << (20 + c_cs); in ddr3_tip_legacy_dynamic_read_leveling()
401 (0x80000040 | cs_mask), 0xffffffff)); in ddr3_tip_legacy_dynamic_read_leveling()
791 u32 *cs_mask) in ddr3_tip_calc_cs_mask() argument
798 *cs_mask = same_bus_cs = CS_BIT_MASK; in ddr3_tip_calc_cs_mask()
818 *cs_mask &= ~tm->interface_params[if_id]. in ddr3_tip_calc_cs_mask()
823 *cs_mask = (*cs_mask | (~(1 << effective_cs))) & CS_BIT_MASK; in ddr3_tip_calc_cs_mask()
[all …]
Dddr3_training_leveling.h13 u32 *cs_mask);
Dddr3_training.c360 u32 cs_mask = 0; in hws_ddr3_tip_init_controller() local
476 cs_mask = 0; in hws_ddr3_tip_init_controller()
498 cs_mask |= in hws_ddr3_tip_init_controller()
504 if_id, cs_mask)); in hws_ddr3_tip_init_controller()
513 ((cs_mask & (1 << cs_cnt)) ? 1 in hws_ddr3_tip_init_controller()
1272 u32 cs_mask[MAX_INTERFACE_NUM]; in ddr3_tip_freq_set() local
1297 cs_mask[if_id] = CS_BIT_MASK; in ddr3_tip_freq_set()
1300 &cs_mask[if_id]); in ddr3_tip_freq_set()
1629 CHECK_STATUS(ddr3_tip_write_mrs_cmd(dev_num, cs_mask, MR_CMD0, in ddr3_tip_freq_set()
1634 CHECK_STATUS(ddr3_tip_write_mrs_cmd(dev_num, cs_mask, MR_CMD2, in ddr3_tip_freq_set()
Dddr3_training_ip_prv_if.h36 u8 dev_num, u32 cs_mask, struct hws_cs_config_info *cs_info);