Lines Matching refs:request
492 struct smp_report_general_request *request, int request_len, in smp_report_general() argument
500 (uint8_t *)request, in smp_report_general()
506 bzero(request, sizeof(*request)); in smp_report_general()
508 request->frame_type = SMP_FRAME_TYPE_REQUEST; in smp_report_general()
509 request->function = SMP_FUNC_REPORT_GENERAL; in smp_report_general()
510 request->response_len = long_response ? SMP_RG_RESPONSE_LEN : 0; in smp_report_general()
511 request->request_len = 0; in smp_report_general()
521 struct smp_discover_request *request, int request_len, in smp_discover() argument
529 (uint8_t *)request, in smp_discover()
535 bzero(request, sizeof(*request)); in smp_discover()
536 request->frame_type = SMP_FRAME_TYPE_REQUEST; in smp_discover()
537 request->function = SMP_FUNC_DISCOVER; in smp_discover()
538 request->response_len = long_response ? SMP_DIS_RESPONSE_LEN : 0; in smp_discover()
539 request->request_len = long_response ? SMP_DIS_REQUEST_LEN : 0; in smp_discover()
541 request->ignore_zone_group |= SMP_DIS_IGNORE_ZONE_GROUP; in smp_discover()
542 request->phy = phy; in smp_discover()
552 struct smp_report_manuf_info_request *request, in smp_report_manuf_info() argument
560 (uint8_t *)request, in smp_report_manuf_info()
566 bzero(request, sizeof(*request)); in smp_report_manuf_info()
568 request->frame_type = SMP_FRAME_TYPE_REQUEST; in smp_report_manuf_info()
569 request->function = SMP_FUNC_REPORT_MANUF_INFO; in smp_report_manuf_info()
570 request->response_len = long_response ? SMP_RMI_RESPONSE_LEN : 0; in smp_report_manuf_info()
571 request->request_len = long_response ? SMP_RMI_REQUEST_LEN : 0; in smp_report_manuf_info()
581 struct smp_phy_control_request *request, int request_len, in smp_phy_control() argument
592 (uint8_t *)request, in smp_phy_control()
598 bzero(request, sizeof(*request)); in smp_phy_control()
600 request->frame_type = SMP_FRAME_TYPE_REQUEST; in smp_phy_control()
601 request->function = SMP_FUNC_PHY_CONTROL; in smp_phy_control()
602 request->response_len = long_response ? SMP_PC_RESPONSE_LEN : 0; in smp_phy_control()
603 request->request_len = long_response ? SMP_PC_REQUEST_LEN : 0; in smp_phy_control()
604 scsi_ulto2b(expected_exp_change_count, request->expected_exp_chg_cnt); in smp_phy_control()
605 request->phy = phy; in smp_phy_control()
606 request->phy_operation = phy_op; in smp_phy_control()
609 request->update_pp_timeout |= SMP_PC_UPDATE_PP_TIMEOUT; in smp_phy_control()
611 scsi_u64to8b(attached_device_name, request->attached_device_name); in smp_phy_control()
612 request->prog_min_phys_link_rate = (prog_min_prl << in smp_phy_control()
614 request->prog_max_phys_link_rate = (prog_max_prl << in smp_phy_control()
616 request->config_bits0 = slumber_partial; in smp_phy_control()
617 request->pp_timeout_value = pp_timeout_value; in smp_phy_control()