Lines Matching refs:regh
431 * Read byte value from the specified @regh PCI configuration space at the
515 * @regh: PCI configuration space handle.
521 xge_os_pio_mem_read8(pci_dev_h pdev, pci_reg_h regh, void *addr)
524 (bus_space_tag_t)(((xge_bus_resource_t *)regh)->bus_tag);
526 (bus_space_handle_t)(((xge_bus_resource_t *)regh)->bus_handle);
528 (((xge_bus_resource_t *)(regh))->bar_start_addr);
537 * @regh: PCI configuration space handle.
544 xge_os_pio_mem_write8(pci_dev_h pdev, pci_reg_h regh, u8 val, void *addr)
547 (bus_space_tag_t)(((xge_bus_resource_t *)regh)->bus_tag);
549 (bus_space_handle_t)(((xge_bus_resource_t *)regh)->bus_handle);
551 (((xge_bus_resource_t *)(regh))->bar_start_addr);
560 * @regh: PCI configuration space handle.
566 xge_os_pio_mem_read16(pci_dev_h pdev, pci_reg_h regh, void *addr)
569 (bus_space_tag_t)(((xge_bus_resource_t *)regh)->bus_tag);
571 (bus_space_handle_t)(((xge_bus_resource_t *)regh)->bus_handle);
573 (((xge_bus_resource_t *)(regh))->bar_start_addr);
582 * @regh: PCI configuration space handle.
589 xge_os_pio_mem_write16(pci_dev_h pdev, pci_reg_h regh, u16 val, void *addr)
592 (bus_space_tag_t)(((xge_bus_resource_t *)regh)->bus_tag);
594 (bus_space_handle_t)(((xge_bus_resource_t *)regh)->bus_handle);
595 caddr_t addrss = (caddr_t)(((xge_bus_resource_t *)(regh))->bar_start_addr);
604 * @regh: PCI configuration space handle.
610 xge_os_pio_mem_read32(pci_dev_h pdev, pci_reg_h regh, void *addr)
613 (bus_space_tag_t)(((xge_bus_resource_t *)regh)->bus_tag);
615 (bus_space_handle_t)(((xge_bus_resource_t *)regh)->bus_handle);
617 (((xge_bus_resource_t *)(regh))->bar_start_addr);
626 * @regh: PCI configuration space handle.
633 xge_os_pio_mem_write32(pci_dev_h pdev, pci_reg_h regh, u32 val, void *addr)
636 (bus_space_tag_t)(((xge_bus_resource_t *)regh)->bus_tag);
638 (bus_space_handle_t)(((xge_bus_resource_t *)regh)->bus_handle);
639 caddr_t addrss = (caddr_t)(((xge_bus_resource_t *)(regh))->bar_start_addr);
647 * @regh: PCI configuration space handle.
653 xge_os_pio_mem_read64(pci_dev_h pdev, pci_reg_h regh, void *addr)
658 (bus_space_tag_t)(((xge_bus_resource_t *)regh)->bus_tag);
660 (bus_space_handle_t)(((xge_bus_resource_t *)regh)->bus_handle);
662 (((xge_bus_resource_t *)(regh))->bar_start_addr);
675 * @regh: PCI configuration space handle.
682 xge_os_pio_mem_write64(pci_dev_h pdev, pci_reg_h regh, u64 val, void *addr)
685 xge_os_pio_mem_write32(pdev, regh, vall, addr);
686 xge_os_pio_mem_write32(pdev, regh, val >> 32, ((caddr_t)(addr) + 4));