Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa.c849 reply->key_info = BE_16(key_info); in wpa_supplicant_key_request()
855 reply->key_data_length = BE_16(0); in wpa_supplicant_key_request()
898 uint8_t *end = pos + BE_16(key->key_data_length); in wpa_supplicant_process_1_of_4()
901 pos, BE_16(key->key_data_length)); in wpa_supplicant_process_1_of_4()
953 reply->key_info = BE_16(ver | WPA_KEY_INFO_KEY_TYPE | WPA_KEY_INFO_MIC); in wpa_supplicant_process_1_of_4()
958 reply->key_data_length = BE_16(wpa_ie_len); in wpa_supplicant_process_1_of_4()
1120 key_info = BE_16(key->key_info); in wpa_supplicant_process_3_of_4()
1124 uint8_t *end = pos + BE_16(key->key_data_length); in wpa_supplicant_process_3_of_4()
1154 ie_len = BE_16(key->key_data_length); in wpa_supplicant_process_3_of_4()
1184 keylen = BE_16(key->key_length); in wpa_supplicant_process_3_of_4()
[all …]
/titanic_41/usr/src/cmd/format/
H A Dctlr_scsi.c665 page4->rpm = BE_16(page4->rpm); in scsi_format_time()
1803 hdr->length = BE_16(hdr->length);
1828 defects->length = BE_16(defects->length);
1868 defect_list.length = BE_16(defect_list.length);
2408 pd->recovery_time_limit = BE_16(pd->recovery_time_limit);
2415 pd->bus_inactivity_limit = BE_16(pd->bus_inactivity_limit);
2416 pd->disconect_time_limit = BE_16(pd->disconect_time_limit);
2417 pd->connect_time_limit = BE_16(pd->connect_time_limit);
2418 pd->max_burst_size = BE_16(pd->max_burst_size);
2425 pd->tracks_per_zone = BE_16(pd->tracks_per_zone);
[all …]
H A Dauto_sense.c1026 page4->rpm = BE_16(page4->rpm); in generic_disk_sense()
1027 page4->step_rate = BE_16(page4->step_rate); in generic_disk_sense()
1028 page3->tracks_per_zone = BE_16(page3->tracks_per_zone); in generic_disk_sense()
1029 page3->alt_sect_zone = BE_16(page3->alt_sect_zone); in generic_disk_sense()
1030 page3->alt_tracks_zone = BE_16(page3->alt_tracks_zone); in generic_disk_sense()
1031 page3->alt_tracks_vol = BE_16(page3->alt_tracks_vol); in generic_disk_sense()
1032 page3->sect_track = BE_16(page3->sect_track); in generic_disk_sense()
1033 page3->data_bytes_sect = BE_16(page3->data_bytes_sect); in generic_disk_sense()
1034 page3->interleave = BE_16(page3->interleave); in generic_disk_sense()
1035 page3->track_skew = BE_16(page3->track_skew); in generic_disk_sense()
[all …]
/titanic_41/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi.c400 datalength = (BE_16(smh_g1->ms_header.length) + in load_modepages()
403 BE_16(smh_g1->ms_header.bdesc_length)); in load_modepages()
506 log_length = BE_16(lhp->lh_length); in verify_logpage()
549 int pagecount = BE_16(sp->slp_hdr.lh_length); in load_logpages()
622 if (BE_16(iep->ie_hdr.lph_param) == LOGPARAM_IE) { in logpage_ie_verify()
667 param_code = BE_16(lphp->lph_param); in logpage_temp_verify()
727 param_code = BE_16(lphp->lph_param); in logpage_selftest_verify()
974 log_length = BE_16(lhp->lh_length); in analyze_one_logpage()
1011 if (BE_16(iep->ie_hdr.lph_param) == LOGPARAM_IE && in logpage_ie_analyze()
1049 param_code = BE_16(lphp->lph_param); in logpage_temp_analyze()
[all …]
H A Dds_scsi_uscsi.c1370 length = BE_16(hdr->length); in uscsi_mode_sense_10()
1371 bdesc_length = BE_16(hdr->bdesc_length); in uscsi_mode_sense_10()
1538 if (BE_16(header->ms_header.bdesc_length) == in uscsi_mode_select_10()
1629 len = BE_16(hdr->lh_length); in uscsi_log_sense()
/titanic_41/usr/src/lib/libfru/libfruraw/
H A Dfru_access_impl.h70 (BE_16(seg_layout->descriptor[1])| \
71 BE_16(seg_layout->descriptor[0] << 16))
H A Draw_access.c409 seghdr->offset = BE_16(seg_layout->offset); in copy_segment_layout()
410 seghdr->length = BE_16(seg_layout->length); in copy_segment_layout()
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dosdep.h142 #define be16_to_cpu(x) BE_16((uint16_t)(x))
145 #define cpu_to_be16(x) BE_16((uint16_t)(x))
/titanic_41/usr/src/cmd/scsi/smp/common/
H A Dsmp.c661 BE_16(rtlr->srertlr_exp_change_count)); in main()
663 BE_16(rtlr->srertlr_route_table_change_count)); in main()
683 startnum = BE_16(rtlr->srertlr_first_routed_sas_addr_index); in main()
685 startnum, BE_16(rtlr->srertlr_last_routed_sas_addr_index)); in main()
/titanic_41/usr/src/uts/common/sys/
H A Dbyteorder.h146 #define BE_16(x) BMASK_16(x) macro
159 #define BE_16(x) BSWAP_16(x)
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dsmp_transport.c127 ".%05d.%03d", BE_16(srmir->srmir_component_id), in smp_probe()
/titanic_41/usr/src/uts/common/io/iwi/
H A Dipw2200_hw.c220 return (BE_16(val)); in ipw2200_rom_get16()
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_init.c209 act_len = BE_16(header->di_page_length); in read_device_wwn()
/titanic_41/usr/src/uts/intel/io/amr/
H A Damr.c2030 page3p->data_bytes_sect = BE_16(AMR_DEFAULT_SECTORS); in amr_mode_sense()
2031 page3p->sect_track = BE_16(AMR_DEFAULT_CYLINDERS); in amr_mode_sense()
2044 page4p->rpm = BE_16(AMR_DEFAULT_ROTATIONS); in amr_mode_sense()
/titanic_41/usr/src/uts/common/io/uath/
H A Duath.c1623 chunk->seqnum, chunk->flags, BE_16(chunk->length)); in uath_data_rxeof()
1639 sizeof (struct uath_chunk) + BE_16(chunk->length) - in uath_data_rxeof()
2076 chunk->length = BE_16(msglen); in uath_send()
2342 chunk->length = BE_16(sizeof (struct uath_tx_desc)); in uath_dataflush()
/titanic_41/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c1799 if (eh->ether_type != BE_16(ETHERTYPE_IP)) { in myri10ge_send_hash()
1800 if (eh->ether_type != BE_16(ETHERTYPE_VLAN)) in myri10ge_send_hash()
1803 if (vh->ether_type != BE_16(ETHERTYPE_IP)) in myri10ge_send_hash()
2333 if (eh->ether_type == BE_16(ETHERTYPE_VLAN)) { in myri10ge_rx_csum()
2347 if (eh->ether_type == BE_16(ETHERTYPE_IP)) { in myri10ge_rx_csum()
2358 } else if (eh->ether_type == BE_16(ETHERTYPE_IPV6)) { in myri10ge_rx_csum()
3055 if (eh->ether_type == BE_16(ETHERTYPE_VLAN)) { in myri10ge_ether_parse_header()
/titanic_41/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c1865 BE_16(plun->lun_addr.ent_addr_0); in fcp_get_target_mappings()
1867 BE_16(plun->lun_addr.ent_addr_1); in fcp_get_target_mappings()
1869 BE_16(plun->lun_addr.ent_addr_2); in fcp_get_target_mappings()
1871 BE_16(plun->lun_addr.ent_addr_3); in fcp_get_target_mappings()
2597 BE_16(*(uint16_t *)&(lun_string[0])); in fcp_send_scsi_ioctl()
2599 BE_16(*(uint16_t *)&(lun_string[2])); in fcp_send_scsi_ioctl()
2601 BE_16(*(uint16_t *)&(lun_string[4])); in fcp_send_scsi_ioctl()
2603 BE_16(*(uint16_t *)&(lun_string[6])); in fcp_send_scsi_ioctl()
7837 BE_16(*(uint16_t *)&(lun_string[0])); in fcp_handle_reportlun()
7839 BE_16(*(uint16_t *)&(lun_string[2])); in fcp_handle_reportlun()
[all …]
H A Dfcip.c2889 snaphdr->pid = BE_16(snaphdr->pid); in fcip_data_cb()
2902 len = hdrlen + BE_16(iphdr->ipha_length); in fcip_data_cb()
5287 lsnap->pid = BE_16((dlap->dl_sap)); in fcip_udreq()
5321 lsnap->pid = BE_16(dlap->dl_sap); in fcip_udreq()
5814 lsnap->pid = BE_16(dlap->dl_sap); in fcip_dl_ioc_hdr_info()
/titanic_41/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c2897 *((uint16_t *)(p+4)) = BE_16(cmd->cmd_oxid); in fct_fill_abts_acc()
2898 *((uint16_t *)(p+6)) = BE_16(cmd->cmd_rxid); in fct_fill_abts_acc()
/titanic_41/usr/src/uts/common/io/aac/
H A Daac.c4065 g1_headerp->length = BE_16(MODE_HEADER_LENGTH_G1 + pages_size - in aac_mode_sense()
4082 page3p->data_bytes_sect = BE_16(AAC_SECTOR_SIZE); in aac_mode_sense()
4083 page3p->sect_track = BE_16(AAC_SECTORS_PER_TRACK); in aac_mode_sense()
4097 page4p->rpm = BE_16(AAC_ROTATION_SPEED); in aac_mode_sense()
/titanic_41/usr/src/uts/common/io/sfe/
H A Dsfe_util.c321 cksum += BE_16(ipproto); in gem_dump_packet()
333 cksum += BE_16(tcplen); in gem_dump_packet()
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dsd.c5046 sector_size = BE_16(page3p->data_bytes_sect); in sd_get_physical_geometry()
5057 nsect = BE_16(page3p->sect_track); in sd_get_physical_geometry()
5058 intrlv = BE_16(page3p->interleave); in sd_get_physical_geometry()
5067 BE_16(page3p->track_skew), in sd_get_physical_geometry()
5068 BE_16(page3p->cylinder_skew)); in sd_get_physical_geometry()
5125 rpm = BE_16(page4p->rpm); in sd_get_physical_geometry()
H A Dst.c2470 BE_16(((struct report_density_header *)den_header)->ava_dens_len); in st_get_densities_from_tape_drive()
2727 cdbsize = BE_16(((struct one_com_des *)oper)->cdb_size); in st_get_timeouts_value()
/titanic_41/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c5608 ((uint16_t *)p)[1] = BE_16(ilport->ilport_rtpid); in stmf_prepare_tpgs_data()
5626 ((uint16_t *)p)[1] = BE_16(ilport->ilport_rtpid); in stmf_prepare_tpgs_data()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c1621 if ((BE_16(ct->max_residual_size)) == 0) { in ql_fcct()
1683 if ((BE_16(ct->max_residual_size)) == 0) { in ql_fcct()

12