Searched refs:current_limit (Results 1 – 8 of 8) 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
598 union power_supply_propval current_limit, online; in psy_work_item() local603 ¤t_limit); in psy_work_item()620 if (online.intval && current_limit.intval) { in psy_work_item()621 ret = set_input_current_limit(chg, current_limit.intval); in psy_work_item()
139 .current_limit = MEMBLOCK_ALLOC_ANYWHERE,316 end = memblock.current_limit; in memblock_find_in_range_node()471 memblock.current_limit, in memblock_double_array()475 min(new_area_start, memblock.current_limit), in memblock_double_array()1683 if (max_addr > memblock.current_limit) in memblock_alloc_internal()1684 max_addr = memblock.current_limit; in memblock_alloc_internal()2184 memblock.current_limit = limit; in memblock_set_current_limit()2189 return memblock.current_limit; in memblock_get_current_limit()
59 memblock.current_limit = MEMBLOCK_ALLOC_ANYWHERE; in reset_memblock_attributes()
28 ASSERT_EQ(memblock.current_limit, MEMBLOCK_ALLOC_ANYWHERE); in memblock_initialization_check()
598 u32 current_limit; member 1300 port->current_limit = max_ma; in tcpm_set_current_limit() 3838 port->pps_data.req_op_curr = port->current_limit; in tcpm_pd_ctrl_request() 3852 port->spr_avs_data.req_op_curr_ma = port->current_limit; in tcpm_pd_ctrl_request() 5968 (port->current_limit * port->supply_voltage / 1000 > in run_state_machine() 7693 target_mw = (port->current_limit * req_out_volt_mv) / 1000; in tcpm_aug_set_out_volt() 7782 port->pps_data.req_op_curr = port->current_limit; in tcpm_pps_activate() 7846 port->spr_avs_data.req_op_curr_ma = port->current_limit; in tcpm_spr_avs_activate() 8612 val->intval = port->current_limit * 1000; in tcpm_psy_get_current_max() 8620 val->intval = port->current_limit * 100 in tcpm_psy_get_current_now() [all...]
3170 dwc->current_limit = mA; in dwc3_gadget_check_config() 3176 dwc->current_limit = mA; in dwc3_gadget_check_config()