Lines Matching refs:request
491 struct smp_report_general_request *request, int request_len, in smp_report_general() argument
499 (uint8_t *)request, in smp_report_general()
505 bzero(request, sizeof(*request)); in smp_report_general()
507 request->frame_type = SMP_FRAME_TYPE_REQUEST; in smp_report_general()
508 request->function = SMP_FUNC_REPORT_GENERAL; in smp_report_general()
509 request->response_len = long_response ? SMP_RG_RESPONSE_LEN : 0; in smp_report_general()
510 request->request_len = 0; in smp_report_general()
520 struct smp_discover_request *request, int request_len, in smp_discover() argument
528 (uint8_t *)request, in smp_discover()
534 bzero(request, sizeof(*request)); in smp_discover()
535 request->frame_type = SMP_FRAME_TYPE_REQUEST; in smp_discover()
536 request->function = SMP_FUNC_DISCOVER; in smp_discover()
537 request->response_len = long_response ? SMP_DIS_RESPONSE_LEN : 0; in smp_discover()
538 request->request_len = long_response ? SMP_DIS_REQUEST_LEN : 0; in smp_discover()
540 request->ignore_zone_group |= SMP_DIS_IGNORE_ZONE_GROUP; in smp_discover()
541 request->phy = phy; in smp_discover()
551 struct smp_report_manuf_info_request *request, in smp_report_manuf_info() argument
559 (uint8_t *)request, in smp_report_manuf_info()
565 bzero(request, sizeof(*request)); in smp_report_manuf_info()
567 request->frame_type = SMP_FRAME_TYPE_REQUEST; in smp_report_manuf_info()
568 request->function = SMP_FUNC_REPORT_MANUF_INFO; in smp_report_manuf_info()
569 request->response_len = long_response ? SMP_RMI_RESPONSE_LEN : 0; in smp_report_manuf_info()
570 request->request_len = long_response ? SMP_RMI_REQUEST_LEN : 0; in smp_report_manuf_info()
580 struct smp_phy_control_request *request, int request_len, in smp_phy_control() argument
591 (uint8_t *)request, in smp_phy_control()
597 bzero(request, sizeof(*request)); in smp_phy_control()
599 request->frame_type = SMP_FRAME_TYPE_REQUEST; in smp_phy_control()
600 request->function = SMP_FUNC_PHY_CONTROL; in smp_phy_control()
601 request->response_len = long_response ? SMP_PC_RESPONSE_LEN : 0; in smp_phy_control()
602 request->request_len = long_response ? SMP_PC_REQUEST_LEN : 0; in smp_phy_control()
603 scsi_ulto2b(expected_exp_change_count, request->expected_exp_chg_cnt); in smp_phy_control()
604 request->phy = phy; in smp_phy_control()
605 request->phy_operation = phy_op; in smp_phy_control()
608 request->update_pp_timeout |= SMP_PC_UPDATE_PP_TIMEOUT; in smp_phy_control()
610 scsi_u64to8b(attached_device_name, request->attached_device_name); in smp_phy_control()
611 request->prog_min_phys_link_rate = (prog_min_prl << in smp_phy_control()
613 request->prog_max_phys_link_rate = (prog_max_prl << in smp_phy_control()
615 request->config_bits0 = slumber_partial; in smp_phy_control()
616 request->pp_timeout_value = pp_timeout_value; in smp_phy_control()