Searched refs:is_port (Results 1 – 6 of 6) sorted by relevance
33 bool is_port = is_typec_port(adev->dev.parent); in typec_altmode_set_state() local36 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state()60 bool is_port; in typec_altmode_notify() local73 is_port = is_typec_port(adev->dev.parent); in typec_altmode_notify()76 ret = typec_altmode_set_mux(is_port ? altmode : partner, conf, data); in typec_altmode_notify()
517 bool is_port = is_typec_port(parent); in typec_register_altmode() local537 if (is_port) { in typec_register_altmode()553 if (!is_port) in typec_register_altmode()
127 bool is_port; member142 bool is_port; member
156 static u16 hisi_ptt_get_filter_val(u16 devid, bool is_port) in hisi_ptt_get_filter_val() argument158 if (is_port) in hisi_ptt_get_filter_val()230 if (!hisi_ptt->trace_ctrl.is_port) in hisi_ptt_trace_start()376 filter->is_port = true; in hisi_ptt_init_filters()599 hisi_ptt->trace_ctrl.is_port = FIELD_GET(HISI_PTT_PMU_FILTER_IS_PORT, config); in hisi_ptt_trace_valid_filter()611 if (!hisi_ptt->trace_ctrl.is_port) { in hisi_ptt_trace_valid_filter()613 if (val == hisi_ptt_get_filter_val(filter->devid, filter->is_port)) in hisi_ptt_trace_valid_filter()
474 u32 is_port; /* Implementation specific + PortID */ member
1223 portnum = pw_msg->em.is_port & 0xFF; in rio_inb_pwrite_handler()