Lines Matching refs:portid

509 	int		portid, board, chip, channel, leaf;  in opl_init_root_nodes()  local
514 ret = OPL_GET_PROP(int, node, "portid", &portid, -1); in opl_init_root_nodes()
522 chip = OPL_CPU_CHIP(portid); in opl_init_root_nodes()
527 ret = OPL_GET_PROP(int, node, "portid", &portid, -1); in opl_init_root_nodes()
531 board = OPL_IO_PORTID_TO_LSB(portid); in opl_init_root_nodes()
532 channel = OPL_PORTID_TO_CHANNEL(portid); in opl_init_root_nodes()
540 leaf = OPL_PORTID_TO_LEAF(portid); in opl_init_root_nodes()
1003 int board, portid; in opl_create_pseudo_mc() local
1019 portid = OPL_LSB_TO_PSEUDOMC_PORTID(board); in opl_create_pseudo_mc()
1020 OPL_UPDATE_PROP(int, node, "portid", portid); in opl_create_pseudo_mc()
1977 uint32_t portid; in opl_get_hwd_va() local
1992 portid = fc_cell2uint32_t(fc_arg(cp, 0)); in opl_get_hwd_va()
1996 lsb = OPL_IO_PORTID_TO_LSB(portid); in opl_get_hwd_va()
1997 ch = OPL_PORTID_TO_CHANNEL(portid); in opl_get_hwd_va()
1998 leaf = OPL_PORTID_TO_LEAF(portid); in opl_get_hwd_va()
1999 ASSERT(OPL_IO_PORTID(lsb, ch, leaf) == portid); in opl_get_hwd_va()
2017 portid); in opl_get_hwd_va()
2026 portid); in opl_get_hwd_va()
2238 master_interrupt_init(uint32_t portid, uint32_t xt) in master_interrupt_init() argument
2298 uint32_t portid, xt; in opl_master_interrupt() local
2310 portid = fc_cell2uint32_t(fc_arg(cp, 0)); in opl_master_interrupt()
2313 board = OPL_IO_PORTID_TO_LSB(portid); in opl_master_interrupt()
2314 channel = OPL_PORTID_TO_CHANNEL(portid); in opl_master_interrupt()
2315 leaf = OPL_PORTID_TO_LEAF(portid); in opl_master_interrupt()
2321 portid); in opl_master_interrupt()
2324 status = master_interrupt_init(portid, xt); in opl_master_interrupt()
2353 int portid; in opl_get_probe_string() local
2358 portid = probe->pr_sb->sb_cmu.cmu_ch.chan_portid; in opl_get_probe_string()
2360 portid = probe-> in opl_get_probe_string()
2363 (void) sprintf(probe_string, "%x", portid); in opl_get_probe_string()
2371 int channel, leaf, portid, error, circ; in opl_probe_leaf() local
2389 portid = probe->pr_sb->sb_cmu.cmu_ch.chan_portid; in opl_probe_leaf()
2392 portid = probe-> in opl_probe_leaf()
2450 (void) sprintf(unit_address, "%x", portid); in opl_probe_leaf()
2519 int len, portid, board, channel, leaf; in opl_init_leaves() local
2542 ret = OPL_GET_PROP(int, node, "portid", &portid, -1); in opl_init_leaves()
2554 channel = OPL_PORTID_TO_CHANNEL(portid); in opl_init_leaves()
2562 leaf = OPL_PORTID_TO_LEAF(portid); in opl_init_leaves()