Searched refs:be16_to_cpu (Results 201 - 225 of 683) sorted by relevance

1234567891011>>

/linux-master/drivers/input/touchscreen/
H A Dhideep.c586 product_code = be16_to_cpu(ts->dwz_info.product_code);
606 be16_to_cpu(ts->dwz_info.release_ver));
882 be16_to_cpu(ts->dwz_info.product_id));
931 len = sysfs_emit(buf, "%04x\n", be16_to_cpu(ts->dwz_info.release_ver));
945 len = sysfs_emit(buf, "%04x\n", be16_to_cpu(ts->dwz_info.product_id));
/linux-master/drivers/infiniband/hw/mlx4/
H A Dcm.c301 #define REJ_REASON(m) be16_to_cpu(((struct cm_generic_msg *)(m))->rej_reason)
334 slave_id, sl_cm_id, be16_to_cpu(mad->mad_hdr.attr_id));
470 pv_cm_id, be16_to_cpu(mad->mad_hdr.attr_id));
/linux-master/drivers/net/ethernet/adaptec/
H A Dstarfire.c962 writew(be16_to_cpu(eaddrs[2]), setup_frm); setup_frm += 4;
963 writew(be16_to_cpu(eaddrs[1]), setup_frm); setup_frm += 4;
964 writew(be16_to_cpu(eaddrs[0]), setup_frm); setup_frm += 8;
1795 writew(be16_to_cpu(eaddrs[2]), filter_addr); filter_addr += 4;
1796 writew(be16_to_cpu(eaddrs[1]), filter_addr); filter_addr += 4;
1797 writew(be16_to_cpu(eaddrs[0]), filter_addr); filter_addr += 8;
1802 writew(be16_to_cpu(eaddrs[0]), filter_addr); filter_addr += 4;
1803 writew(be16_to_cpu(eaddrs[1]), filter_addr); filter_addr += 4;
1804 writew(be16_to_cpu(eaddrs[2]), filter_addr); filter_addr += 8;
1826 writew(be16_to_cpu(eaddr
[all...]
/linux-master/arch/mips/boot/tools/
H A Drelocs.c134 #define be16_to_cpu(val) bswap_16(val) macro
149 #define be16_to_cpu(val) (val) macro
166 return be16_to_cpu(val);
/linux-master/net/nfc/
H A Dllcp_commands.c45 return be16_to_cpu(*((__be16 *)(tlv + 2)));
422 miux = be16_to_cpu(sock->miux) > LLCP_MAX_MIUX ?
484 miux = be16_to_cpu(sock->miux) > LLCP_MAX_MIUX ?
/linux-master/arch/powerpc/include/asm/
H A Dguest-state-buffer.h446 return be16_to_cpu(gse->iden);
457 return be16_to_cpu(gse->len);
468 return be16_to_cpu(gse->len) + sizeof(*gse);
/linux-master/security/apparmor/
H A Dmatch.c45 th.td_id = be16_to_cpu(*(__be16 *) (blob)) - 1;
48 th.td_flags = be16_to_cpu(*(__be16 *) (blob + 2));
73 u16, __be16, be16_to_cpu);
/linux-master/drivers/media/test-drivers/vidtv/
H A Dvidtv_mux.c278 .pid = be16_to_cpu(e->es_pid),
280 .stream_id = be16_to_cpu(e->stream_id),
296 pid_ctx = vidtv_mux_create_pid_ctx_once(m, be16_to_cpu(e->es_pid));
/linux-master/fs/xfs/scrub/
H A Dattr.c331 nameidx = be16_to_cpu(ent->nameidx);
342 be16_to_cpu(lentry->valuelen));
488 nameidx = be16_to_cpu(ent->nameidx);
/linux-master/drivers/net/ethernet/vertexcom/
H A Dmse102x.c316 cmd_resp = be16_to_cpu(rx);
326 cmd_resp = be16_to_cpu(rx);
386 cmd_resp = be16_to_cpu(rx);
/linux-master/fs/xfs/libxfs/
H A Dxfs_dir2_node.c458 off = be16_to_cpu(*from);
747 if (be16_to_cpu(freehdr.bests[fi]) >= length)
1329 longest = be16_to_cpu(bf[0].length);
1347 if (longest < be16_to_cpu(bf[0].length)) {
1377 longest = be16_to_cpu(bf[0].length);
1829 ASSERT(be16_to_cpu(hdr->bests[findex]) != NULLDATAOFF);
1830 ASSERT(be16_to_cpu(hdr->bests[findex]) >= length);
1877 if (be16_to_cpu(hdr->bests[findex]) != NULLDATAOFF &&
1878 be16_to_cpu(hdr->bests[findex]) >= length) {
1961 ASSERT(be16_to_cpu(b
[all...]
H A Dxfs_inode_fork.c189 nrecs = be16_to_cpu(dfp->bb_numrecs);
190 level = be16_to_cpu(dfp->bb_level);
294 return be16_to_cpu(sf->totsize);
/linux-master/arch/m68k/amiga/
H A Dconfig.c148 switch (be16_to_cpu(record->tag)) {
179 dev->slotaddr = be16_to_cpu(cd->cd_SlotAddr);
180 dev->slotsize = be16_to_cpu(cd->cd_SlotSize);
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmad.c259 be16_to_cpu(IB_LID_PERMISSIVE);
328 packet_error = be16_to_cpu(out_mad->status);
496 *pkey = be16_to_cpu(((__be16 *)out_mad->data)[index % 32]);
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_dcb.c296 be16_to_cpu(
367 .protocol = be16_to_cpu(fwap->protocolid),
393 ap->protocolid = be16_to_cpu(fwap->protocolid);
811 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id)
862 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) {
1172 be16_to_cpu(pcmd.u.dcb.app_priority.protocolid);
/linux-master/include/linux/mlx5/
H A Ddevice.h129 #define MLX5_GET16(typ, p, fld) ((be16_to_cpu(*((__be16 *)(p) +\
137 cpu_to_be16((be16_to_cpu(*((__be16 *)(p) + __mlx5_16_off(typ, fld))) & \
956 return be16_to_cpu(bc->byte_cnt);
961 return 0x7fff & be16_to_cpu(bc->filler_consumed_strides);
975 return 0x8000 & be16_to_cpu(bc->filler_consumed_strides);
980 return be16_to_cpu(cqe->wqe_counter);
/linux-master/drivers/net/wan/
H A Dfsl_ucc_hdlc.c405 bd_status = be16_to_cpu(bd->status);
465 bd_status = be16_to_cpu(bd->status);
509 bd_status = be16_to_cpu(bd->status);
532 bd_status = be16_to_cpu(bd->status);
556 length = be16_to_cpu(bd->length);
615 bd_status = be16_to_cpu(bd->status);
/linux-master/sound/pci/mixart/
H A Dmixart_hwdep.c104 for( i=0; i < be16_to_cpu(elf_header->e_phnum); i++ ) {
105 u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize));
/linux-master/drivers/iio/adc/
H A Dmax1027.c373 *val = be16_to_cpu(st->buffer[0]);
427 *readval = be16_to_cpu(st->buffer[0]);
/linux-master/include/rdma/
H A Dib_sa.h222 be16_to_cpu(IB_MULTICAST_LID_BASE)) ||
224 be16_to_cpu(IB_MULTICAST_LID_BASE))) {
/linux-master/fs/affs/
H A Dinode.c76 id = be16_to_cpu(tail->uid);
84 id = be16_to_cpu(tail->gid);
/linux-master/drivers/net/ethernet/wiznet/
H A Dw5100-spi.c168 return ret ? ret : be16_to_cpu(data);
326 return ret ? ret : be16_to_cpu(data);
/linux-master/arch/m68k/kernel/
H A Dsetup_mm.c115 while ((tag = be16_to_cpu(record->tag)) != BI_LAST) {
118 uint16_t size = be16_to_cpu(record->size);
/linux-master/drivers/infiniband/hw/hfi1/
H A Dhfi.h2443 if ((((dlid >= be16_to_cpu(IB_MULTICAST_LID_BASE)) ||
2444 (ppd->lid >= be16_to_cpu(IB_MULTICAST_LID_BASE))) &&
2446 (dlid != be16_to_cpu(IB_LID_PERMISSIVE)) &&
2493 be16_to_cpu(IB_MULTICAST_LID_BASE));
2524 else if ((dlid >= be16_to_cpu(IB_MULTICAST_LID_BASE)) &&
2525 (dlid != be16_to_cpu(IB_LID_PERMISSIVE)) &&
2527 dlid = dlid - be16_to_cpu(IB_MULTICAST_LID_BASE) +
2529 else if (dlid == be16_to_cpu(IB_LID_PERMISSIVE))
/linux-master/drivers/infiniband/core/
H A Dsysfs.c1337 be16_to_cpu(guid[0]),
1338 be16_to_cpu(guid[1]),
1339 be16_to_cpu(guid[2]),
1340 be16_to_cpu(guid[3]));
1351 be16_to_cpu(node_guid[0]),
1352 be16_to_cpu(node_guid[1]),
1353 be16_to_cpu(node_guid[2]),
1354 be16_to_cpu(node_guid[3]));

Completed in 255 milliseconds

1234567891011>>