Lines Matching refs:portid
510 int portid, board, chip, channel, leaf; in opl_init_root_nodes() local
515 ret = OPL_GET_PROP(int, node, "portid", &portid, -1); in opl_init_root_nodes()
523 chip = OPL_CPU_CHIP(portid); in opl_init_root_nodes()
528 ret = OPL_GET_PROP(int, node, "portid", &portid, -1); in opl_init_root_nodes()
532 board = OPL_IO_PORTID_TO_LSB(portid); in opl_init_root_nodes()
533 channel = OPL_PORTID_TO_CHANNEL(portid); in opl_init_root_nodes()
541 leaf = OPL_PORTID_TO_LEAF(portid); in opl_init_root_nodes()
1002 int board, portid; in opl_create_pseudo_mc() local
1018 portid = OPL_LSB_TO_PSEUDOMC_PORTID(board); in opl_create_pseudo_mc()
1019 OPL_UPDATE_PROP(int, node, "portid", portid); in opl_create_pseudo_mc()
1976 uint32_t portid; in opl_get_hwd_va() local
1991 portid = fc_cell2uint32_t(fc_arg(cp, 0)); in opl_get_hwd_va()
1995 lsb = OPL_IO_PORTID_TO_LSB(portid); in opl_get_hwd_va()
1996 ch = OPL_PORTID_TO_CHANNEL(portid); in opl_get_hwd_va()
1997 leaf = OPL_PORTID_TO_LEAF(portid); in opl_get_hwd_va()
1998 ASSERT(OPL_IO_PORTID(lsb, ch, leaf) == portid); in opl_get_hwd_va()
2016 portid); in opl_get_hwd_va()
2025 portid); in opl_get_hwd_va()
2237 master_interrupt_init(uint32_t portid, uint32_t xt) in master_interrupt_init() argument
2297 uint32_t portid, xt; in opl_master_interrupt() local
2309 portid = fc_cell2uint32_t(fc_arg(cp, 0)); in opl_master_interrupt()
2312 board = OPL_IO_PORTID_TO_LSB(portid); in opl_master_interrupt()
2313 channel = OPL_PORTID_TO_CHANNEL(portid); in opl_master_interrupt()
2314 leaf = OPL_PORTID_TO_LEAF(portid); in opl_master_interrupt()
2320 portid); in opl_master_interrupt()
2323 status = master_interrupt_init(portid, xt); in opl_master_interrupt()
2352 int portid; in opl_get_probe_string() local
2357 portid = probe->pr_sb->sb_cmu.cmu_ch.chan_portid; in opl_get_probe_string()
2359 portid = probe-> in opl_get_probe_string()
2362 (void) sprintf(probe_string, "%x", portid); in opl_get_probe_string()
2370 int channel, leaf, portid, error; in opl_probe_leaf() local
2388 portid = probe->pr_sb->sb_cmu.cmu_ch.chan_portid; in opl_probe_leaf()
2391 portid = probe-> in opl_probe_leaf()
2449 (void) sprintf(unit_address, "%x", portid); in opl_probe_leaf()
2518 int len, portid, board, channel, leaf; in opl_init_leaves() local
2541 ret = OPL_GET_PROP(int, node, "portid", &portid, -1); in opl_init_leaves()
2553 channel = OPL_PORTID_TO_CHANNEL(portid); in opl_init_leaves()
2561 leaf = OPL_PORTID_TO_LEAF(portid); in opl_init_leaves()