Home
last modified time | relevance | path

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

12

/Linux-v6.1/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-v6.1/fs/freevxfs/
Dvxfs_bmap.c20 vxfs_typdump(struct vxfs_typed *typ) in vxfs_typdump() argument
22 printk(KERN_DEBUG "type=%Lu ", typ->vt_hdr >> VXFS_TYPED_TYPESHIFT); in vxfs_typdump()
23 printk("offset=%Lx ", typ->vt_hdr & VXFS_TYPED_OFFSETMASK); in vxfs_typdump()
24 printk("block=%x ", typ->vt_block); in vxfs_typdump()
25 printk("size=%x\n", typ->vt_size); in vxfs_typdump()
115 struct vxfs_typed *typ; in vxfs_bmap_indir() local
123 typ = ((struct vxfs_typed *)bp->b_data) + in vxfs_bmap_indir()
125 off = fs64_to_cpu(sbi, typ->vt_hdr) & VXFS_TYPED_OFFSETMASK; in vxfs_bmap_indir()
132 switch ((u_int32_t)(fs64_to_cpu(sbi, typ->vt_hdr) >> in vxfs_bmap_indir()
136 fs32_to_cpu(sbi, typ->vt_block), in vxfs_bmap_indir()
[all …]
/Linux-v6.1/drivers/video/
Dvideomode.c16 vm->pixelclock = dt->pixelclock.typ; in videomode_from_timing()
17 vm->hactive = dt->hactive.typ; in videomode_from_timing()
18 vm->hfront_porch = dt->hfront_porch.typ; in videomode_from_timing()
19 vm->hback_porch = dt->hback_porch.typ; in videomode_from_timing()
20 vm->hsync_len = dt->hsync_len.typ; in videomode_from_timing()
22 vm->vactive = dt->vactive.typ; in videomode_from_timing()
23 vm->vfront_porch = dt->vfront_porch.typ; in videomode_from_timing()
24 vm->vback_porch = dt->vback_porch.typ; in videomode_from_timing()
25 vm->vsync_len = dt->vsync_len.typ; in videomode_from_timing()
Dof_display_timing.c39 ret = of_property_read_u32(np, name, &result->typ); in parse_timing_property()
40 result->min = result->typ; in parse_timing_property()
41 result->max = result->typ; in parse_timing_property()
/Linux-v6.1/drivers/isdn/hardware/mISDN/
Diohelper.h65 #define IOFUNC_MEMIO(name, hws, typ, adr) \ argument
68 return readb(((typ *)hw->adr) + off); \
72 writeb(val, ((typ *)hw->adr) + off); \
77 *dp++ = readb(((typ *)hw->adr) + off); \
82 writeb(*dp++, ((typ *)hw->adr) + off); \
85 #define ASSIGN_FUNC(typ, name, dest) do { \ argument
86 dest.read_reg = &Read##name##_##typ; \
87 dest.write_reg = &Write##name##_##typ; \
88 dest.read_fifo = &ReadFiFo##name##_##typ; \
89 dest.write_fifo = &WriteFiFo##name##_##typ; \
[all …]
DmISDNinfineon.c67 enum inf_types typ; member
392 switch (hw->ci->typ) { in enable_hwirq()
436 switch (hw->ci->typ) { in disable_hwirq()
489 switch (hw->ci->typ) { in reset_inf()
718 switch (hw->ci->typ) { in setup_io()
872 switch (card->ci->typ) { in release_card()
1058 get_card_info(enum inf_types typ) in get_card_info() argument
1062 while (ci->typ != INF_NONE) { in get_card_info()
1063 if (ci->typ == typ) in get_card_info()
/Linux-v6.1/include/dt-bindings/pinctrl/
Dsppctl.h28 #define SPPCTL_IOPAD(pin, typ, fun, flg) (((pin) << 24) | ((typ) << 16) | \ argument
/Linux-v6.1/drivers/scsi/snic/
Dsnic_disc.c21 snic_tgt_type_to_str(int typ) in snic_tgt_type_to_str() argument
23 return ((typ > SNIC_TGT_NONE && typ <= SNIC_TGT_SAN) ? in snic_tgt_type_to_str()
24 snic_tgt_type_str[typ] : "Unknown"); in snic_tgt_type_to_str()
260 tgt->tdata.typ = le16_to_cpu(tgtid->tgt_type); in snic_tgt_create()
272 switch (tgt->tdata.typ) { in snic_tgt_create()
298 tgt->id, snic_tgt_type_to_str(tgt->tdata.typ)); in snic_tgt_create()
384 u8 typ, cmpl_stat; in snic_report_tgt_cmpl_handler() local
391 snic_io_hdr_dec(&fwreq->hdr, &typ, &cmpl_stat, &cmnd_id, &hid, &ctx); in snic_report_tgt_cmpl_handler()
Dsnic_fwint.h100 snic_io_hdr_enc(struct snic_io_hdr *hdr, u8 typ, u8 status, u32 id, u32 hid, in snic_io_hdr_enc() argument
103 hdr->type = typ; in snic_io_hdr_enc()
115 snic_io_hdr_dec(struct snic_io_hdr *hdr, u8 *typ, u8 *stat, u32 *cmnd_id, in snic_io_hdr_dec() argument
118 *typ = hdr->type; in snic_io_hdr_dec()
Dsnic_io.c222 u8 typ; in snic_req_init() local
225 typ = (sg_cnt <= SNIC_REQ_CACHE_DFLT_SGL) ? in snic_req_init()
228 rqi = mempool_alloc(snic->req_pool[typ], GFP_ATOMIC); in snic_req_init()
233 typ); in snic_req_init()
238 rqi->rq_pool_type = typ; in snic_req_init()
Dsnic_scsi.c533 u8 typ, hdr_stat; in snic_icmnd_cmpl_handler() local
544 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_icmnd_cmpl_handler()
550 typ, hdr_stat, cmnd_id, hid, ctx); in snic_icmnd_cmpl_handler()
911 u8 typ; in snic_itmf_cmpl_handler() local
914 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_itmf_cmpl_handler()
917 __func__, typ, hdr_stat, cmnd_id, hid, ctx); in snic_itmf_cmpl_handler()
990 u8 typ; in snic_hba_reset_cmpl_handler() local
998 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_hba_reset_cmpl_handler()
1005 typ, hdr_stat, cmnd_id, hid, ctx); in snic_hba_reset_cmpl_handler()
1115 u8 typ, hdr_stat; in snic_aen_handler() local
[all …]
Dsnic_ctl.c142 u8 typ, hdr_stat; in snic_io_exch_ver_cmpl_handler() local
148 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_io_exch_ver_cmpl_handler()
Dsnic_disc.h42 enum snic_tgt_type typ; member
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dqpc.c378 #define MBOX_ALLOC(mbox, typ) \ in modify_qp_mbox_alloc() argument
379 mbox_alloc(mbox, MLX5_ST_SZ_BYTES(typ##_in), MLX5_ST_SZ_BYTES(typ##_out)) in modify_qp_mbox_alloc()
381 #define MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid) \ in modify_qp_mbox_alloc() argument
383 MLX5_SET(typ##_in, in, opcode, _opcode); \ in modify_qp_mbox_alloc()
384 MLX5_SET(typ##_in, in, qpn, _qpn); \ in modify_qp_mbox_alloc()
385 MLX5_SET(typ##_in, in, uid, _uid); \ in modify_qp_mbox_alloc()
388 #define MOD_QP_IN_SET_QPC(typ, in, _opcode, _qpn, _opt_p, _qpc, _uid) \ in modify_qp_mbox_alloc() argument
390 MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid); \ in modify_qp_mbox_alloc()
391 MLX5_SET(typ##_in, in, opt_param_mask, _opt_p); \ in modify_qp_mbox_alloc()
392 memcpy(MLX5_ADDR_OF(typ##_in, in, qpc), _qpc, \ in modify_qp_mbox_alloc()
Dmlx5_ib.h64 #define mlx5_umem_find_best_pgsz(umem, typ, log_pgsz_fld, pgsz_shift, iova) \ argument
67 __mlx5_bit_sz(typ, log_pgsz_fld), \
91 #define mlx5_umem_find_best_quantized_pgoff(umem, typ, log_pgsz_fld, \ argument
97 __mlx5_bit_sz(typ, log_pgsz_fld), pgsz_shift), \
98 __mlx5_bit_sz(typ, page_offset_fld), \
102 #define mlx5_umem_find_best_cq_quantized_pgoff(umem, typ, log_pgsz_fld, \ argument
108 __mlx5_bit_sz(typ, log_pgsz_fld), pgsz_shift), \
109 __mlx5_bit_sz(typ, page_offset_fld), 0, scale, \
/Linux-v6.1/arch/m68k/include/asm/
Dpgtable_no.h37 #define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) argument
Dmcf_pgtable.h261 #define __swp_entry(typ, off) ((swp_entry_t) { (typ) | \ argument
/Linux-v6.1/drivers/net/ethernet/sfc/
Dmae.c181 static const char *mask_type_name(enum mask_type typ) in mask_type_name() argument
183 switch (typ) { in mask_type_name()
226 static int efx_mae_match_check_cap_typ(u8 support, enum mask_type typ) in efx_mae_match_check_cap_typ() argument
231 if (typ == MASK_ZEROES) in efx_mae_match_check_cap_typ()
235 if (typ == MASK_ZEROES) in efx_mae_match_check_cap_typ()
239 if (typ == MASK_ONES) in efx_mae_match_check_cap_typ()
243 if (typ == MASK_OTHER) in efx_mae_match_check_cap_typ()
/Linux-v6.1/tools/perf/scripts/python/
Dintel-pt-events.py164 typ = data[0] & 0x1f
168 s = glb_cfe[typ]
172 print(" cfe: %u IP: %u vector: %u" % (typ, ip_flag, vector), end=' ')
386 def auxtrace_error(typ, code, cpu, pid, tid, ip, ts, msg, cpumode, *x): argument
396 …(machine_pid, vcpu, "Trace error", pid, tid, cpu, ts / 1000000000, ts %1000000000, typ, code, msg,…
399 ("Trace error", pid, tid, cpu, ts / 1000000000, ts %1000000000, typ, code, msg, ip))
/Linux-v6.1/drivers/spi/
Dspi-orion.c71 enum orion_spi_type typ; member
150 if (devdata->typ == ARMADA_SPI) { in orion_spi_baudrate_set()
579 .typ = ORION_SPI,
586 .typ = ARMADA_SPI,
594 .typ = ARMADA_SPI,
601 .typ = ARMADA_SPI,
608 .typ = ARMADA_SPI,
/Linux-v6.1/drivers/ufs/core/
Dufs-debugfs.c39 #define PRT(fmt, typ) \ in ufs_debugfs_stats_show() argument
40 seq_printf(s, fmt, e[UFS_EVT_ ## typ].cnt) in ufs_debugfs_stats_show()
/Linux-v6.1/include/video/
Ddisplay_timing.h42 u32 typ; member
/Linux-v6.1/drivers/gpu/drm/panel/
Dpanel-seiko-43wvf1g.c75 dt->hactive.typ, dt->vactive.typ); in seiko_panel_get_fixed_modes()
/Linux-v6.1/drivers/mfd/
Dtwl4030-power.c177 #define TWL_REMAP_SLEEP(res, devgrp, typ, typ2) \ argument
179 .type = (typ), .type2 = (typ2), \
182 #define TWL_REMAP_OFF(res, devgrp, typ, typ2) \ argument
184 .type = (typ), .type2 = (typ2), \
/Linux-v6.1/drivers/isdn/mISDN/
Dlayer2.c1100 enquiry_cr(struct layer2 *l2, u_char typ, u_char cr, u_char pf) in enquiry_cr() argument
1108 tmp[i++] = typ; in enquiry_cr()
1111 tmp[i++] = (l2->vr << 5) | typ | (pf ? 0x10 : 0); in enquiry_cr()
1187 int PollFlag, rsp, typ = RR; in l2_st7_got_super() local
1197 typ = RNR; in l2_st7_got_super()
1201 typ = REJ; in l2_st7_got_super()
1219 if (typ == REJ) { in l2_st7_got_super()
1226 } else if ((nr == l2->vs) && (typ == RR)) { in l2_st7_got_super()
1231 } else if ((l2->va != nr) || (typ == RNR)) { in l2_st7_got_super()
1233 if (typ != RR) in l2_st7_got_super()
[all …]

12