Searched refs:current_limit (Results 1 – 5 of 5) sorted by relevance
70 u32 current_limit; member73 static u16 cpcap_led_val(u8 current_limit, u8 duty_cycle) in cpcap_led_val() argument75 current_limit &= 0x1f; /* 5 bit */ in cpcap_led_val()78 return current_limit << 4 | duty_cycle; in cpcap_led_val()
36 int current_limit; /* mA */ member
59 memblock.current_limit = MEMBLOCK_ALLOC_ANYWHERE; in reset_memblock_attributes()
28 ASSERT_EQ(memblock.current_limit, MEMBLOCK_ALLOC_ANYWHERE); in memblock_initialization_check()
571 u32 current_limit; member1270 port->current_limit = max_ma; in tcpm_set_current_limit()3650 port->pps_data.req_op_curr = port->current_limit; in tcpm_pd_ctrl_request()3664 port->spr_avs_data.req_op_curr_ma = port->current_limit; in tcpm_pd_ctrl_request()5749 (port->current_limit * port->supply_voltage / 1000 > in run_state_machine()7342 target_mw = (port->current_limit * req_out_volt_mv) / 1000; in tcpm_aug_set_out_volt()7431 port->pps_data.req_op_curr = port->current_limit; in tcpm_pps_activate()7495 port->spr_avs_data.req_op_curr_ma = port->current_limit; in tcpm_spr_avs_activate()8261 val->intval = port->current_limit * 1000; in tcpm_psy_get_current_max()8269 val->intval = port->current_limit * 1000; in tcpm_psy_get_current_now()