Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/tcpm/
H A Dfusb302.c1059 static enum typec_cc_status fusb302_bc_lvl_to_cc(u8 bc_lvl) in fusb302_bc_lvl_to_cc() argument
1061 if (bc_lvl == FUSB_REG_STATUS0_BC_LVL_1230_MAX) in fusb302_bc_lvl_to_cc()
1063 if (bc_lvl == FUSB_REG_STATUS0_BC_LVL_600_1230) in fusb302_bc_lvl_to_cc()
1065 if (bc_lvl == FUSB_REG_STATUS0_BC_LVL_200_600) in fusb302_bc_lvl_to_cc()
1076 u8 bc_lvl; in fusb302_bc_lvl_handler_work() local
1094 bc_lvl = status0 & FUSB_REG_STATUS0_BC_LVL_MASK; in fusb302_bc_lvl_handler_work()
1095 cc_status = fusb302_bc_lvl_to_cc(bc_lvl); in fusb302_bc_lvl_handler_work()
1185 u8 bc_lvl; in fusb302_handle_togdone_snk() local
1202 bc_lvl = status0 & FUSB_REG_STATUS0_BC_LVL_MASK; in fusb302_handle_togdone_snk()
1203 cc_status_active = fusb302_bc_lvl_to_cc(bc_lvl); in fusb302_handle_togdone_snk()