Lines Matching full:bc

313 	memset(&path->bc, -1, 6);  in get_node_path()
318 path->bc[i--] = PCI_SLOT(devfn); in get_node_path()
325 path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn)<< 5); in get_node_path()
327 path->bc[i--] = to_parisc_device(dev)->hw_path; in get_node_path()
337 if (path->bc[i] == -1) in print_hwpath()
339 output += sprintf(output, "%u/", (unsigned char) path->bc[i]); in print_hwpath()
410 if (path.bc[i] == -1) in setup_bus_id()
412 output += sprintf(output, "%u:", (unsigned char) path.bc[i]); in setup_bus_id()
487 if (modpath->bc[i] == -1) in create_parisc_device()
489 parent = &alloc_tree_node(parent, modpath->bc[i])->dev; in create_parisc_device()
652 * @index: the current BC index
665 return ((modpath->bc[5] == PCI_SLOT(devfn)) && in match_pci_device()
669 /* index might be out of bounds for bc[] */ in match_pci_device()
674 return (modpath->bc[index] == id); in match_pci_device()
681 * @index: the current BC index
689 char id = (index == 6) ? modpath->mod : modpath->bc[index]; in match_parisc_device()
724 * @index: the current BC index
760 if (modpath->bc[i] == -1) in hwpath_to_device()
1033 pr_cont(".bc = { 0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x }, ", in qemu_print_iodc_data()
1034 (unsigned char)mod_path.path.bc[0], in qemu_print_iodc_data()
1035 (unsigned char)mod_path.path.bc[1], in qemu_print_iodc_data()
1036 (unsigned char)mod_path.path.bc[2], in qemu_print_iodc_data()
1037 (unsigned char)mod_path.path.bc[3], in qemu_print_iodc_data()
1038 (unsigned char)mod_path.path.bc[4], in qemu_print_iodc_data()
1039 (unsigned char)mod_path.path.bc[5]); in qemu_print_iodc_data()