Lines Matching refs:wslot
295 union win_slot_encoding wslot; member
366 union win_slot_encoding wslot; member
374 union win_slot_encoding wslot; member
381 union win_slot_encoding wslot; member
389 union win_slot_encoding wslot; member
397 union win_slot_encoding wslot; member
409 union win_slot_encoding wslot; member
415 union win_slot_encoding wslot; member
421 union win_slot_encoding wslot; member
431 union win_slot_encoding wslot; member
447 union win_slot_encoding wslot; member
454 union win_slot_encoding wslot; member
460 union win_slot_encoding wslot; member
465 union win_slot_encoding wslot; member
961 u32 wslot);
1004 union win_slot_encoding wslot; in devfn_to_wslot() local
1006 wslot.slot = 0; in devfn_to_wslot()
1007 wslot.bits.dev = PCI_SLOT(devfn); in devfn_to_wslot()
1008 wslot.bits.func = PCI_FUNC(devfn); in devfn_to_wslot()
1010 return wslot.slot; in devfn_to_wslot()
1021 static int wslot_to_devfn(u32 wslot) in wslot_to_devfn() argument
1025 slot_no.slot = wslot; in wslot_to_devfn()
1443 read_blk->wslot.slot = devfn_to_wslot(pdev->devfn); in hv_read_config_block()
1523 write_blk->wslot.slot = devfn_to_wslot(pdev->devfn); in hv_write_config_block()
1605 int_pkt->wslot.slot = hpdev->desc.win_slot.slot; in hv_int_desc_free()
1693 int_pkt->wslot.slot = slot; in hv_compose_msi_req_v1()
1774 int_pkt->wslot.slot = slot; in hv_compose_msi_req_v2()
1790 int_pkt->wslot.slot = slot; in hv_compose_msi_req_v3()
2487 res_req->wslot.slot = desc->win_slot.slot; in new_pcichild_device()
2528 u32 wslot) in get_pcichild_wslot() argument
2535 if (iter->desc.win_slot.slot == wslot) { in get_pcichild_wslot()
2829 int wslot; in hv_eject_device_work() local
2846 wslot = wslot_to_devfn(hpdev->desc.win_slot.slot); in hv_eject_device_work()
2847 pdev = pci_get_domain_bus_and_slot(hbus->bridge->domain_nr, 0, wslot); in hv_eject_device_work()
2865 ejct_pkt->wslot.slot = hpdev->desc.win_slot.slot; in hv_eject_device_work()
3032 dev_message->wslot.slot); in hv_pci_onchannelcallback()
3048 inval->wslot.slot); in hv_pci_onchannelcallback()
3477 int wslot; in hv_send_resources_allocated() local
3489 for (wslot = 0; wslot < 256; wslot++) { in hv_send_resources_allocated()
3490 hpdev = get_pcichild_wslot(hbus, wslot); in hv_send_resources_allocated()
3504 res_assigned->wslot.slot = hpdev->desc.win_slot.slot; in hv_send_resources_allocated()
3510 res_assigned2->wslot.slot = hpdev->desc.win_slot.slot; in hv_send_resources_allocated()
3531 hbus->wslot_res_allocated = wslot; in hv_send_resources_allocated()
3550 int wslot; in hv_send_resources_released() local
3553 for (wslot = hbus->wslot_res_allocated; wslot >= 0; wslot--) { in hv_send_resources_released()
3554 hpdev = get_pcichild_wslot(hbus, wslot); in hv_send_resources_released()
3560 pkt.wslot.slot = hpdev->desc.win_slot.slot; in hv_send_resources_released()
3569 hbus->wslot_res_allocated = wslot - 1; in hv_send_resources_released()