/u-boot/include/dt-bindings/usb/ |
A D | pd.h | 30 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) argument 32 #define PDO_FIXED(mv, ma, flags) \ argument 34 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 56 #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) argument 80 #define PDO_PPS_APDO_MAX_CURR(ma) \ argument 81 ((((ma) / 50) & PDO_PPS_APDO_CURR_MASK) << PDO_PPS_APDO_MAX_CURR_SHIFT)
|
/u-boot/drivers/pinctrl/nxp/ |
A D | pinctrl-mxs.c | 66 u32 *pin_data, val, ma, vol, pull; in mxs_pinctrl_set_state() local 97 ma = CONFIG_TO_MA(config); in mxs_pinctrl_set_state() 115 debug(" ma: %d, vol: %d, pull: %d\n", ma, vol, pull); in mxs_pinctrl_set_state() 124 mxs_pinctrl_rmwl(ma, 0x3, shift, reg); in mxs_pinctrl_set_state()
|
/u-boot/board/siemens/smartweb/ |
A D | smartweb.c | 243 struct at91_matrix *ma = (struct at91_matrix *)ATMEL_BASE_MATRIX; in mem_init() local 258 writel(readl(&ma->ebicsa) | AT91_MATRIX_CS1A_SDRAMC, &ma->ebicsa); in mem_init()
|
/u-boot/board/siemens/taurus/ |
A D | taurus.c | 166 struct at91_matrix *ma = (struct at91_matrix *)ATMEL_BASE_MATRIX; in sdramc_configure() local 174 writel(readl(&ma->ebicsa) | AT91_MATRIX_CS1A_SDRAMC | in sdramc_configure() 176 &ma->ebicsa); in sdramc_configure()
|
/u-boot/drivers/tee/ |
A D | sandbox.c | 43 struct optee_msg_arg *ma; in get_msg_arg() local 51 ma = (*shmp)->addr; in get_msg_arg() 52 memset(ma, 0, OPTEE_MSG_GET_ARG_SIZE(num_params)); in get_msg_arg() 53 ma->num_params = num_params; in get_msg_arg() 54 *msg_arg = ma; in get_msg_arg()
|
/u-boot/drivers/tee/optee/ |
A D | core.c | 147 struct optee_msg_arg *ma; in get_msg_arg() local 155 ma = (*shmp)->addr; in get_msg_arg() 156 memset(ma, 0, OPTEE_MSG_GET_ARG_SIZE(num_params)); in get_msg_arg() 157 ma->num_params = num_params; in get_msg_arg() 158 *msg_arg = ma; in get_msg_arg()
|
/u-boot/arch/arm/dts/ |
A D | rv1108.dtsi | 370 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 374 pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma { 378 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 383 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma { 387 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma {
|
A D | rk3308.dtsi | 767 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 772 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 777 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 782 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 787 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 792 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 797 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 802 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 807 pcfg_pull_up_12ma: pcfg-pull-up-12ma { 1798 mac_refclk_12ma: mac-refclk-12ma { [all …]
|
A D | rk3288-vmarc-som.dtsi | 239 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 243 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
|
A D | rk3288-tinker.dtsi | 464 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 468 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 500 * high-speed mode on EVB board so bump up to 8ma.
|
A D | rk3399.dtsi | 1981 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 1986 pcfg_pull_none_13ma: pcfg-pull-none-13ma { 1991 pcfg_pull_none_18ma: pcfg-pull-none-18ma { 1996 pcfg_pull_none_20ma: pcfg-pull-none-20ma { 2001 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 2006 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 2011 pcfg_pull_up_18ma: pcfg-pull-up-18ma { 2016 pcfg_pull_up_20ma: pcfg-pull-up-20ma { 2021 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 2026 pcfg_pull_down_8ma: pcfg-pull-down-8ma { [all …]
|
A D | rk3288-miqi.dtsi | 291 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma { 333 * high-speed mode on firefly board so bump up to 12ma.
|
A D | rk3328.dtsi | 1078 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 1083 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1088 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 1093 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 1098 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 1103 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 1108 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 1113 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 1118 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
|
A D | px30.dtsi | 1266 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 1271 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1276 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 1281 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 1286 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 1291 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 1296 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 1301 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 1306 pcfg_pull_up_12ma: pcfg-pull-up-12ma { 2140 mac_refclk_12ma: mac-refclk-12ma {
|
A D | rk3288-firefly.dtsi | 323 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma { 373 * high-speed mode on firefly board so bump up to 12ma.
|
A D | rk3288-phycore-rdk.dts | 180 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
|
A D | rk3288-veyron.dtsi | 626 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 630 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
|
A D | rk322x.dtsi | 546 pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma {
|
A D | rk3399-gru.dtsi | 669 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
|
A D | rk3368.dtsi | 782 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
|
A D | rk3288.dtsi | 1115 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
|
/u-boot/drivers/ram/rockchip/ |
A D | sdram_rk3188.c | 323 u32 rank, u32 cmd, u32 ma, u32 op) in send_command_op() argument 325 send_command(pctl, rank, cmd, (ma & LPDDR2_MA_MASK) << LPDDR2_MA_SHIFT | in send_command_op()
|
A D | sdram_rk3288.c | 382 u32 rank, u32 cmd, u32 ma, u32 op) in send_command_op() argument 384 send_command(pctl, rank, cmd, (ma & LPDDR2_MA_MASK) << LPDDR2_MA_SHIFT | in send_command_op()
|