Searched refs:be16_to_cpu (Results 326 - 350 of 685) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/iio/adc/
H A Dti-ads1100.c116 value = be16_to_cpu(buffer);
H A Dstmpe-adc.c202 info->value = (u32) be16_to_cpu(data);
/linux-master/drivers/iio/humidity/
H A Dhdc100x.c191 return be16_to_cpu(val);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dvhca_event.c130 work->event.function_id = be16_to_cpu(eqe->data.vhca_state.function_id);
/linux-master/drivers/staging/fieldbus/anybuss/
H A Dhost.c754 u16 code = be16_to_cpu(hdr->extended[ext_offs]);
777 u16 info = be16_to_cpu(hdr->info);
1176 return adrv->anybus_id == be16_to_cpu(adev->anybus_id);
1350 dev_info(dev, "Fieldbus type: %04X", be16_to_cpu(fieldbus_type));
/linux-master/drivers/iio/imu/
H A Dadis16480.c1164 u16 curr = be16_to_cpu(buffer[offset]);
1165 u16 next = be16_to_cpu(buffer[offset + 1]);
1178 crc = be16_to_cpu(buffer[offset + 16]) << 16 | be16_to_cpu(buffer[offset + 15]);
/linux-master/fs/dlm/
H A Ddir.c113 namelen = be16_to_cpu(v);
/linux-master/drivers/hwmon/
H A Dltc2991.c75 *val = be16_to_cpu(regvals);
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c328 t->src_port = be16_to_cpu(src_port);
329 t->dest_port = be16_to_cpu(dest_port);
350 entry->ipv6.src_port = be16_to_cpu(src_port);
351 entry->ipv6.dest_port = be16_to_cpu(dest_port);
/linux-master/drivers/infiniband/core/
H A Dmulticast.c394 be16_to_cpu(group->rec.pkey), &pkey_index);
523 group->port->port_num, be16_to_cpu(rec->pkey),
759 rdma_ah_set_dlid(ah_attr, be16_to_cpu(rec->mlid));
/linux-master/drivers/scsi/elx/efct/
H A Defct_scsi.c931 io->init_task_tag = be16_to_cpu(hdr->fh_ox_id);
935 bls->ox_id = be16_to_cpu(hdr->fh_ox_id);
936 bls->rx_id = be16_to_cpu(hdr->fh_rx_id);
/linux-master/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c304 if (dlid == be16_to_cpu(IB_LID_PERMISSIVE)) {
305 slid = be16_to_cpu(IB_LID_PERMISSIVE);
314 slid = be16_to_cpu(IB_LID_PERMISSIVE);
/linux-master/net/ipv6/
H A Dioam6.c220 if (nla_put_u16(skb, IOAM6_ATTR_NS_ID, be16_to_cpu(ns->id)) ||
417 if (ns && nla_put_u16(skb, IOAM6_ATTR_NS_ID, be16_to_cpu(ns->id))) {
627 be16_to_cpu(trace->namespace_id)) ||
/linux-master/drivers/bluetooth/
H A Dbtmtkuart.c169 if (be16_to_cpu(wmt_evt_funcc->status) == 0x404)
171 else if (be16_to_cpu(wmt_evt_funcc->status) == 0x420)
314 bdev->stp_dlen = be16_to_cpu(shdr->dlen) & 0x0fff;
/linux-master/net/nfc/
H A Dllcp_sock.c339 miux = be16_to_cpu(llcp_sock->miux) > LLCP_MAX_MIUX ?
340 be16_to_cpu(local->miux) : be16_to_cpu(llcp_sock->miux);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpagealloc.c627 func_id = be16_to_cpu(eqe->data.req_pages.func_id);
629 ec_function = be16_to_cpu(eqe->data.req_pages.ec_function) & EC_FUNCTION_MASK;
630 release_all = be16_to_cpu(eqe->data.req_pages.ec_function) &
H A Den_rx.c105 mlx5_wq_cyc_ctr2ix(&rq->wqe.wq, be16_to_cpu(title->wqe_counter) + 1);
117 cqd->wqe_counter = be16_to_cpu(title->wqe_counter);
1022 wqe_counter = be16_to_cpu(cqe->wqe_counter);
1590 be16_to_cpu(cqe->vlan_info));
1830 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter));
1878 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cqe->wqe_counter));
1912 u16 wqe_id = be16_to_cpu(cqe->wqe_id);
2305 u16 wqe_id = be16_to_cpu(cqe->wqe_id);
2385 u16 wqe_id = be16_to_cpu(cqe->wqe_id);
2650 ci = mlx5_wq_cyc_ctr2ix(wq, be16_to_cpu(cq
[all...]
/linux-master/net/wireless/
H A Dreg.c694 u32 wmm_ptr = be16_to_cpu(rule->wmm_ptr) << 2;
711 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2;
732 u16 rule_ptr = be16_to_cpu(rules_ptr[i]);
852 wmm_ptr = be16_to_cpu(rule->wmm_ptr) << 2;
868 1000 * be16_to_cpu(wmm->client[i].cot);
872 wmm_rule->ap[i].cot = 1000 * be16_to_cpu(wmm->ap[i].cot);
882 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2;
888 unsigned int rule_ptr = be16_to_cpu(rules_ptr[i]) << 2;
930 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2;
947 unsigned int rule_ptr = be16_to_cpu(rules_pt
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c481 tcp_flags = be16_to_cpu(tcp.key->flags);
681 ipv6_tun = be16_to_cpu(pre_tun->flags) &
1142 u16 vlan_tci = be16_to_cpu(meta_tci->tci);
1256 vlan_tci = be16_to_cpu(vlan_tags->outer_tci);
1257 vlan_tpid = be16_to_cpu(vlan_tags->outer_tpid);
/linux-master/drivers/cdrom/
H A Dcdrom.c391 buflen = be16_to_cpu(di->disc_information_length) +
462 if (be16_to_cpu(mfd->feature_code) != CDF_MRW)
571 offset = be16_to_cpu(mph->desc_length);
572 size = be16_to_cpu(mph->mode_data_length) + 2;
678 if (be16_to_cpu(eh->data_len) < sizeof(*med))
728 if (be16_to_cpu(*feature_code) == CDF_HWDM)
745 if (CDF_RWRT == be16_to_cpu(rfd.feature_code))
857 else if (CDF_RWRT == be16_to_cpu(rfd.feature_code))
2793 buflen = be16_to_cpu(ti->track_information_length) +
3127 offset = 8 + be16_to_cpu(*(__be1
[all...]
/linux-master/drivers/net/ethernet/freescale/
H A Dgianfar.c1075 be16_to_cpu(txbdp->length), DMA_TO_DEVICE);
1081 be16_to_cpu(txbdp->length),
1311 txbdp->status = cpu_to_be16(be16_to_cpu(txbdp->status) |
2002 dma_unmap_page(priv->dev, bufaddr, be16_to_cpu(txbdp->length),
2198 buflen = be16_to_cpu(next->length) +
2201 buflen = be16_to_cpu(bdp->length);
2224 be16_to_cpu(bdp->length),
2447 if ((be16_to_cpu(fcb->flags) & RXFCB_CSUM_MASK) ==
2492 be16_to_cpu(fcb->flags) & RXFCB_VLN)
2494 be16_to_cpu(fc
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c1259 mtu = be16_to_cpu(gen_context->mtu);
1291 user_mtu = be16_to_cpu(gen_context->user_mtu);
2068 if (be16_to_cpu(outmad->status)) {
2070 ret = be16_to_cpu(outmad->status);
2192 if (be16_to_cpu(outmad->status)) {
2194 ret = be16_to_cpu(outmad->status);
/linux-master/drivers/base/regmap/
H A Dregmap-kunit.c1529 defaults[i].def = be16_to_cpu(buf[i]);
1604 KUNIT_EXPECT_EQ(test, def, be16_to_cpu((__force __be16)rval[i]));
1667 be16_to_cpu((__force __be16)val[i % 2]));
1717 val_test = be16_to_cpu(val_array[1]) + 100;
1718 val_last = be16_to_cpu(val_array[BLOCK_TEST_SIZE - 1]);
1776 be16_to_cpu((__force __be16)val[i - 2]));
/linux-master/drivers/input/misc/
H A Diqs626a.c1257 general = be16_to_cpu(sys_reg->general);
1519 if (be16_to_cpu(flags.system) & IQS626_SYS_FLAGS_SHOW_RESET) {
1531 if (be16_to_cpu(flags.system) & IQS626_SYS_FLAGS_IN_ATI)
/linux-master/drivers/hid/
H A Dhid-cp2112.c1377 be16_to_cpu(xfer->retries), be16_to_cpu(xfer->length));
1387 dev->xfer_status = be16_to_cpu(xfer->length);

Completed in 330 milliseconds

<<11121314151617181920>>