Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 25 of 70) sorted by relevance

123

/Linux-v4.19/include/linux/mlx5/
Ddevice.h49 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) argument
50 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
51 #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) argument
52 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) argument
53 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument
54 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument
55 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf… argument
56 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument
57 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument
58 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
[all …]
/Linux-v4.19/fs/freevxfs/
Dvxfs_bmap.c44 vxfs_typdump(struct vxfs_typed *typ) in vxfs_typdump() argument
46 printk(KERN_DEBUG "type=%Lu ", typ->vt_hdr >> VXFS_TYPED_TYPESHIFT); in vxfs_typdump()
47 printk("offset=%Lx ", typ->vt_hdr & VXFS_TYPED_OFFSETMASK); in vxfs_typdump()
48 printk("block=%x ", typ->vt_block); in vxfs_typdump()
49 printk("size=%x\n", typ->vt_size); in vxfs_typdump()
139 struct vxfs_typed *typ; in vxfs_bmap_indir() local
147 typ = ((struct vxfs_typed *)bp->b_data) + in vxfs_bmap_indir()
149 off = fs64_to_cpu(sbi, typ->vt_hdr) & VXFS_TYPED_OFFSETMASK; in vxfs_bmap_indir()
156 switch ((u_int32_t)(fs64_to_cpu(sbi, typ->vt_hdr) >> in vxfs_bmap_indir()
160 fs32_to_cpu(sbi, typ->vt_block), in vxfs_bmap_indir()
[all …]
/Linux-v4.19/drivers/video/
Dvideomode.c17 vm->pixelclock = dt->pixelclock.typ; in videomode_from_timing()
18 vm->hactive = dt->hactive.typ; in videomode_from_timing()
19 vm->hfront_porch = dt->hfront_porch.typ; in videomode_from_timing()
20 vm->hback_porch = dt->hback_porch.typ; in videomode_from_timing()
21 vm->hsync_len = dt->hsync_len.typ; in videomode_from_timing()
23 vm->vactive = dt->vactive.typ; in videomode_from_timing()
24 vm->vfront_porch = dt->vfront_porch.typ; in videomode_from_timing()
25 vm->vback_porch = dt->vback_porch.typ; in videomode_from_timing()
26 vm->vsync_len = dt->vsync_len.typ; in videomode_from_timing()
Dof_display_timing.c40 ret = of_property_read_u32(np, name, &result->typ); in parse_timing_property()
41 result->min = result->typ; in parse_timing_property()
42 result->max = result->typ; in parse_timing_property()
/Linux-v4.19/drivers/isdn/hardware/mISDN/
Diohelper.h78 #define IOFUNC_MEMIO(name, hws, typ, adr) \ argument
81 return readb(((typ *)hw->adr) + off); \
85 writeb(val, ((typ *)hw->adr) + off); \
90 *dp++ = readb(((typ *)hw->adr) + off); \
95 writeb(*dp++, ((typ *)hw->adr) + off); \
98 #define ASSIGN_FUNC(typ, name, dest) do { \ argument
99 dest.read_reg = &Read##name##_##typ; \
100 dest.write_reg = &Write##name##_##typ; \
101 dest.read_fifo = &ReadFiFo##name##_##typ; \
102 dest.write_fifo = &WriteFiFo##name##_##typ; \
[all …]
DmISDNinfineon.c82 enum inf_types typ; member
407 switch (hw->ci->typ) { in enable_hwirq()
451 switch (hw->ci->typ) { in disable_hwirq()
504 switch (hw->ci->typ) { in reset_inf()
725 switch (hw->ci->typ) { in setup_io()
879 switch (card->ci->typ) { in release_card()
1065 get_card_info(enum inf_types typ) in get_card_info() argument
1069 while (ci->typ != INF_NONE) { in get_card_info()
1070 if (ci->typ == typ) in get_card_info()
/Linux-v4.19/drivers/isdn/hisax/
Dteles3.c159 if (cs->typ == ISDN_CTYPE_TELESPCMCIA) { in release_io_teles3()
163 if (cs->typ == ISDN_CTYPE_COMPAQ_ISA) { in release_io_teles3()
178 if (cs->typ != ISDN_CTYPE_TELESPCMCIA) { in reset_teles3()
179 if ((cs->hw.teles3.cfg_reg) && (cs->typ != ISDN_CTYPE_COMPAQ_ISA)) { in reset_teles3()
213 } else if (cs->typ == ISDN_CTYPE_COMPAQ_ISA) { in reset_teles3()
281 if ((cs->typ != ISDN_CTYPE_16_3) && (cs->typ != ISDN_CTYPE_PNP) in setup_teles3()
282 && (cs->typ != ISDN_CTYPE_TELESPCMCIA) && (cs->typ != ISDN_CTYPE_COMPAQ_ISA)) in setup_teles3()
329 if (cs->typ == ISDN_CTYPE_16_3) { in setup_teles3()
341 } else if (cs->typ == ISDN_CTYPE_TELESPCMCIA) { in setup_teles3()
346 } else if (cs->typ == ISDN_CTYPE_COMPAQ_ISA) { in setup_teles3()
[all …]
Dhfcscard.c68 if (cs->typ == ISDN_CTYPE_TELES3C) in reset_hfcs()
73 if (cs->typ == ISDN_CTYPE_TELES3C) in reset_hfcs()
77 if (cs->typ == ISDN_CTYPE_TELES3C) in reset_hfcs()
79 else if (cs->typ == ISDN_CTYPE_ACERP10) in reset_hfcs()
229 if (cs->typ == ISDN_CTYPE_TELES3C) { in setup_hfcs()
231 } else if (cs->typ == ISDN_CTYPE_ACERP10) { in setup_hfcs()
238 CardType[card->typ], in setup_hfcs()
247 if (cs->typ == ISDN_CTYPE_TELES3C) { in setup_hfcs()
251 } else if (cs->typ == ISDN_CTYPE_ACERP10) { in setup_hfcs()
Dconfig.c418 cards[i].typ = ints[j]; in HiSax_setup()
823 printk(KERN_INFO "%s: IRQ %d count %d\n", CardType[cs->typ], in init_card()
835 CardType[cs->typ], cs->irq, cs->irq_cnt); in init_card()
839 CardType[cs->typ], cs->irq, 4 - cnt); in init_card()
859 switch (card->typ) { in hisax_cs_setup_card()
1016 CardType[card->typ]); in hisax_cs_setup_card()
1057 if (card->typ <= 0 || card->typ > ISDN_CTYPE_COUNT) { in hisax_cs_new()
1059 "HiSax: Card Type %d out of range\n", card->typ); in hisax_cs_new()
1077 cs->typ = card->typ; in hisax_cs_new()
1144 switch (card->typ) { in hisax_cs_setup()
[all …]
Dteles0.c274 if ((cs->typ != ISDN_CTYPE_16_0) && (cs->typ != ISDN_CTYPE_8_0)) in setup_teles0()
277 if (cs->typ == ISDN_CTYPE_16_0) in setup_teles0()
293 CardType[card->typ], in setup_teles0()
329 CardType[card->typ], in setup_teles0()
339 CardType[cs->typ], cs->irq, in setup_teles0()
Delsa.c291 if ((cs->typ == ISDN_CTYPE_ELSA_PCMCIA) && (*cs->busy_flag == 1)) { in elsa_interrupt()
763 if (cs->typ == ISDN_CTYPE_ELSA) { in Elsa_card_msg()
775 probe_elsa_adr(unsigned int adr, int typ) in probe_elsa_adr() argument
783 if (typ != ISDN_CTYPE_ELSA_PCMCIA) { in probe_elsa_adr()
831 if ((cs->subtyp = probe_elsa_adr(CARD_portlist[i], cs->typ))) in probe_elsa()
846 cs->typ))) { in setup_elsa_isa()
1129 if (cs->typ != ISDN_CTYPE_ELSA_PCMCIA && !request_region(cs->hw.elsa.base, bytecnt, "elsa isdn")) { in setup_elsa_common()
1223 if (cs->typ == ISDN_CTYPE_ELSA) { in setup_elsa()
1228 } else if (cs->typ == ISDN_CTYPE_ELSA_PNP) { in setup_elsa()
1233 } else if (cs->typ == ISDN_CTYPE_ELSA_PCMCIA) in setup_elsa()
[all …]
Dhisax_cfg.h57 int typ; member
Dbkm_a4t.c179 if (cs->typ == ISDN_CTYPE_BKM_A4T) { in enable_bkm_int()
192 if (cs->typ == ISDN_CTYPE_BKM_A4T) { in reset_bkm()
334 if (cs->typ == ISDN_CTYPE_BKM_A4T) { in setup_bkm_a4t()
/Linux-v4.19/drivers/scsi/snic/
Dsnic_disc.c35 snic_tgt_type_to_str(int typ) in snic_tgt_type_to_str() argument
37 return ((typ > SNIC_TGT_NONE && typ <= SNIC_TGT_SAN) ? in snic_tgt_type_to_str()
38 snic_tgt_type_str[typ] : "Unknown"); in snic_tgt_type_to_str()
273 tgt->tdata.typ = le16_to_cpu(tgtid->tgt_type); in snic_tgt_create()
285 switch (tgt->tdata.typ) { in snic_tgt_create()
311 tgt->id, snic_tgt_type_to_str(tgt->tdata.typ)); in snic_tgt_create()
397 u8 typ, cmpl_stat; in snic_report_tgt_cmpl_handler() local
404 snic_io_hdr_dec(&fwreq->hdr, &typ, &cmpl_stat, &cmnd_id, &hid, &ctx); in snic_report_tgt_cmpl_handler()
Dsnic_fwint.h114 snic_io_hdr_enc(struct snic_io_hdr *hdr, u8 typ, u8 status, u32 id, u32 hid, in snic_io_hdr_enc() argument
117 hdr->type = typ; in snic_io_hdr_enc()
129 snic_io_hdr_dec(struct snic_io_hdr *hdr, u8 *typ, u8 *stat, u32 *cmnd_id, in snic_io_hdr_dec() argument
132 *typ = hdr->type; in snic_io_hdr_dec()
Dsnic_io.c235 u8 typ; in snic_req_init() local
238 typ = (sg_cnt <= SNIC_REQ_CACHE_DFLT_SGL) ? in snic_req_init()
241 rqi = mempool_alloc(snic->req_pool[typ], GFP_ATOMIC); in snic_req_init()
246 typ); in snic_req_init()
251 rqi->rq_pool_type = typ; in snic_req_init()
Dsnic_scsi.c548 u8 typ, hdr_stat; in snic_icmnd_cmpl_handler() local
559 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_icmnd_cmpl_handler()
565 typ, hdr_stat, cmnd_id, hid, ctx); in snic_icmnd_cmpl_handler()
929 u8 typ; in snic_itmf_cmpl_handler() local
932 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_itmf_cmpl_handler()
935 __func__, typ, hdr_stat, cmnd_id, hid, ctx); in snic_itmf_cmpl_handler()
1008 u8 typ; in snic_hba_reset_cmpl_handler() local
1016 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_hba_reset_cmpl_handler()
1023 typ, hdr_stat, cmnd_id, hid, ctx); in snic_hba_reset_cmpl_handler()
1133 u8 typ, hdr_stat; in snic_aen_handler() local
[all …]
Dsnic_ctl.c159 u8 typ, hdr_stat; in snic_io_exch_ver_cmpl_handler() local
166 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_io_exch_ver_cmpl_handler()
/Linux-v4.19/arch/h8300/include/asm/
Dpgtable.h16 #define __swp_entry(typ, off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) argument
/Linux-v4.19/arch/m68k/include/asm/
Dpgtable_no.h37 #define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) argument
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dqp.c381 #define MBOX_ALLOC(mbox, typ) \ in modify_qp_mbox_alloc() argument
382 mbox_alloc(mbox, MLX5_ST_SZ_BYTES(typ##_in), MLX5_ST_SZ_BYTES(typ##_out)) in modify_qp_mbox_alloc()
384 #define MOD_QP_IN_SET(typ, in, _opcode, _qpn) \ in modify_qp_mbox_alloc() argument
385 MLX5_SET(typ##_in, in, opcode, _opcode); \ in modify_qp_mbox_alloc()
386 MLX5_SET(typ##_in, in, qpn, _qpn) in modify_qp_mbox_alloc()
388 #define MOD_QP_IN_SET_QPC(typ, in, _opcode, _qpn, _opt_p, _qpc) \ in modify_qp_mbox_alloc() argument
389 MOD_QP_IN_SET(typ, in, _opcode, _qpn); \ in modify_qp_mbox_alloc()
390 MLX5_SET(typ##_in, in, opt_param_mask, _opt_p); \ in modify_qp_mbox_alloc()
391 memcpy(MLX5_ADDR_OF(typ##_in, in, qpc), _qpc, MLX5_ST_SZ_BYTES(qpc)) in modify_qp_mbox_alloc()
/Linux-v4.19/arch/c6x/include/asm/
Dpgtable.h49 #define __swp_entry(typ, off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) argument
/Linux-v4.19/arch/arm/include/asm/
Dpgtable-nommu.h50 #define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) argument
/Linux-v4.19/drivers/spi/
Dspi-orion.c76 enum orion_spi_type typ; member
150 if (devdata->typ == ARMADA_SPI) { in orion_spi_baudrate_set()
525 .typ = ORION_SPI,
532 .typ = ARMADA_SPI,
540 .typ = ARMADA_SPI,
547 .typ = ARMADA_SPI,
554 .typ = ARMADA_SPI,
/Linux-v4.19/include/video/
Ddisplay_timing.h43 u32 typ; member

123