/freebsd/sys/dev/hptiop/ |
H A D | hptiop.c | 77 static int hptiop_send_sync_msg(struct hpt_iop_hba *hba, 79 static void hptiop_request_callback_itl(struct hpt_iop_hba *hba, 81 static void hptiop_request_callback_mv(struct hpt_iop_hba *hba, u_int64_t req); 82 static void hptiop_request_callback_mvfrey(struct hpt_iop_hba *hba, 84 static void hptiop_os_message_callback(struct hpt_iop_hba *hba, u_int32_t msg); 85 static int hptiop_do_ioctl_itl(struct hpt_iop_hba *hba, 87 static int hptiop_do_ioctl_mv(struct hpt_iop_hba *hba, 89 static int hptiop_do_ioctl_mvfrey(struct hpt_iop_hba *hba, 91 static int hptiop_rescan_bus(struct hpt_iop_hba *hba); 92 static int hptiop_alloc_pci_res_itl(struct hpt_iop_hba *hba); [all …]
|
H A D | hptiop.h | 436 int (*iop_wait_ready)(struct hpt_iop_hba *hba, u_int32_t millisec); 437 int (*internal_memalloc)(struct hpt_iop_hba *hba); 438 int (*internal_memfree)(struct hpt_iop_hba *hba); 439 int (*alloc_pci_res)(struct hpt_iop_hba *hba); 440 void (*release_pci_res)(struct hpt_iop_hba *hba); 441 void (*enable_intr)(struct hpt_iop_hba *hba); 442 void (*disable_intr)(struct hpt_iop_hba *hba); 443 int (*get_config)(struct hpt_iop_hba *hba, 445 int (*set_config)(struct hpt_iop_hba *hba, 447 int (*iop_intr)(struct hpt_iop_hba *hba); [all …]
|
/freebsd/sys/dev/hptnr/ |
H A D | hptnr_os_bsd.c | 101 PHBA hba = (PHBA)osext; in os_map_pci_bar() local 104 hba->pcibar[index].rid = 0x10 + index * 4; in os_map_pci_bar() 105 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4); in os_map_pci_bar() 108 hba->pcibar[index].type = SYS_RES_IOPORT; in os_map_pci_bar() 109 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar() 110 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar() 111 hba->pcibar[index].base = (void *)(unsigned long)(base & ~0x1); in os_map_pci_bar() 113 hba->pcibar[index].type = SYS_RES_MEMORY; in os_map_pci_bar() 114 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar() 115 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar() [all …]
|
H A D | hptnr_osm_bsd.c | 73 PHBA hba = (PHBA)device_get_softc(dev); in hpt_attach() local 88 hba->ext_type = EXT_TYPE_HBA; in hpt_attach() 89 hba->ldm_adapter.him = him; in hpt_attach() 99 hba->ldm_adapter.him_handle = malloc(size, M_DEVBUF, M_WAITOK); in hpt_attach() 101 hba->pcidev = dev; in hpt_attach() 102 hba->pciaddr.tree = 0; in hpt_attach() 103 hba->pciaddr.bus = pci_get_bus(dev); in hpt_attach() 104 hba->pciaddr.device = pci_get_slot(dev); in hpt_attach() 105 hba->pciaddr.function = pci_get_function(dev); in hpt_attach() 107 if (!him->create_adapter(&pci_id, hba->pciaddr, hba->ldm_adapter.him_handle, hba)) { in hpt_attach() [all …]
|
/freebsd/sys/dev/hpt27xx/ |
H A D | hpt27xx_os_bsd.c | 115 PHBA hba = (PHBA)osext; in os_map_pci_bar() local 118 hba->pcibar[index].rid = 0x10 + index * 4; in os_map_pci_bar() 119 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4); in os_map_pci_bar() 122 hba->pcibar[index].type = SYS_RES_IOPORT; in os_map_pci_bar() 123 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar() 124 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar() 125 hba->pcibar[index].base = (void *)(unsigned long)(base & ~0x1); in os_map_pci_bar() 127 hba->pcibar[index].type = SYS_RES_MEMORY; in os_map_pci_bar() 128 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar() 129 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar() [all …]
|
H A D | hpt27xx_osm_bsd.c | 71 PHBA hba = (PHBA)device_get_softc(dev); in hpt_attach() local 86 hba->ext_type = EXT_TYPE_HBA; in hpt_attach() 87 hba->ldm_adapter.him = him; in hpt_attach() 96 hba->ldm_adapter.him_handle = malloc(size, M_DEVBUF, M_WAITOK); in hpt_attach() 97 hba->pcidev = dev; in hpt_attach() 98 hba->pciaddr.tree = 0; in hpt_attach() 99 hba->pciaddr.bus = pci_get_bus(dev); in hpt_attach() 100 hba->pciaddr.device = pci_get_slot(dev); in hpt_attach() 101 hba->pciaddr.function = pci_get_function(dev); in hpt_attach() 103 if (!him->create_adapter(&pci_id, hba->pciaddr, hba->ldm_adapter.him_handle, hba)) { in hpt_attach() [all …]
|
/freebsd/sys/dev/hptrr/ |
H A D | hptrr_os_bsd.c | 92 PHBA hba = (PHBA)osext; in os_map_pci_bar() local 94 hba->pcibar[index].rid = 0x10 + index * 4; in os_map_pci_bar() 96 if (pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4) & 1) in os_map_pci_bar() 97 hba->pcibar[index].type = SYS_RES_IOPORT; in os_map_pci_bar() 99 hba->pcibar[index].type = SYS_RES_MEMORY; in os_map_pci_bar() 101 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar() 102 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar() 104 hba->pcibar[index].base = (char *)rman_get_virtual(hba->pcibar[index].res) + offset; in os_map_pci_bar() 105 return hba->pcibar[index].base; in os_map_pci_bar() 110 PHBA hba = (PHBA)osext; in os_unmap_pci_bar() local [all …]
|
H A D | hptrr_osm_bsd.c | 80 PHBA hba = (PHBA)device_get_softc(dev); in hpt_attach() local 90 hba->ext_type = EXT_TYPE_HBA; in hpt_attach() 91 hba->ldm_adapter.him = him; in hpt_attach() 100 hba->ldm_adapter.him_handle = malloc(size, M_DEVBUF, M_WAITOK); in hpt_attach() 102 hba->pcidev = dev; in hpt_attach() 103 hba->pciaddr.tree = 0; in hpt_attach() 104 hba->pciaddr.bus = pci_get_bus(dev); in hpt_attach() 105 hba->pciaddr.device = pci_get_slot(dev); in hpt_attach() 106 hba->pciaddr.function = pci_get_function(dev); in hpt_attach() 108 if (!him->create_adapter(&pci_id, hba->pciaddr, hba->ldm_adapter.him_handle, hba)) { in hpt_attach() [all …]
|
/freebsd/sys/cam/mmc/ |
H A D | mmc_all.h | 71 void mmc_path_inq(struct ccb_pathinq *cpi, const char *hba,
|
H A D | mmc_xpt.c | 1203 mmc_path_inq(struct ccb_pathinq *cpi, const char *hba, in mmc_path_inq() argument 1217 strncpy(cpi->hba_vid, hba, HBA_IDLEN); in mmc_path_inq()
|
/freebsd/sys/contrib/device-tree/Bindings/ufs/ |
H A D | ufshcd-pltfrm.txt | 27 - vdd-hba-supply : phandle to UFS host controller supply regulator node 73 vdd-hba-supply = <&xxx_reg0>;
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sm4250-oneplus-billie2.dts | 228 vdd-hba-supply = <&vreg_l18a>;
|
H A D | sm6125-xiaomi-laurel-sprout.dts | 397 vdd-hba-supply = <&vreg_l18a>;
|
H A D | sm6115p-lenovo-j606f.dts | 347 vdd-hba-supply = <&pm6125_l18>;
|
H A D | qcs8550-aim300.dtsi | 379 vdd-hba-supply = <&vreg_l3g_1p2>;
|
H A D | sm6115-fxtec-pro1x.dts | 528 vdd-hba-supply = <&pm6125_l18a>;
|
H A D | sm8450-qrd.dts | 446 vdd-hba-supply = <&vreg_l9b_1p2>;
|
H A D | sm8550-samsung-q5q.dts | 581 vdd-hba-supply = <&vreg_l3g_1p2>;
|
H A D | sm8350-hdk.dts | 837 vdd-hba-supply = <&vreg_l9b_1p2>;
|
H A D | msm8996-xiaomi-common.dtsi | 419 vdd-hba-supply = <&vreg_l25a_1p2>;
|
H A D | sm8550-mtp.dts | 935 vdd-hba-supply = <&vreg_l3g_1p2>;
|
H A D | sm8550-qrd.dts | 1193 vdd-hba-supply = <&vreg_l3g_1p2>;
|
H A D | sm8450-hdk.dts | 1085 vdd-hba-supply = <&vreg_l9b_1p2>;
|
H A D | sm8550-hdk.dts | 1331 vdd-hba-supply = <&vreg_l3g_1p2>;
|
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3588-extra.dtsi | 390 hba-port-cap = <HBA_PORT_FBSCP>;
|