Lines Matching refs:ch
23 scmi_channel_t *ch = (scmi_channel_t *)p; in scmi_sys_pwr_state_set() local
25 validate_scmi_channel(ch); in scmi_sys_pwr_state_set()
27 scmi_get_channel(ch); in scmi_sys_pwr_state_set()
29 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_sys_pwr_state_set()
36 scmi_send_sync_command(ch); in scmi_sys_pwr_state_set()
43 scmi_put_channel(ch); in scmi_sys_pwr_state_set()
56 scmi_channel_t *ch = (scmi_channel_t *)p; in scmi_sys_pwr_state_get() local
58 validate_scmi_channel(ch); in scmi_sys_pwr_state_get()
60 scmi_get_channel(ch); in scmi_sys_pwr_state_get()
62 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_sys_pwr_state_get()
68 scmi_send_sync_command(ch); in scmi_sys_pwr_state_get()
75 scmi_put_channel(ch); in scmi_sys_pwr_state_get()