Lines Matching defs:ph
158 static int pc_write_madr(pda_handle_t ph,
160 static boardset_t get_boardset(pda_handle_t ph, int *nboards);
165 static int idnxf_shmem_update_all(pda_handle_t ph,
537 pc_write_madr(pda_handle_t ph, int lboard, int rboard, uint_t madr)
547 lbp = pda_get_board_info(ph, lboard);
736 pc_read_madr(pda_handle_t ph, int lboard, uint_t mc_adr[], int local_only)
744 lbp = pda_get_board_info(ph, lboard);
783 lbp = pda_get_board_info(ph, brd);
803 mc_get_adr_all(pda_handle_t ph, uint_t mc_adr[], int *nmcadr)
814 pc_read_madr(ph, brd, madr, 1);
823 get_boardset(pda_handle_t ph, int *nboards)
834 if (pda_board_present(ph, brd)) {
893 pda_handle_t ph;
921 ph = pda_open();
922 if (ph == (pda_handle_t)NULL) {
926 } else if (!pda_is_valid(ph)) {
928 pda_close(ph);
935 loc_hw->dh_boardset = get_boardset(ph, &nboards);
939 mc_get_adr_all(ph, loc_hw->dh_mcadr, &nmcadr);
950 if (!idn_cpu_per_board(ph, cpu_ready_set, loc_hw)) {
951 pda_close(ph);
955 pda_close(ph);
1120 idnxf_shmem_update_all(pda_handle_t ph, boardset_t boardset,
1134 pda_get_busmask(ph, &abus_mask, NULL);
1317 pda_handle_t ph;
1348 ph = pda_open();
1349 if (ph == (pda_handle_t)NULL) {
1355 } else if (!pda_is_valid(ph)) {
1365 rv = idnxf_shmem_update_all(ph, boardset, smbase, smlimit, 1);
1396 if (pc_write_madr(ph, brd, rbrd, madr) < 0) {
1408 if (ph)
1409 pda_close(ph);
1434 pda_handle_t ph;
1457 ph = pda_open();
1458 if (ph == (pda_handle_t)NULL) {
1464 } else if (!pda_is_valid(ph)) {
1474 rv = idnxf_shmem_update_all(ph, boardset, (uint_t)-1, (uint_t)-1, 0);
1500 if (pc_write_madr(ph, brd, rbrd, 0) < 0) {
1512 if (ph)
1513 pda_close(ph);
1635 idn_cpu_per_board(pda_handle_t ph, cpuset_t cset, struct hwconfig *hwp)
1670 if (ph && !pda_is_valid(ph)) {
1679 lbp = ph ? pda_get_board_info(ph, b) : NULL;
1688 ph ? "local" : "remote", b);