Lines Matching refs:match_buf
158 struct pci_conf *match_buf) in pci_conf_match_native() argument
162 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_native()
178 && (match_buf->pc_sel.pc_domain != in pci_conf_match_native()
183 && (match_buf->pc_sel.pc_bus != matches[i].pc_sel.pc_bus)) in pci_conf_match_native()
187 && (match_buf->pc_sel.pc_dev != matches[i].pc_sel.pc_dev)) in pci_conf_match_native()
191 && (match_buf->pc_sel.pc_func != matches[i].pc_sel.pc_func)) in pci_conf_match_native()
195 && (match_buf->pc_vendor != matches[i].pc_vendor)) in pci_conf_match_native()
199 && (match_buf->pc_device != matches[i].pc_device)) in pci_conf_match_native()
203 && (match_buf->pc_class != matches[i].pc_class)) in pci_conf_match_native()
207 && (match_buf->pd_unit != matches[i].pd_unit)) in pci_conf_match_native()
211 && (strncmp(matches[i].pd_name, match_buf->pd_name, in pci_conf_match_native()
212 sizeof(match_buf->pd_name)) != 0)) in pci_conf_match_native()
224 struct pci_conf *match_buf) in pci_conf_match32() argument
228 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match32()
244 && (match_buf->pc_sel.pc_domain != in pci_conf_match32()
249 && (match_buf->pc_sel.pc_bus != matches[i].pc_sel.pc_bus)) in pci_conf_match32()
253 && (match_buf->pc_sel.pc_dev != matches[i].pc_sel.pc_dev)) in pci_conf_match32()
257 && (match_buf->pc_sel.pc_func != matches[i].pc_sel.pc_func)) in pci_conf_match32()
261 && (match_buf->pc_vendor != matches[i].pc_vendor)) in pci_conf_match32()
265 && (match_buf->pc_device != matches[i].pc_device)) in pci_conf_match32()
269 && (match_buf->pc_class != matches[i].pc_class)) in pci_conf_match32()
273 && (match_buf->pd_unit != matches[i].pd_unit)) in pci_conf_match32()
277 && (strncmp(matches[i].pd_name, match_buf->pd_name, in pci_conf_match32()
278 sizeof(match_buf->pd_name)) != 0)) in pci_conf_match32()
381 struct pci_conf *match_buf) in pci_conf_match_old() argument
385 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_old()
389 if (match_buf->pc_sel.pc_domain != 0) in pci_conf_match_old()
404 && (match_buf->pc_sel.pc_bus != matches[i].pc_sel.pc_bus)) in pci_conf_match_old()
408 && (match_buf->pc_sel.pc_dev != matches[i].pc_sel.pc_dev)) in pci_conf_match_old()
412 && (match_buf->pc_sel.pc_func != matches[i].pc_sel.pc_func)) in pci_conf_match_old()
416 && (match_buf->pc_vendor != matches[i].pc_vendor)) in pci_conf_match_old()
420 && (match_buf->pc_device != matches[i].pc_device)) in pci_conf_match_old()
424 && (match_buf->pc_class != matches[i].pc_class)) in pci_conf_match_old()
428 && (match_buf->pd_unit != matches[i].pd_unit)) in pci_conf_match_old()
432 && (strncmp(matches[i].pd_name, match_buf->pd_name, in pci_conf_match_old()
433 sizeof(match_buf->pd_name)) != 0)) in pci_conf_match_old()
445 struct pci_conf *match_buf) in pci_conf_match_old32() argument
449 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_old32()
453 if (match_buf->pc_sel.pc_domain != 0) in pci_conf_match_old32()
468 (match_buf->pc_sel.pc_bus != matches[i].pc_sel.pc_bus)) in pci_conf_match_old32()
472 (match_buf->pc_sel.pc_dev != matches[i].pc_sel.pc_dev)) in pci_conf_match_old32()
476 (match_buf->pc_sel.pc_func != matches[i].pc_sel.pc_func)) in pci_conf_match_old32()
480 (match_buf->pc_vendor != matches[i].pc_vendor)) in pci_conf_match_old32()
484 (match_buf->pc_device != matches[i].pc_device)) in pci_conf_match_old32()
488 (match_buf->pc_class != matches[i].pc_class)) in pci_conf_match_old32()
492 ((u_int32_t)match_buf->pd_unit != matches[i].pd_unit)) in pci_conf_match_old32()
496 (strncmp(matches[i].pd_name, match_buf->pd_name, in pci_conf_match_old32()
497 sizeof(match_buf->pd_name)) != 0)) in pci_conf_match_old32()
523 struct pci_conf *match_buf) in pci_conf_match() argument
529 (struct pci_match_conf *)matches, num_matches, match_buf)); in pci_conf_match()
533 num_matches, match_buf)); in pci_conf_match()
539 match_buf)); in pci_conf_match()
544 match_buf)); in pci_conf_match()