typ 47 arch/arm/include/asm/pgtable-nommu.h #define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) typ 46 arch/c6x/include/asm/pgtable.h #define __swp_entry(typ, off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) typ 15 arch/h8300/include/asm/pgtable.h #define __swp_entry(typ, off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) typ 394 arch/m68k/include/asm/mcf_pgtable.h #define __swp_entry(typ, off) ((swp_entry_t) { (typ) | \ typ 37 arch/m68k/include/asm/pgtable_no.h #define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) typ 41 arch/microblaze/include/asm/pgtable.h #define __swp_entry(typ, off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) typ 280 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint32_t typ:2; typ 284 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint32_t typ:2; typ 310 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint32_t typ:2; typ 314 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint32_t typ:2; typ 339 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint32_t typ:2; typ 343 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint32_t typ:2; typ 77 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c dt->hactive.typ, dt->vactive.typ); typ 136 drivers/gpu/drm/panel/panel-simple.c dt->hactive.typ, dt->vactive.typ); typ 368 drivers/gpu/drm/panel/panel-simple.c (to_check->field.typ >= bounds->field.min && \ typ 369 drivers/gpu/drm/panel/panel-simple.c to_check->field.typ <= bounds->field.max) typ 26 drivers/isdn/capi/capiutil.c int typ; typ 229 drivers/isdn/capi/capiutil.c #define TYP (cdef[cmsg->par[cmsg->p]].typ) typ 65 drivers/isdn/hardware/mISDN/iohelper.h #define IOFUNC_MEMIO(name, hws, typ, adr) \ typ 68 drivers/isdn/hardware/mISDN/iohelper.h return readb(((typ *)hw->adr) + off); \ typ 72 drivers/isdn/hardware/mISDN/iohelper.h writeb(val, ((typ *)hw->adr) + off); \ typ 77 drivers/isdn/hardware/mISDN/iohelper.h *dp++ = readb(((typ *)hw->adr) + off); \ typ 82 drivers/isdn/hardware/mISDN/iohelper.h writeb(*dp++, ((typ *)hw->adr) + off); \ typ 85 drivers/isdn/hardware/mISDN/iohelper.h #define ASSIGN_FUNC(typ, name, dest) do { \ typ 86 drivers/isdn/hardware/mISDN/iohelper.h dest.read_reg = &Read##name##_##typ; \ typ 87 drivers/isdn/hardware/mISDN/iohelper.h dest.write_reg = &Write##name##_##typ; \ typ 88 drivers/isdn/hardware/mISDN/iohelper.h dest.read_fifo = &ReadFiFo##name##_##typ; \ typ 89 drivers/isdn/hardware/mISDN/iohelper.h dest.write_fifo = &WriteFiFo##name##_##typ; \ typ 91 drivers/isdn/hardware/mISDN/iohelper.h #define ASSIGN_FUNC_IPAC(typ, target) do { \ typ 92 drivers/isdn/hardware/mISDN/iohelper.h ASSIGN_FUNC(typ, ISAC, target.isac); \ typ 93 drivers/isdn/hardware/mISDN/iohelper.h ASSIGN_FUNC(typ, IPAC, target); \ typ 67 drivers/isdn/hardware/mISDN/mISDNinfineon.c enum inf_types typ; typ 392 drivers/isdn/hardware/mISDN/mISDNinfineon.c switch (hw->ci->typ) { typ 436 drivers/isdn/hardware/mISDN/mISDNinfineon.c switch (hw->ci->typ) { typ 489 drivers/isdn/hardware/mISDN/mISDNinfineon.c switch (hw->ci->typ) { typ 713 drivers/isdn/hardware/mISDN/mISDNinfineon.c switch (hw->ci->typ) { typ 867 drivers/isdn/hardware/mISDN/mISDNinfineon.c switch (card->ci->typ) { typ 1053 drivers/isdn/hardware/mISDN/mISDNinfineon.c get_card_info(enum inf_types typ) typ 1057 drivers/isdn/hardware/mISDN/mISDNinfineon.c while (ci->typ != INF_NONE) { typ 1058 drivers/isdn/hardware/mISDN/mISDNinfineon.c if (ci->typ == typ) typ 67 drivers/isdn/hardware/mISDN/netjet.c enum nj_types typ; typ 280 drivers/isdn/hardware/mISDN/netjet.c if (card->typ == NETJET_S_TJ320) /* TJ320 */ typ 1098 drivers/isdn/hardware/mISDN/netjet.c card->typ = NETJET_S_TJ320; typ 1100 drivers/isdn/hardware/mISDN/netjet.c card->typ = NETJET_S_TJ300; typ 1100 drivers/isdn/mISDN/layer2.c enquiry_cr(struct layer2 *l2, u_char typ, u_char cr, u_char pf) typ 1108 drivers/isdn/mISDN/layer2.c tmp[i++] = typ; typ 1111 drivers/isdn/mISDN/layer2.c tmp[i++] = (l2->vr << 5) | typ | (pf ? 0x10 : 0); typ 1187 drivers/isdn/mISDN/layer2.c int PollFlag, rsp, typ = RR; typ 1197 drivers/isdn/mISDN/layer2.c typ = RNR; typ 1201 drivers/isdn/mISDN/layer2.c typ = REJ; typ 1219 drivers/isdn/mISDN/layer2.c if (typ == REJ) { typ 1226 drivers/isdn/mISDN/layer2.c } else if ((nr == l2->vs) && (typ == RR)) { typ 1231 drivers/isdn/mISDN/layer2.c } else if ((l2->va != nr) || (typ == RNR)) { typ 1233 drivers/isdn/mISDN/layer2.c if (typ != RR) typ 1237 drivers/isdn/mISDN/layer2.c if (skb_queue_len(&l2->i_queue) && (typ == RR)) typ 255 drivers/message/fusion/lsi/mpi.h #define MPI_SET_CONTEXT_REPLY_TYPE(x, typ) \ typ 257 drivers/message/fusion/lsi/mpi.h (((typ) << MPI_CONTEXT_REPLY_TYPE_SHIFT) & \ typ 177 drivers/mfd/twl4030-power.c #define TWL_REMAP_SLEEP(res, devgrp, typ, typ2) \ typ 179 drivers/mfd/twl4030-power.c .type = (typ), .type2 = (typ2), \ typ 182 drivers/mfd/twl4030-power.c #define TWL_REMAP_OFF(res, devgrp, typ, typ2) \ typ 184 drivers/mfd/twl4030-power.c .type = (typ), .type2 = (typ2), \ typ 430 drivers/net/ethernet/mellanox/mlx5/core/qp.c #define MBOX_ALLOC(mbox, typ) \ typ 431 drivers/net/ethernet/mellanox/mlx5/core/qp.c mbox_alloc(mbox, MLX5_ST_SZ_BYTES(typ##_in), MLX5_ST_SZ_BYTES(typ##_out)) typ 433 drivers/net/ethernet/mellanox/mlx5/core/qp.c #define MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid) \ typ 435 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(typ##_in, in, opcode, _opcode); \ typ 436 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(typ##_in, in, qpn, _qpn); \ typ 437 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(typ##_in, in, uid, _uid); \ typ 440 drivers/net/ethernet/mellanox/mlx5/core/qp.c #define MOD_QP_IN_SET_QPC(typ, in, _opcode, _qpn, _opt_p, _qpc, _uid) \ typ 442 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid); \ typ 443 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(typ##_in, in, opt_param_mask, _opt_p); \ typ 444 drivers/net/ethernet/mellanox/mlx5/core/qp.c memcpy(MLX5_ADDR_OF(typ##_in, in, qpc), _qpc, \ typ 159 drivers/scsi/snic/snic_ctl.c u8 typ, hdr_stat; typ 166 drivers/scsi/snic/snic_ctl.c snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); typ 35 drivers/scsi/snic/snic_disc.c snic_tgt_type_to_str(int typ) typ 37 drivers/scsi/snic/snic_disc.c return ((typ > SNIC_TGT_NONE && typ <= SNIC_TGT_SAN) ? typ 38 drivers/scsi/snic/snic_disc.c snic_tgt_type_str[typ] : "Unknown"); typ 274 drivers/scsi/snic/snic_disc.c tgt->tdata.typ = le16_to_cpu(tgtid->tgt_type); typ 286 drivers/scsi/snic/snic_disc.c switch (tgt->tdata.typ) { typ 312 drivers/scsi/snic/snic_disc.c tgt->id, snic_tgt_type_to_str(tgt->tdata.typ)); typ 398 drivers/scsi/snic/snic_disc.c u8 typ, cmpl_stat; typ 405 drivers/scsi/snic/snic_disc.c snic_io_hdr_dec(&fwreq->hdr, &typ, &cmpl_stat, &cmnd_id, &hid, &ctx); typ 56 drivers/scsi/snic/snic_disc.h enum snic_tgt_type typ; typ 114 drivers/scsi/snic/snic_fwint.h snic_io_hdr_enc(struct snic_io_hdr *hdr, u8 typ, u8 status, u32 id, u32 hid, typ 117 drivers/scsi/snic/snic_fwint.h hdr->type = typ; typ 129 drivers/scsi/snic/snic_fwint.h snic_io_hdr_dec(struct snic_io_hdr *hdr, u8 *typ, u8 *stat, u32 *cmnd_id, typ 132 drivers/scsi/snic/snic_fwint.h *typ = hdr->type; typ 236 drivers/scsi/snic/snic_io.c u8 typ; typ 239 drivers/scsi/snic/snic_io.c typ = (sg_cnt <= SNIC_REQ_CACHE_DFLT_SGL) ? typ 242 drivers/scsi/snic/snic_io.c rqi = mempool_alloc(snic->req_pool[typ], GFP_ATOMIC); typ 247 drivers/scsi/snic/snic_io.c typ); typ 252 drivers/scsi/snic/snic_io.c rqi->rq_pool_type = typ; typ 547 drivers/scsi/snic/snic_scsi.c u8 typ, hdr_stat; typ 558 drivers/scsi/snic/snic_scsi.c snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); typ 564 drivers/scsi/snic/snic_scsi.c typ, hdr_stat, cmnd_id, hid, ctx); typ 928 drivers/scsi/snic/snic_scsi.c u8 typ; typ 931 drivers/scsi/snic/snic_scsi.c snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); typ 934 drivers/scsi/snic/snic_scsi.c __func__, typ, hdr_stat, cmnd_id, hid, ctx); typ 1007 drivers/scsi/snic/snic_scsi.c u8 typ; typ 1015 drivers/scsi/snic/snic_scsi.c snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); typ 1022 drivers/scsi/snic/snic_scsi.c typ, hdr_stat, cmnd_id, hid, ctx); typ 1132 drivers/scsi/snic/snic_scsi.c u8 typ, hdr_stat; typ 1138 drivers/scsi/snic/snic_scsi.c snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); typ 1141 drivers/scsi/snic/snic_scsi.c typ, hdr_stat, cmnd_id, hid, ctx); typ 1521 drivers/scsi/snic/snic_scsi.c if ((snic_tgt_chkready(tgt) != 0) && (tgt->tdata.typ == SNIC_TGT_SAN)) typ 1800 drivers/scsi/snic/snic_scsi.c if ((snic_tgt_chkready(tgt) != 0) && (tgt->tdata.typ == SNIC_TGT_SAN)) typ 2109 drivers/scsi/snic/snic_scsi.c if (tgt->tdata.typ == SNIC_TGT_DAS) typ 2631 drivers/scsi/snic/snic_scsi.c if (tgt->tdata.typ == SNIC_TGT_DAS) typ 73 drivers/spi/spi-orion.c enum orion_spi_type typ; typ 147 drivers/spi/spi-orion.c if (devdata->typ == ARMADA_SPI) { typ 526 drivers/spi/spi-orion.c .typ = ORION_SPI, typ 533 drivers/spi/spi-orion.c .typ = ARMADA_SPI, typ 541 drivers/spi/spi-orion.c .typ = ARMADA_SPI, typ 548 drivers/spi/spi-orion.c .typ = ARMADA_SPI, typ 555 drivers/spi/spi-orion.c .typ = ARMADA_SPI, typ 39 drivers/video/of_display_timing.c ret = of_property_read_u32(np, name, &result->typ); typ 40 drivers/video/of_display_timing.c result->min = result->typ; typ 41 drivers/video/of_display_timing.c result->max = result->typ; typ 16 drivers/video/videomode.c vm->pixelclock = dt->pixelclock.typ; typ 17 drivers/video/videomode.c vm->hactive = dt->hactive.typ; typ 18 drivers/video/videomode.c vm->hfront_porch = dt->hfront_porch.typ; typ 19 drivers/video/videomode.c vm->hback_porch = dt->hback_porch.typ; typ 20 drivers/video/videomode.c vm->hsync_len = dt->hsync_len.typ; typ 22 drivers/video/videomode.c vm->vactive = dt->vactive.typ; typ 23 drivers/video/videomode.c vm->vfront_porch = dt->vfront_porch.typ; typ 24 drivers/video/videomode.c vm->vback_porch = dt->vback_porch.typ; typ 25 drivers/video/videomode.c vm->vsync_len = dt->vsync_len.typ; typ 44 fs/freevxfs/vxfs_bmap.c vxfs_typdump(struct vxfs_typed *typ) typ 46 fs/freevxfs/vxfs_bmap.c printk(KERN_DEBUG "type=%Lu ", typ->vt_hdr >> VXFS_TYPED_TYPESHIFT); typ 47 fs/freevxfs/vxfs_bmap.c printk("offset=%Lx ", typ->vt_hdr & VXFS_TYPED_OFFSETMASK); typ 48 fs/freevxfs/vxfs_bmap.c printk("block=%x ", typ->vt_block); typ 49 fs/freevxfs/vxfs_bmap.c printk("size=%x\n", typ->vt_size); typ 139 fs/freevxfs/vxfs_bmap.c struct vxfs_typed *typ; typ 147 fs/freevxfs/vxfs_bmap.c typ = ((struct vxfs_typed *)bp->b_data) + typ 149 fs/freevxfs/vxfs_bmap.c off = fs64_to_cpu(sbi, typ->vt_hdr) & VXFS_TYPED_OFFSETMASK; typ 156 fs/freevxfs/vxfs_bmap.c switch ((u_int32_t)(fs64_to_cpu(sbi, typ->vt_hdr) >> typ 160 fs/freevxfs/vxfs_bmap.c fs32_to_cpu(sbi, typ->vt_block), typ 161 fs/freevxfs/vxfs_bmap.c fs32_to_cpu(sbi, typ->vt_size), typ 167 fs/freevxfs/vxfs_bmap.c if ((block - off) >= fs32_to_cpu(sbi, typ->vt_size)) typ 169 fs/freevxfs/vxfs_bmap.c pblock = fs32_to_cpu(sbi, typ->vt_block) + block - off; typ 174 fs/freevxfs/vxfs_bmap.c (struct vxfs_typed_dev4 *)typ; typ 185 fs/freevxfs/vxfs_bmap.c __LINE__, fs64_to_cpu(sbi, typ->vt_hdr)); typ 218 fs/freevxfs/vxfs_bmap.c struct vxfs_typed *typ = vip->vii_org.typed + i; typ 219 fs/freevxfs/vxfs_bmap.c u64 hdr = fs64_to_cpu(sbi, typ->vt_hdr); typ 223 fs/freevxfs/vxfs_bmap.c vxfs_typdump(typ); typ 230 fs/freevxfs/vxfs_bmap.c fs32_to_cpu(sbi, typ->vt_block), typ 231 fs/freevxfs/vxfs_bmap.c fs32_to_cpu(sbi, typ->vt_size), typ 237 fs/freevxfs/vxfs_bmap.c if ((iblock - off) < fs32_to_cpu(sbi, typ->vt_size)) typ 238 fs/freevxfs/vxfs_bmap.c return (fs32_to_cpu(sbi, typ->vt_block) + typ 244 fs/freevxfs/vxfs_bmap.c (struct vxfs_typed_dev4 *)typ; typ 394 include/linux/ceph/osd_client.h #define osd_req_op_data(oreq, whch, typ, fld) \ typ 399 include/linux/ceph/osd_client.h &__oreq->r_ops[__whch].typ.fld; \ typ 49 include/linux/mlx5/device.h #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) typ 50 include/linux/mlx5/device.h #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) typ 51 include/linux/mlx5/device.h #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) typ 52 include/linux/mlx5/device.h #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) typ 53 include/linux/mlx5/device.h #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) typ 54 include/linux/mlx5/device.h #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) typ 55 include/linux/mlx5/device.h #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf)) typ 56 include/linux/mlx5/device.h #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) typ 57 include/linux/mlx5/device.h #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) typ 58 include/linux/mlx5/device.h #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) typ 59 include/linux/mlx5/device.h #define __mlx5_mask16(typ, fld) ((u16)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) typ 60 include/linux/mlx5/device.h #define __mlx5_16_mask(typ, fld) (__mlx5_mask16(typ, fld) << __mlx5_16_bit_off(typ, fld)) typ 61 include/linux/mlx5/device.h #define __mlx5_st_sz_bits(typ) sizeof(struct mlx5_ifc_##typ##_bits) typ 63 include/linux/mlx5/device.h #define MLX5_FLD_SZ_BYTES(typ, fld) (__mlx5_bit_sz(typ, fld) / 8) typ 64 include/linux/mlx5/device.h #define MLX5_ST_SZ_BYTES(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 8) typ 65 include/linux/mlx5/device.h #define MLX5_ST_SZ_DW(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 32) typ 66 include/linux/mlx5/device.h #define MLX5_ST_SZ_QW(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 64) typ 67 include/linux/mlx5/device.h #define MLX5_UN_SZ_BYTES(typ) (sizeof(union mlx5_ifc_##typ##_bits) / 8) typ 68 include/linux/mlx5/device.h #define MLX5_UN_SZ_DW(typ) (sizeof(union mlx5_ifc_##typ##_bits) / 32) typ 69 include/linux/mlx5/device.h #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8) typ 70 include/linux/mlx5/device.h #define MLX5_ADDR_OF(typ, p, fld) ((void *)((uint8_t *)(p) + MLX5_BYTE_OFF(typ, fld))) typ 73 include/linux/mlx5/device.h #define MLX5_SET(typ, p, fld, v) do { \ typ 75 include/linux/mlx5/device.h BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \ typ 76 include/linux/mlx5/device.h *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ typ 77 include/linux/mlx5/device.h cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ typ 78 include/linux/mlx5/device.h (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ typ 79 include/linux/mlx5/device.h << __mlx5_dw_bit_off(typ, fld))); \ typ 82 include/linux/mlx5/device.h #define MLX5_ARRAY_SET(typ, p, fld, idx, v) do { \ typ 83 include/linux/mlx5/device.h BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 32); \ typ 84 include/linux/mlx5/device.h MLX5_SET(typ, p, fld[idx], v); \ typ 87 include/linux/mlx5/device.h #define MLX5_SET_TO_ONES(typ, p, fld) do { \ typ 88 include/linux/mlx5/device.h BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \ typ 89 include/linux/mlx5/device.h *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ typ 90 include/linux/mlx5/device.h cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ typ 91 include/linux/mlx5/device.h (~__mlx5_dw_mask(typ, fld))) | ((__mlx5_mask(typ, fld)) \ typ 92 include/linux/mlx5/device.h << __mlx5_dw_bit_off(typ, fld))); \ typ 95 include/linux/mlx5/device.h #define MLX5_GET(typ, p, fld) ((be32_to_cpu(*((__be32 *)(p) +\ typ 96 include/linux/mlx5/device.h __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ typ 97 include/linux/mlx5/device.h __mlx5_mask(typ, fld)) typ 99 include/linux/mlx5/device.h #define MLX5_GET_PR(typ, p, fld) ({ \ typ 100 include/linux/mlx5/device.h u32 ___t = MLX5_GET(typ, p, fld); \ typ 105 include/linux/mlx5/device.h #define __MLX5_SET64(typ, p, fld, v) do { \ typ 106 include/linux/mlx5/device.h BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) != 64); \ typ 107 include/linux/mlx5/device.h *((__be64 *)(p) + __mlx5_64_off(typ, fld)) = cpu_to_be64(v); \ typ 110 include/linux/mlx5/device.h #define MLX5_SET64(typ, p, fld, v) do { \ typ 111 include/linux/mlx5/device.h BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \ typ 112 include/linux/mlx5/device.h __MLX5_SET64(typ, p, fld, v); \ typ 115 include/linux/mlx5/device.h #define MLX5_ARRAY_SET64(typ, p, fld, idx, v) do { \ typ 116 include/linux/mlx5/device.h BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \ typ 117 include/linux/mlx5/device.h __MLX5_SET64(typ, p, fld[idx], v); \ typ 120 include/linux/mlx5/device.h #define MLX5_GET64(typ, p, fld) be64_to_cpu(*((__be64 *)(p) + __mlx5_64_off(typ, fld))) typ 122 include/linux/mlx5/device.h #define MLX5_GET64_PR(typ, p, fld) ({ \ typ 123 include/linux/mlx5/device.h u64 ___t = MLX5_GET64(typ, p, fld); \ typ 128 include/linux/mlx5/device.h #define MLX5_GET16(typ, p, fld) ((be16_to_cpu(*((__be16 *)(p) +\ typ 129 include/linux/mlx5/device.h __mlx5_16_off(typ, fld))) >> __mlx5_16_bit_off(typ, fld)) & \ typ 130 include/linux/mlx5/device.h __mlx5_mask16(typ, fld)) typ 132 include/linux/mlx5/device.h #define MLX5_SET16(typ, p, fld, v) do { \ typ 134 include/linux/mlx5/device.h BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 16); \ typ 135 include/linux/mlx5/device.h *((__be16 *)(p) + __mlx5_16_off(typ, fld)) = \ typ 136 include/linux/mlx5/device.h cpu_to_be16((be16_to_cpu(*((__be16 *)(p) + __mlx5_16_off(typ, fld))) & \ typ 137 include/linux/mlx5/device.h (~__mlx5_16_mask(typ, fld))) | (((_v) & __mlx5_mask16(typ, fld)) \ typ 138 include/linux/mlx5/device.h << __mlx5_16_bit_off(typ, fld))); \ typ 142 include/linux/mlx5/device.h #define MLX5_GET64_BE(typ, p, fld) (*((__be64 *)(p) +\ typ 143 include/linux/mlx5/device.h __mlx5_64_off(typ, fld))) typ 145 include/linux/mlx5/device.h #define MLX5_GET_BE(type_t, typ, p, fld) ({ \ typ 149 include/linux/mlx5/device.h tmp = (__force type_t)MLX5_GET(typ, p, fld); \ typ 152 include/linux/mlx5/device.h tmp = (__force type_t)cpu_to_be16(MLX5_GET(typ, p, fld)); \ typ 155 include/linux/mlx5/device.h tmp = (__force type_t)cpu_to_be32(MLX5_GET(typ, p, fld)); \ typ 158 include/linux/mlx5/device.h tmp = (__force type_t)MLX5_GET64_BE(typ, p, fld); \ typ 42 include/video/display_timing.h u32 typ; typ 362 net/tipc/socket.c int typ = sock->type; typ 366 net/tipc/socket.c if (typ == SOCK_STREAM || typ == SOCK_SEQPACKET) {