Home
last modified time | relevance | path

Searched refs:hba (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/dev/hptiop/
H A Dhptiop.c77 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 Dhptiop.h436 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 Dhptnr_os_bsd.c101 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 Dhptnr_osm_bsd.c73 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 Dhpt27xx_os_bsd.c115 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 Dhpt27xx_osm_bsd.c71 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 Dhptrr_os_bsd.c92 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 Dhptrr_osm_bsd.c80 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 Dmmc_all.h71 void mmc_path_inq(struct ccb_pathinq *cpi, const char *hba,
H A Dmmc_xpt.c1203 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 Dufshcd-pltfrm.txt27 - 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 Dsm4250-oneplus-billie2.dts228 vdd-hba-supply = <&vreg_l18a>;
H A Dsm6125-xiaomi-laurel-sprout.dts397 vdd-hba-supply = <&vreg_l18a>;
H A Dsm6115p-lenovo-j606f.dts347 vdd-hba-supply = <&pm6125_l18>;
H A Dqcs8550-aim300.dtsi379 vdd-hba-supply = <&vreg_l3g_1p2>;
H A Dsm6115-fxtec-pro1x.dts528 vdd-hba-supply = <&pm6125_l18a>;
H A Dsm8450-qrd.dts446 vdd-hba-supply = <&vreg_l9b_1p2>;
H A Dsm8550-samsung-q5q.dts581 vdd-hba-supply = <&vreg_l3g_1p2>;
H A Dsm8350-hdk.dts837 vdd-hba-supply = <&vreg_l9b_1p2>;
H A Dmsm8996-xiaomi-common.dtsi419 vdd-hba-supply = <&vreg_l25a_1p2>;
H A Dsm8550-mtp.dts935 vdd-hba-supply = <&vreg_l3g_1p2>;
H A Dsm8550-qrd.dts1193 vdd-hba-supply = <&vreg_l3g_1p2>;
H A Dsm8450-hdk.dts1085 vdd-hba-supply = <&vreg_l9b_1p2>;
H A Dsm8550-hdk.dts1331 vdd-hba-supply = <&vreg_l3g_1p2>;
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3588-extra.dtsi390 hba-port-cap = <HBA_PORT_FBSCP>;

12