Lines Matching defs:handle
407 mptsas_find_portinfo_by_handle(MPT_ADAPTER *ioc, u16 handle)
414 if (port_info->phy_info[i].identify.handle == handle) {
868 if (phy_info->attached.handle)
1627 port_info->phy_info[i].attached.handle = sas_device->handle;
2450 port_info->phy_info[i].handle =
2572 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle);
2573 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
2640 device_info->handle = le16_to_cpu(buffer->DevHandle);
2731 port_info->phy_info[i].handle =
2809 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle);
2810 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
3181 if (!phy_info->attached.handle ||
3227 * Let the hotplug_work thread handle processing
3334 port_info->phy_info[i].handle =
3335 hba->phy_info[i].handle;
3351 port_info->phy_info[i].identify.handle =
3352 port_info->phy_info[i].handle;
3356 port_info->phy_info[i].identify.handle);
3362 if (port_info->phy_info[i].attached.handle)
3367 port_info->phy_info[i].attached.handle);
3392 u32 handle;
3394 handle = port_info->phy_info[0].handle;
3399 MPI_SAS_EXPAND_PGAD_FORM_SHIFT), (i << 16) + handle);
3405 port_info->phy_info[i].identify.handle);
3409 if (port_info->phy_info[i].attached.handle) {
3414 port_info->phy_info[i].attached.handle);
3460 port_info->phy_info[i].handle =
3555 port_info->phy_info[0].identify.handle);
3648 port_info->phy_info[i].handle =
3669 * @handle: device handle
3673 mptsas_expander_add(MPT_ADAPTER *ioc, u16 handle)
3680 MPI_SAS_EXPAND_PGAD_FORM_SHIFT), handle)))
3803 u32 handle;
3829 sas_device.handle = 0;
3838 if (sas_device.handle)
3896 handle = 0xFFFF;
3899 MPI_SAS_EXPAND_PGAD_FORM_SHIFT), handle) &&
3902 handle = buffer.phy_info[0].handle;
3927 u32 handle;
3930 handle = 0xFFFF;
3933 MPI_SAS_EXPAND_PGAD_FORM_SHIFT), handle)) {
3935 handle = buffer.phy_info[0].handle;
3942 port_info->phy_info[i].handle = handle;
3975 u16 handle;
3979 handle = 0xFFFF;
3981 MPI_SAS_DEVICE_PGAD_FORM_GET_NEXT_HANDLE, handle))) {
3983 handle = sas_device.handle;
4211 * Extra code to handle RAID0 case, where the sas_address is not updated
4327 * Work queue thread to handle SAS hotplug events
4375 if (!sas_device.handle)
4383 "parent handle of device %x\n", ioc->name,
4627 hot_plug_info.handle = le16_to_cpu(sas_event_data->DevHandle);
4954 * mptsas_send_ir2_event - handle exposing hidden disk when