Lines Matching refs:chp
238 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_offline() local
252 mutex_lock(&chp->lock); in chsc_chp_offline()
253 chp_update_desc(chp); in chsc_chp_offline()
254 mutex_unlock(&chp->lock); in chsc_chp_offline()
452 struct channel_path *chp; in chsc_process_sei_res_acc() local
471 chp = chpid_to_chp(chpid); in chsc_process_sei_res_acc()
472 mutex_lock(&chp->lock); in chsc_process_sei_res_acc()
473 chp_update_desc(chp); in chsc_process_sei_res_acc()
474 mutex_unlock(&chp->lock); in chsc_process_sei_res_acc()
484 struct channel_path *chp; in chsc_process_sei_chp_avail() local
501 chp = chpid_to_chp(chpid); in chsc_process_sei_chp_avail()
502 if (!chp) { in chsc_process_sei_chp_avail()
506 mutex_lock(&chp->lock); in chsc_process_sei_chp_avail()
507 chp_update_desc(chp); in chsc_process_sei_chp_avail()
508 mutex_unlock(&chp->lock); in chsc_process_sei_chp_avail()
591 struct channel_path *chp; in chsc_process_sei_fces_event() local
603 chp = chpid_to_chp(chpid); in chsc_process_sei_fces_event()
604 if (!chp) in chsc_process_sei_fces_event()
741 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_online() local
754 mutex_lock(&chp->lock); in chsc_chp_online()
755 chp_update_desc(chp); in chsc_chp_online()
756 mutex_unlock(&chp->lock); in chsc_chp_online()
802 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_vary() local
809 chp_update_desc(chp); in chsc_chp_vary()
1008 chsc_initialize_cmg_chars(struct channel_path *chp, u8 cmcv, in chsc_initialize_cmg_chars() argument
1016 chp->cmg_chars.values[i] = chars->values[i]; in chsc_initialize_cmg_chars()
1018 chp->cmg_chars.values[i] = 0; in chsc_initialize_cmg_chars()
1022 int chsc_get_channel_measurement_chars(struct channel_path *chp) in chsc_get_channel_measurement_chars() argument
1048 chp->shared = -1; in chsc_get_channel_measurement_chars()
1049 chp->cmg = -1; in chsc_get_channel_measurement_chars()
1059 scmc_area->first_chpid = chp->chpid.id; in chsc_get_channel_measurement_chars()
1060 scmc_area->last_chpid = chp->chpid.id; in chsc_get_channel_measurement_chars()
1077 chp->cmg = scmc_area->cmg; in chsc_get_channel_measurement_chars()
1078 chp->shared = scmc_area->shared; in chsc_get_channel_measurement_chars()
1079 if (chp->cmg != 2 && chp->cmg != 3) { in chsc_get_channel_measurement_chars()
1083 chsc_initialize_cmg_chars(chp, scmc_area->cmcv, in chsc_get_channel_measurement_chars()