Lines Matching refs:host_idx
211 mddi_host_type host_idx = mddi_curr_host;
212 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
288 static void mddi_vote_to_sleep(mddi_host_type host_idx, boolean sleep)
292 if (host_idx == MDDI_HOST_PRIM)
300 mddi_host_type host_idx = mddi_curr_host;
301 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
345 mddi_vote_to_sleep(host_idx, FALSE);
347 if (host_idx == MDDI_HOST_PRIM) {
419 mddi_vote_to_sleep(host_idx, TRUE);
436 mddi_host_type host_idx;
447 for (host_idx = MDDI_HOST_PRIM; host_idx < MDDI_NUM_HOST_CORES;
448 host_idx++) {
449 pmhctl = &(mhctl[host_idx]);
455 if (host_idx == MDDI_HOST_PRIM) {
509 for (host_idx = MDDI_HOST_PRIM; host_idx < MDDI_NUM_HOST_CORES;
510 host_idx++) {
511 mddi_log_params_struct_type *prev_ptr = &(prev_parms[host_idx]);
512 pmhctl = &(mhctl[host_idx]);
611 prev_parms[host_idx] = pmhctl->log_parms;
622 mddi_host_type host_idx = mddi_curr_host;
623 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
703 mddi_host_type host_idx = mddi_curr_host;
704 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
763 mddi_host_type host_idx = mddi_curr_host;
764 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
811 mddi_host_type host_idx = mddi_curr_host;
812 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
1106 mddi_host_type host_idx = mddi_curr_host;
1107 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
1240 mddi_host_type host_idx = mddi_curr_host;
1241 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
1247 if (host_idx == MDDI_HOST_PRIM) {
1287 mddi_host_type host_idx = mddi_curr_host;
1288 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
1403 static void mddi_host_initialize_registers(mddi_host_type host_idx)
1406 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
1512 void mddi_host_configure_interrupts(mddi_host_type host_idx, boolean enable)
1515 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
1529 if (host_idx == MDDI_HOST_PRIM) {
1570 static void mddi_host_powerup(mddi_host_type host_idx)
1572 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
1580 mddi_host_initialize_registers(host_idx);
1581 mddi_host_configure_interrupts(host_idx, TRUE);
1596 if (host_idx == MDDI_HOST_PRIM)
1600 void mddi_host_init(mddi_host_type host_idx)
1606 if (host_idx >= MDDI_NUM_HOST_CORES) {
1724 prev_parms[host_idx] = pmhctl->log_parms;
1734 mddi_host_powerup(host_idx);
1735 pmhctl = &(mhctl[host_idx]);
1745 mddi_host_type host_idx = MDDI_HOST_PRIM;
1811 void mddi_host_powerdown(mddi_host_type host_idx)
1813 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
1815 if (host_idx >= MDDI_NUM_HOST_CORES) {
1824 if (host_idx == MDDI_HOST_PRIM) {
1829 mddi_host_configure_interrupts(host_idx, FALSE);
1851 uint16 mddi_get_next_free_llist_item(mddi_host_type host_idx, boolean wait)
1856 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
1892 uint16 mddi_get_reg_read_llist_item(mddi_host_type host_idx, boolean wait)
1902 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
1914 mddi_get_next_free_llist_item(host_idx, wait);
1930 mddi_host_type host_idx)
1935 mddi_host_cntl_type *pmhctl = &(mhctl[host_idx]);
2051 mddi_host_type host_idx = MDDI_HOST_PRIM;
2072 mddi_curr_host = host_idx;
2098 mddi_host_type host_idx = MDDI_HOST_PRIM;
2165 mddi_host_type host_idx = MDDI_HOST_PRIM;
2184 void mddi_mhctl_remove(mddi_host_type host_idx)
2188 pmhctl = &(mhctl[host_idx]);