Home
last modified time | relevance | path

Searched refs:dev_handle (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/dev/mpr/
H A Dmpr_mapping.c74 map_entry->dev_handle = 0; in _mapping_clear_map_entry()
434 if (mt_entry->dev_handle == volHandle) in _mapping_get_ir_mt_idx_from_handle()
455 if (mt_entry->dev_handle == handle) in _mapping_get_mt_idx_from_handle()
674 mt_entry->dev_handle = 0; in _mapping_update_ir_missing_cnt()
866 if (!phy_change->dev_handle || (phy_change->reason != in _mapping_update_missing_count()
870 dev_handle); in _mapping_update_missing_count()
896 if (!port_change->dev_handle || (port_change->reason != in _mapping_update_pcie_missing_count()
900 dev_handle); in _mapping_update_pcie_missing_count()
1159 if (phy_change->is_processed || !phy_change->dev_handle || in _mapping_get_dev_info()
1165 phy_change->dev_handle)) { in _mapping_get_dev_info()
[all …]
H A Dmpr_mapping.h46 uint16_t dev_handle; member
68 uint16_t dev_handle; member
H A Dmpr_user.c2213 uint16_t dev_handle, bus, target; in mpr_user_btdh() local
2217 dev_handle = data->DevHandle; in mpr_user_btdh()
2225 if ((bus == 0xFFFF) && (target == 0xFFFF) && (dev_handle != 0xFFFF)) in mpr_user_btdh()
2227 if ((dev_handle == 0xFFFF) && (bus != 0xFFFF) && (target != 0xFFFF)) in mpr_user_btdh()
2244 dev_handle = sc->mapping_table[target].dev_handle; in mpr_user_btdh()
2245 if (dev_handle) in mpr_user_btdh()
2246 data->DevHandle = dev_handle; in mpr_user_btdh()
2249 target = mpr_mapping_get_tid_from_handle(sc, dev_handle); in mpr_user_btdh()
H A Dmprvar.h152 u16 dev_handle; member
196 u16 dev_handle; member
294 uint16_t dev_handle; member
/freebsd/sys/dev/gpio/
H A Dacpi_gpiobus.c49 ACPI_HANDLE dev_handle; member
55 ACPI_HANDLE dev_handle; /* ACPI handle for bus */ member
124 handle != ctx->dev_handle) in acpi_gpiobus_enumerate_res()
213 devi->dev_handle = ctx->dev_handle; in acpi_gpiobus_enumerate_aei()
345 ctx.dev_handle = handle; in acpi_gpiobus_attach()
407 *result = (uintptr_t)devi->dev_handle; in acpi_gpiobus_read_ivar()
/freebsd/sys/dev/mps/
H A Dmps_mapping.c75 map_entry->dev_handle = 0; in _mapping_clear_map_entry()
435 if (mt_entry->dev_handle == volHandle) in _mapping_get_ir_mt_idx_from_handle()
456 if (mt_entry->dev_handle == handle) in _mapping_get_mt_idx_from_handle()
676 mt_entry->dev_handle = 0; in _mapping_update_ir_missing_cnt()
819 if (!phy_change->dev_handle || (phy_change->reason != in _mapping_update_missing_count()
823 dev_handle); in _mapping_update_missing_count()
1121 if (phy_change->is_processed || !phy_change->dev_handle || in _mapping_get_dev_info()
1127 phy_change->dev_handle)) { in _mapping_get_dev_info()
1144 &sas_address, phy_change->dev_handle, device_info, in _mapping_get_dev_info()
1150 __func__, phy_change->dev_handle); in _mapping_get_dev_info()
[all …]
H A Dmps_mapping.h47 uint16_t dev_handle; member
H A Dmps_user.c2101 uint16_t dev_handle, bus, target; in mps_user_btdh() local
2105 dev_handle = data->DevHandle; in mps_user_btdh()
2113 if ((bus == 0xFFFF) && (target == 0xFFFF) && (dev_handle != 0xFFFF)) in mps_user_btdh()
2115 if ((dev_handle == 0xFFFF) && (bus != 0xFFFF) && (target != 0xFFFF)) in mps_user_btdh()
2132 dev_handle = sc->mapping_table[target].dev_handle; in mps_user_btdh()
2133 if (dev_handle) in mps_user_btdh()
2134 data->DevHandle = dev_handle; in mps_user_btdh()
2137 target = mps_mapping_get_tid_from_handle(sc, dev_handle); in mps_user_btdh()
H A Dmpsvar.h124 u16 dev_handle; member
168 u16 dev_handle; member
259 uint16_t dev_handle; member
H A Dmps_sas.c2452 htole16(sc->DD_column_map[column].dev_handle); in mpssas_direct_drive_io()
2542 dev_handle); in mpssas_direct_drive_io()
2620 dev_handle); in mpssas_direct_drive_io()
H A Dmps_config.c541 sc->DD_column_map[index].dev_handle = in mps_wd_config_pages()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_cam.c567 tm_req.DevHandle = htole16(tgtdev->dev_handle); in mpi3mr_issue_tm()
600 tm_type, tgtdev->dev_handle); in mpi3mr_issue_tm()
646 tgtdev->dev_handle, drv_cmd->ioc_status, drv_cmd->ioc_loginfo); in mpi3mr_issue_tm()
666 …"termination_count(%u), response:%s(0x%x)\n", tm_type, tgtdev->dev_handle, drv_cmd->ioc_status, dr… in mpi3mr_issue_tm()
1004 if (targ->dev_handle == 0x0) { in mpi3mr_action_scsiio()
1090 req->DevHandle = htole16(targ->dev_handle); in mpi3mr_action_scsiio()
1211 targ->per_id, targ->dev_handle, in mpi3mr_enqueue_request()
1236 targ->per_id, targ->dev_handle, in mpi3mr_enqueue_request()
1387 if ((targ->dev_handle == 0x0) || (targ->dev_removed == 1)) { in mpi3mr_cam_action()
1657 mpi3mr_remove_device_from_os(sc, target->dev_handle); in mpi3mr_process_sastopochg_evt()
[all …]
H A Dmpi3mr.c2828 sc->init_cmds.dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
2834 sc->ioctl_cmds.dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
2840 sc->pel_abort_cmd.dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
2846 sc->host_tm_cmds.dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
2859 sc->dev_rmhs_cmds[i].dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
3304 if (target->dev_handle == handle) in mpi3mr_find_target_by_dev_handle()
3319 tgtdev->dev_handle = (dev_pg0->DevHandle); in mpi3mr_update_device()
3500 __func__, drv_cmd->dev_handle, drv_cmd->ioc_status, in mpi3mr_dev_rmhs_complete_iou()
3507 __func__, drv_cmd->dev_handle, in mpi3mr_dev_rmhs_complete_iou()
3509 mpi3mr_dev_rmhs_send_tm(sc, drv_cmd->dev_handle, in mpi3mr_dev_rmhs_complete_iou()
[all …]
H A Dmpi3mr_app.c278 U16 dev_handle = nvme_encap_request->DevHandle; in mpi3mr_app_build_nvme_prp() local
282 tgtdev = mpi3mr_find_target_by_dev_handle(sc->cam_sc, dev_handle); in mpi3mr_app_build_nvme_prp()
285 dev_handle); in mpi3mr_app_build_nvme_prp()
290 sc->name, __func__, dev_handle); in mpi3mr_app_build_nvme_prp()
299 __func__, dev_pgsz, MPI3MR_IOCTL_SGE_SIZE, dev_handle); in mpi3mr_app_build_nvme_prp()
305 __func__, MPI3MR_IOCTL_SGE_SIZE, dev_pgsz, dev_handle); in mpi3mr_app_build_nvme_prp()
1910 devmap_info[i].handle = tgtdev->dev_handle; in mpi3mr_get_alltgtinfo()
1989 (tgtinfo.dev_handle != 0xFFFF)) in mpi3mr_get_tgtinfo()
1994 (tgtinfo.dev_handle !=0xFFFF) || in mpi3mr_get_tgtinfo()
1998 } else if (tgtinfo.dev_handle !=0xFFFF) { in mpi3mr_get_tgtinfo()
[all …]
H A Dmpi3mr_cam.h86 uint16_t dev_handle; member
H A Dmpi3mr_app.h168 U16 dev_handle; member
H A Dmpi3mr.h424 U16 dev_handle; member
935 uint16_t dev_handle);
/freebsd/lib/libusb/
H A Dlibusb10_io.c524 ctx = libusb10_get_context_by_device_handle(transfer->dev_handle); in libusb10_do_transfer_cb()
558 xfer->dev_handle = devh; in libusb10_do_transfer()
736 transfer->dev_handle = devh; in libusb_fill_control_transfer()
757 transfer->dev_handle = devh; in libusb_fill_bulk_transfer()
773 transfer->dev_handle = devh; in libusb_fill_interrupt_transfer()
789 transfer->dev_handle = devh; in libusb_fill_iso_transfer()
H A Dlibusb10.c1137 dev = libusb_get_device(uxfer->dev_handle); in libusb10_isoc_proxy()
1503 if (uxfer->dev_handle == NULL) in libusb_submit_transfer()
1508 dev = libusb_get_device(uxfer->dev_handle); in libusb_submit_transfer()
1517 pxfer0 = libusb10_get_transfer(uxfer->dev_handle, endpoint, 0); in libusb_submit_transfer()
1518 pxfer1 = libusb10_get_transfer(uxfer->dev_handle, endpoint, 1); in libusb_submit_transfer()
1538 uxfer->dev_handle, endpoint); in libusb_submit_transfer()
1567 if ((devh = uxfer->dev_handle) == NULL) in libusb_cancel_transfer()
H A Dlibusb.h460 libusb_device_handle *dev_handle; member
/freebsd/stand/efi/libefi/
H A Defihttp.c72 EFI_HANDLE dev_handle; member
289 oh->dev_handle = handle; in efihttp_dev_open()
372 status = BS->OpenProtocol(oh->dev_handle, &httpsb_guid, (void **)&sb, in efihttp_dev_close()
/freebsd/sys/dev/mpt/
H A Dmpt_cam.c694 phy_info->identify.dev_handle = le16toh(buffer->OwnerDevHandle); in mptsas_sas_phy_pg0()
695 phy_info->attached.dev_handle = le16toh(buffer->AttachedDevHandle); in mptsas_sas_phy_pg0()
736 device_info->dev_handle = le16toh(buffer->DevHandle); in mptsas_sas_device_pg0()
787 if (phyinfo->attached.dev_handle) in mpt_read_config_info_sas()
792 phyinfo->attached.dev_handle); in mpt_read_config_info_sas()
860 if (phyinfo->attached.dev_handle == 0) in mpt_set_initial_config_sas()
H A Dmpt.h501 uint16_t dev_handle; member