Lines Matching refs:match_buf

155 	       struct pci_conf *match_buf)  in pci_conf_match_native()  argument
159 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_native()
175 && (match_buf->pc_sel.pc_domain != in pci_conf_match_native()
180 && (match_buf->pc_sel.pc_bus != matches[i].pc_sel.pc_bus)) in pci_conf_match_native()
184 && (match_buf->pc_sel.pc_dev != matches[i].pc_sel.pc_dev)) in pci_conf_match_native()
188 && (match_buf->pc_sel.pc_func != matches[i].pc_sel.pc_func)) in pci_conf_match_native()
192 && (match_buf->pc_vendor != matches[i].pc_vendor)) in pci_conf_match_native()
196 && (match_buf->pc_device != matches[i].pc_device)) in pci_conf_match_native()
200 && (match_buf->pc_class != matches[i].pc_class)) in pci_conf_match_native()
204 && (match_buf->pd_unit != matches[i].pd_unit)) in pci_conf_match_native()
208 && (strncmp(matches[i].pd_name, match_buf->pd_name, in pci_conf_match_native()
209 sizeof(match_buf->pd_name)) != 0)) in pci_conf_match_native()
221 struct pci_conf *match_buf) in pci_conf_match32() argument
225 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match32()
241 && (match_buf->pc_sel.pc_domain != in pci_conf_match32()
246 && (match_buf->pc_sel.pc_bus != matches[i].pc_sel.pc_bus)) in pci_conf_match32()
250 && (match_buf->pc_sel.pc_dev != matches[i].pc_sel.pc_dev)) in pci_conf_match32()
254 && (match_buf->pc_sel.pc_func != matches[i].pc_sel.pc_func)) in pci_conf_match32()
258 && (match_buf->pc_vendor != matches[i].pc_vendor)) in pci_conf_match32()
262 && (match_buf->pc_device != matches[i].pc_device)) in pci_conf_match32()
266 && (match_buf->pc_class != matches[i].pc_class)) in pci_conf_match32()
270 && (match_buf->pd_unit != matches[i].pd_unit)) in pci_conf_match32()
274 && (strncmp(matches[i].pd_name, match_buf->pd_name, in pci_conf_match32()
275 sizeof(match_buf->pd_name)) != 0)) in pci_conf_match32()
378 struct pci_conf *match_buf) in pci_conf_match_freebsd6() argument
382 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_freebsd6()
386 if (match_buf->pc_sel.pc_domain != 0) in pci_conf_match_freebsd6()
401 && (match_buf->pc_sel.pc_bus != matches[i].pc_sel.pc_bus)) in pci_conf_match_freebsd6()
405 && (match_buf->pc_sel.pc_dev != matches[i].pc_sel.pc_dev)) in pci_conf_match_freebsd6()
409 && (match_buf->pc_sel.pc_func != matches[i].pc_sel.pc_func)) in pci_conf_match_freebsd6()
413 && (match_buf->pc_vendor != matches[i].pc_vendor)) in pci_conf_match_freebsd6()
417 && (match_buf->pc_device != matches[i].pc_device)) in pci_conf_match_freebsd6()
421 && (match_buf->pc_class != matches[i].pc_class)) in pci_conf_match_freebsd6()
425 && (match_buf->pd_unit != matches[i].pd_unit)) in pci_conf_match_freebsd6()
429 && (strncmp(matches[i].pd_name, match_buf->pd_name, in pci_conf_match_freebsd6()
430 sizeof(match_buf->pd_name)) != 0)) in pci_conf_match_freebsd6()
442 struct pci_conf *match_buf) in pci_conf_match_freebsd6_32() argument
446 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_freebsd6_32()
450 if (match_buf->pc_sel.pc_domain != 0) in pci_conf_match_freebsd6_32()
465 (match_buf->pc_sel.pc_bus != matches[i].pc_sel.pc_bus)) in pci_conf_match_freebsd6_32()
469 (match_buf->pc_sel.pc_dev != matches[i].pc_sel.pc_dev)) in pci_conf_match_freebsd6_32()
473 (match_buf->pc_sel.pc_func != matches[i].pc_sel.pc_func)) in pci_conf_match_freebsd6_32()
477 (match_buf->pc_vendor != matches[i].pc_vendor)) in pci_conf_match_freebsd6_32()
481 (match_buf->pc_device != matches[i].pc_device)) in pci_conf_match_freebsd6_32()
485 (match_buf->pc_class != matches[i].pc_class)) in pci_conf_match_freebsd6_32()
489 ((u_int32_t)match_buf->pd_unit != matches[i].pd_unit)) in pci_conf_match_freebsd6_32()
493 (strncmp(matches[i].pd_name, match_buf->pd_name, in pci_conf_match_freebsd6_32()
494 sizeof(match_buf->pd_name)) != 0)) in pci_conf_match_freebsd6_32()
520 struct pci_conf *match_buf) in pci_conf_match() argument
526 (struct pci_match_conf *)matches, num_matches, match_buf)); in pci_conf_match()
530 num_matches, match_buf)); in pci_conf_match()
536 match_buf)); in pci_conf_match()
541 match_buf)); in pci_conf_match()