Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c348 u8 cam, new_cam; in ucsi_ccg_update_get_current_cam_cmd() local
351 new_cam = uc->orig[cam].linked_idx; in ucsi_ccg_update_get_current_cam_cmd()
352 uc->updated[new_cam].active_idx = cam; in ucsi_ccg_update_get_current_cam_cmd()
353 data[0] = new_cam; in ucsi_ccg_update_get_current_cam_cmd()
438 u8 new_cam, cam, pin; in ucsi_ccg_update_set_new_cam_cmd() local
443 new_cam = UCSI_SET_NEW_CAM_GET_AM(*cmd); in ucsi_ccg_update_set_new_cam_cmd()
444 if (new_cam >= ARRAY_SIZE(uc->updated)) in ucsi_ccg_update_set_new_cam_cmd()
446 new_port = &uc->updated[new_cam]; in ucsi_ccg_update_set_new_cam_cmd()