Lines Matching refs:leaf
509 int portid, board, chip, channel, leaf; in opl_init_root_nodes() local
540 leaf = OPL_PORTID_TO_LEAF(portid); in opl_init_root_nodes()
541 opl_boards[board].cfg_pcich_leaf[channel][leaf] = node; in opl_init_root_nodes()
1981 int lsb, ch, leaf; in opl_get_hwd_va() local
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()
2022 if (copyout((void *)&hwd_sb->sb_pci_ch[ch].pci_leaf[leaf], in opl_get_hwd_va()
2299 int board, channel, leaf; in opl_master_interrupt() local
2315 leaf = OPL_PORTID_TO_LEAF(portid); in opl_master_interrupt()
2318 (OPL_OBERON_CHANNEL(channel) && !OPL_VALID_LEAF(leaf)) || in opl_master_interrupt()
2319 ((channel == OPL_CMU_CHANNEL) && (leaf != 0))) { in opl_master_interrupt()
2350 opl_get_probe_string(opl_probe_t *probe, int channel, int leaf) in opl_get_probe_string() argument
2361 pr_sb->sb_pci_ch[channel].pci_leaf[leaf].leaf_port_id; in opl_get_probe_string()
2371 int channel, leaf, portid, error, circ; in opl_probe_leaf() local
2381 leaf = probe->pr_leaf; in opl_probe_leaf()
2386 ASSERT(OPL_VALID_LEAF(leaf)); in opl_probe_leaf()
2393 pr_sb->sb_pci_ch[channel].pci_leaf[leaf].leaf_port_id; in opl_probe_leaf()
2394 cfg_handle = &board_cfg->cfg_pcich_handle[channel][leaf]; in opl_probe_leaf()
2455 probe_string = opl_get_probe_string(probe, channel, leaf); in opl_probe_leaf()
2484 board_cfg->cfg_pcich_probe_str[channel][leaf] in opl_probe_leaf()
2519 int len, portid, board, channel, leaf; in opl_init_leaves() local
2562 leaf = OPL_PORTID_TO_LEAF(portid); in opl_init_leaves()
2564 channel][leaf] != NULL) in opl_init_leaves()
2566 channel][leaf] = node; in opl_init_leaves()