/drivers/scsi/lpfc/ |
D | lpfc_ct.c | 236 if (cmdcode == be16_to_cpu(SLI_CTNS_GID_FT) || in lpfc_alloc_ct_rsp() 237 cmdcode == be16_to_cpu(SLI_CTNS_GFF_ID)) in lpfc_alloc_ct_rsp() 655 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) { in lpfc_cmpl_ct_cmd_gid_ft() 662 be16_to_cpu(SLI_CT_RESPONSE_FS_RJT)) { in lpfc_cmpl_ct_cmd_gid_ft() 768 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) { in lpfc_cmpl_ct_cmd_gff_id() 887 cmdcode = be16_to_cpu(((struct lpfc_sli_ct_request *) inp->virt)-> in lpfc_cmpl_ct() 947 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) in lpfc_cmpl_ct_cmd_rft_id() 968 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) in lpfc_cmpl_ct_cmd_rnn_id() 989 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) in lpfc_cmpl_ct_cmd_rspn_id() 1010 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) in lpfc_cmpl_ct_cmd_rsnn_nn() [all …]
|
/drivers/misc/ |
D | bmp085.c | 110 cali->AC1 = be16_to_cpu(tmp[0]); in bmp085_read_calibration_data() 111 cali->AC2 = be16_to_cpu(tmp[1]); in bmp085_read_calibration_data() 112 cali->AC3 = be16_to_cpu(tmp[2]); in bmp085_read_calibration_data() 113 cali->AC4 = be16_to_cpu(tmp[3]); in bmp085_read_calibration_data() 114 cali->AC5 = be16_to_cpu(tmp[4]); in bmp085_read_calibration_data() 115 cali->AC6 = be16_to_cpu(tmp[5]); in bmp085_read_calibration_data() 116 cali->B1 = be16_to_cpu(tmp[6]); in bmp085_read_calibration_data() 117 cali->B2 = be16_to_cpu(tmp[7]); in bmp085_read_calibration_data() 118 cali->MB = be16_to_cpu(tmp[8]); in bmp085_read_calibration_data() 119 cali->MC = be16_to_cpu(tmp[9]); in bmp085_read_calibration_data() [all …]
|
/drivers/usb/misc/ |
D | emi26.c | 124 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 150 while (rec && (i + be16_to_cpu(rec->len) < FW_LOAD_SIZE)) { in emi26_load_firmware() 151 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); in emi26_load_firmware() 152 i += be16_to_cpu(rec->len); in emi26_load_firmware() 173 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 195 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 215 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware()
|
D | emi62.c | 131 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 157 while (rec && (i + be16_to_cpu(rec->len) < FW_LOAD_SIZE)) { in emi62_load_firmware() 158 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); in emi62_load_firmware() 159 i += be16_to_cpu(rec->len); in emi62_load_firmware() 180 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 202 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 222 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware()
|
/drivers/memstick/core/ |
D | mspro_block.c | 341 be16_to_cpu(x_sys->block_size)); in mspro_block_attr_show_sysinfo() 343 be16_to_cpu(x_sys->block_count)); in mspro_block_attr_show_sysinfo() 345 be16_to_cpu(x_sys->user_block_count)); in mspro_block_attr_show_sysinfo() 347 be16_to_cpu(x_sys->page_size)); in mspro_block_attr_show_sysinfo() 365 be16_to_cpu(x_sys->memory_maker_code)); in mspro_block_attr_show_sysinfo() 367 be16_to_cpu(x_sys->memory_model_code)); in mspro_block_attr_show_sysinfo() 373 be16_to_cpu(x_sys->controller_number)); in mspro_block_attr_show_sysinfo() 376 be16_to_cpu(x_sys->controller_function)); in mspro_block_attr_show_sysinfo() 378 be16_to_cpu(x_sys->start_sector)); in mspro_block_attr_show_sysinfo() 380 be16_to_cpu(x_sys->unit_size)); in mspro_block_attr_show_sysinfo() [all …]
|
/drivers/scsi/ |
D | sd_dif.c | 118 be16_to_cpu(sdt->guard_tag), be16_to_cpu(csum)); in sd_dif_type1_verify() 235 be16_to_cpu(sdt->guard_tag), be16_to_cpu(csum)); in sd_dif_type3_verify() 420 be16_to_cpu(sdt->app_tag)); in sd_dif_prepare()
|
/drivers/infiniband/hw/amso1100/ |
D | c2_mq.c | 120 *q->shared = cpu_to_be16((be16_to_cpu(*q->shared)+1) % q->q_size); in c2_mq_lconsume() 130 count = be16_to_cpu(*q->shared) - q->priv; 132 count = q->priv - be16_to_cpu(*q->shared);
|
D | c2_mq.h | 88 return q->priv == be16_to_cpu(*q->shared); in c2_mq_empty() 93 return q->priv == (be16_to_cpu(*q->shared) + q->q_size - 1) % q->q_size; in c2_mq_full()
|
/drivers/power/ |
D | olpc_battery.c | 341 val->intval = (s16)be16_to_cpu(ec_word) * 9760L / 32; in olpc_bat_get_property() 349 val->intval = (s16)be16_to_cpu(ec_word) * 15625L / 120; in olpc_bat_get_property() 380 val->intval = (s16)be16_to_cpu(ec_word) * 100 / 256; in olpc_bat_get_property() 387 val->intval = (int)be16_to_cpu(ec_word) * 100 / 256; in olpc_bat_get_property() 394 val->intval = (s16)be16_to_cpu(ec_word) * 6250 / 15; in olpc_bat_get_property()
|
/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 474 (be16_to_cpu(hdr->lrh[0]) >> 4) & in qib_ud_rcv() 483 (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF, in qib_ud_rcv() 491 (be16_to_cpu(hdr->lrh[0]) >> 12) == 15))) in qib_ud_rcv() 497 if (tlen != 256 || (be16_to_cpu(hdr->lrh[0]) >> 12) != 15) in qib_ud_rcv() 574 wc.slid = be16_to_cpu(hdr->lrh[3]); in qib_ud_rcv() 575 wc.sl = (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF; in qib_ud_rcv() 576 dlid = be16_to_cpu(hdr->lrh[1]); in qib_ud_rcv()
|
/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 415 switch (be16_to_cpu(scan->security) & GELIC_EURUS_SCAN_SEC_MASK) { in gelic_wl_synthesize_ie() 427 switch (be16_to_cpu(scan->security) & GELIC_EURUS_SCAN_SEC_WPA_MASK) { in gelic_wl_synthesize_ie() 603 iwe.u.freq.m = be16_to_cpu(scan->channel); in gelic_wl_translate_scan() 639 if (be16_to_cpu(scan->capability) & WLAN_CAPABILITY_PRIVACY) in gelic_wl_translate_scan() 648 if (be16_to_cpu(scan->capability) & in gelic_wl_translate_scan() 650 if (be16_to_cpu(scan->capability) & WLAN_CAPABILITY_ESS) in gelic_wl_translate_scan() 661 iwe.u.qual.level = be16_to_cpu(scan->rssi); in gelic_wl_translate_scan() 662 iwe.u.qual.qual = be16_to_cpu(scan->rssi); in gelic_wl_translate_scan() 668 if (be16_to_cpu(scan->size) <= sizeof(*scan)) { in gelic_wl_translate_scan() 681 data_len = be16_to_cpu(scan->size) - sizeof(*scan); in gelic_wl_translate_scan() [all …]
|
/drivers/scsi/bfa/ |
D | bfa_fcbuild.c | 367 if (be16_to_cpu(plogi->class3.rxsz) < (FC_MIN_PDUSZ)) in fc_plogi_rsp_parse() 384 if ((be16_to_cpu(plogi->class3.rxsz) < FC_MIN_PDUSZ) in fc_plogi_parse() 385 || (be16_to_cpu(plogi->class3.rxsz) > FC_MAX_PDUSZ) in fc_plogi_parse() 558 if ((be16_to_cpu(pdisc->class3.rxsz) < in fc_pdisc_parse() 677 num_pages = (be16_to_cpu(prlo->payload_len) - 4) / 16; in fc_logout_params_pages() 680 num_pages = (be16_to_cpu(tprlo->payload_len) - 4) / 16; in fc_logout_params_pages() 706 return be16_to_cpu(tprlo_acc->payload_len); in fc_tprlo_acc_build() 730 return be16_to_cpu(prlo_acc->payload_len); in fc_prlo_acc_build() 875 if (be16_to_cpu(pdisc->class3.rxsz) < (FC_MIN_PDUSZ)) in fc_pdisc_rsp_parse() 902 return be16_to_cpu(prlo->payload_len); in fc_prlo_build() [all …]
|
/drivers/infiniband/core/ |
D | sysfs.c | 629 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[0]), in show_sys_image_guid() 630 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[1]), in show_sys_image_guid() 631 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[2]), in show_sys_image_guid() 632 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[3])); in show_sys_image_guid() 641 be16_to_cpu(((__be16 *) &dev->node_guid)[0]), in show_node_guid() 642 be16_to_cpu(((__be16 *) &dev->node_guid)[1]), in show_node_guid() 643 be16_to_cpu(((__be16 *) &dev->node_guid)[2]), in show_node_guid() 644 be16_to_cpu(((__be16 *) &dev->node_guid)[3])); in show_node_guid()
|
/drivers/gpu/drm/mga/ |
D | mga_warp.c | 94 size += WARP_UCODE_SIZE(be16_to_cpu(rec->len)); in mga_warp_install_microcode() 122 src_size = be16_to_cpu(rec->len); in mga_warp_install_microcode()
|
/drivers/infiniband/hw/mlx4/ |
D | cq.c | 479 be32_to_cpu(cqe->my_qpn), be16_to_cpu(cqe->wqe_index), in mlx4_ib_handle_error_cqe() 622 wqe_ctr = be16_to_cpu(cqe->wqe_index); in mlx4_ib_poll_one() 629 wqe_ctr = be16_to_cpu(cqe->wqe_index); in mlx4_ib_poll_one() 717 wc->slid = be16_to_cpu(cqe->rlid); in mlx4_ib_poll_one() 727 wc->sl = be16_to_cpu(cqe->sl_vid) >> 13; in mlx4_ib_poll_one() 729 wc->sl = be16_to_cpu(cqe->sl_vid) >> 12; in mlx4_ib_poll_one() 798 mlx4_ib_free_srq_wqe(srq, be16_to_cpu(cqe->wqe_index)); in __mlx4_ib_cq_clean()
|
/drivers/net/wireless/ath/ath9k/ |
D | htc_hst.c | 92 target->credit_size = be16_to_cpu(htc_ready_msg->credit_size); in htc_process_target_rdy() 115 service_id = be16_to_cpu(svc_rspmsg->service_id); in htc_process_conn_rsp() 116 max_msglen = be16_to_cpu(svc_rspmsg->max_msg_len); in htc_process_conn_rsp() 402 switch (be16_to_cpu(*msg_id)) { in ath9k_htc_rx_msg()
|
/drivers/staging/ramster/cluster/ |
D | tcp.c | 86 be16_to_cpu(__hdr->magic), be16_to_cpu(__hdr->data_len), \ 87 be16_to_cpu(__hdr->msg_type), be32_to_cpu(__hdr->status), \ 1282 switch (be16_to_cpu(hdr->magic)) { in r2net_process_message() 1314 nmh = r2net_handler_get(be16_to_cpu(hdr->msg_type), in r2net_process_message() 1318 be16_to_cpu(hdr->msg_type), be32_to_cpu(hdr->key)); in r2net_process_message() 1325 if (be16_to_cpu(hdr->data_len) > nmh->nh_max_len) in r2net_process_message() 1333 sc->sc_msg_type = be16_to_cpu(hdr->msg_type); in r2net_process_message() 1335 be16_to_cpu(hdr->data_len), in r2net_process_message() 1351 if (be16_to_cpu(hdr->magic) == R2NET_MSG_DATA_MAGIC) { in r2net_process_message() 1516 if (be16_to_cpu(hdr->data_len) > in r2net_advance_rx() [all …]
|
/drivers/media/rc/ |
D | redrat3.c | 453 header.mod_freq_count = be16_to_cpu(tmp16); in redrat3_process_ir_data() 456 header.no_periods = be16_to_cpu(tmp16); in redrat3_process_ir_data() 462 header.max_sig_size = be16_to_cpu(tmp16); in redrat3_process_ir_data() 465 header.sig_size = be16_to_cpu(tmp16); in redrat3_process_ir_data() 486 single_len = redrat3_len_to_us((u32)be16_to_cpu(val)); in redrat3_process_ir_data() 727 rr3->pktlen = be16_to_cpu(rr3->pktlen); in redrat3_read_packet_start() 728 rr3->pkttype = be16_to_cpu(rr3->pkttype); in redrat3_read_packet_start() 735 tx_error = be16_to_cpu(tx_error); in redrat3_read_packet_start()
|
/drivers/input/misc/ |
D | mpu3050.c | 164 coords->x = be16_to_cpu(buffer[0]); in mpu3050_read_xyz() 165 coords->y = be16_to_cpu(buffer[1]); in mpu3050_read_xyz() 166 coords->z = be16_to_cpu(buffer[2]); in mpu3050_read_xyz()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_ud.c | 509 (be16_to_cpu(hdr->lrh[0]) >> 12) != 15)) || in ipath_ud_rcv() 512 (be16_to_cpu(hdr->lrh[0]) >> 12) == 15)))) { in ipath_ud_rcv() 565 wc.slid = be16_to_cpu(hdr->lrh[3]); in ipath_ud_rcv() 566 wc.sl = (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF; in ipath_ud_rcv() 567 dlid = be16_to_cpu(hdr->lrh[1]); in ipath_ud_rcv()
|
/drivers/mfd/ |
D | wm8350-core.c | 81 dest[i - reg] = be16_to_cpu(dest[i - reg]); in wm8350_phys_read() 531 value = be16_to_cpu(wm8350->reg_cache[i]); in wm8350_create_cache() 598 id1 = be16_to_cpu(id1); in wm8350_device_init() 599 id2 = be16_to_cpu(id2); in wm8350_device_init() 600 mask_rev = be16_to_cpu(mask_rev); in wm8350_device_init()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 118 u16 lid = be16_to_cpu(pinfo->lid); in smp_snoop() 122 be16_to_cpu(pinfo->sm_lid), in smp_snoop() 204 u16 slid = in_wc ? in_wc->slid : be16_to_cpu(IB_LID_PERMISSIVE); in mthca_process_mad()
|
/drivers/media/radio/wl128x/ |
D | fmdrv_common.c | 598 fmdev->irq_info.flag = be16_to_cpu(fmdev->irq_info.flag); in fm_irq_handle_flag_getcmd_resp() 767 cur_picode = be16_to_cpu(rds_fmt.data.groupgeneral.pidata); in fm_irq_handle_rdsdata_getcmd_resp() 992 read_freq = be16_to_cpu(read_freq); in fm_irq_afjump_rd_freq_resp() 1352 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up() 1355 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up() 1364 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up()
|
D | fmdrv_rx.c | 119 curr_frq = be16_to_cpu(curr_frq); in fm_rx_set_freq() 192 curr_frq = be16_to_cpu(curr_frq); in fm_rx_seek() 288 curr_frq = be16_to_cpu(curr_frq); in fm_rx_seek() 534 *rssilvl = be16_to_cpu(curr_rssi_lel); in fm_rx_get_rssi_level() 625 *mode = be16_to_cpu(curr_mode); in fm_rx_get_stereo_mono()
|
/drivers/net/ethernet/adaptec/ |
D | starfire.c | 1005 writew(be16_to_cpu(eaddrs[2]), setup_frm); setup_frm += 4; in netdev_open() 1006 writew(be16_to_cpu(eaddrs[1]), setup_frm); setup_frm += 4; in netdev_open() 1007 writew(be16_to_cpu(eaddrs[0]), setup_frm); setup_frm += 8; in netdev_open() 1794 writew(be16_to_cpu(eaddrs[2]), filter_addr); filter_addr += 4; in set_rx_mode() 1795 writew(be16_to_cpu(eaddrs[1]), filter_addr); filter_addr += 4; in set_rx_mode() 1796 writew(be16_to_cpu(eaddrs[0]), filter_addr); filter_addr += 8; in set_rx_mode() 1801 writew(be16_to_cpu(eaddrs[0]), filter_addr); filter_addr += 4; in set_rx_mode() 1802 writew(be16_to_cpu(eaddrs[1]), filter_addr); filter_addr += 4; in set_rx_mode() 1803 writew(be16_to_cpu(eaddrs[2]), filter_addr); filter_addr += 8; in set_rx_mode() 1825 writew(be16_to_cpu(eaddrs[0]), filter_addr); filter_addr += 4; in set_rx_mode() [all …]
|