/linux/include/linux/mlx5/ |
H A D | device.h | 50 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) argument 51 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument 52 #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) argument 53 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) argument 54 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument 55 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument 56 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf… argument 57 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument 58 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument 59 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument [all …]
|
/linux/fs/freevxfs/ |
H A D | vxfs_bmap.c | 20 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/drivers/video/ |
H A D | videomode.c | 16 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()
|
H A D | of_display_timing.c | 23 * a range consisting of min/typ/max. This function helps handling this 39 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/drivers/isdn/hardware/mISDN/ |
H A D | iohelper.h | 65 #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 …]
|
H A D | mISDNinfineon.c | 67 enum inf_types typ; member 393 switch (hw->ci->typ) { in enable_hwirq() 437 switch (hw->ci->typ) { in disable_hwirq() 490 switch (hw->ci->typ) { in reset_inf() 719 switch (hw->ci->typ) { in setup_io() 873 switch (card->ci->typ) { in release_card() 1059 get_card_info(enum inf_types typ) in get_card_info() argument 1063 while (ci->typ != INF_NONE) { in get_card_info() 1064 if (ci->typ == typ) in get_card_info()
|
/linux/rust/kernel/list/ |
H A D | arc_field.rs | 70 ($pub:vis fn $name:ident(&self $(<$id:tt>)?) -> &$typ:ty { $field:ident } 73 $pub fn $name<'a>(self: &'a $crate::list::ListArc<Self $(, $id)?>) -> &'a $typ { 76 unsafe { $crate::list::ListArcField::<$typ $(, $id)?>::assert_ref(field) } 82 ($pub:vis fn $name:ident(&mut self $(<$id:tt>)?) -> &mut $typ:ty { $field:ident } 85 $pub fn $name<'a>(self: &'a mut $crate::list::ListArc<Self $(, $id)?>) -> &'a mut $typ { 88 unsafe { $crate::list::ListArcField::<$typ $(, $id)?>::assert_mut(field) }
|
/linux/tools/objtool/arch/powerpc/ |
H A D | decode.c | 47 enum insn_type typ; in arch_decode_instruction() local 53 typ = INSN_OTHER; in arch_decode_instruction() 59 typ = INSN_CALL; in arch_decode_instruction() 72 insn->type = typ; in arch_decode_instruction()
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | panel-timing.yaml | 57 of min, typ, max values. 82 description: min, typ, max number of pixels 94 description: min, typ, max number of pixels 106 description: min, typ, max number of pixels 118 description: min, typ, max number of lines 130 description: min, typ, max number of lines 142 description: min, typ, max number of lines
|
/linux/include/linux/platform_data/ |
H A D | adp8870.h | 119 u8 l1_daylight_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 121 u8 l2_bright_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 123 u8 l3_office_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 125 u8 l4_indor_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 127 u8 l5_dark_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
|
H A D | adp8860.h | 111 u8 l1_daylight_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 113 u8 l2_office_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 115 u8 l3_dark_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
|
/linux/include/dt-bindings/pinctrl/ |
H A D | sppctl.h | 26 * pin# (8bit), typ (8bit), function (8bit), flag (8bit) 28 #define SPPCTL_IOPAD(pin, typ, fun, flg) (((pin) << 24) | ((typ) << 16) | \ argument
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | qpc.c | 396 #define MBOX_ALLOC(mbox, typ) \ in modify_qp_mbox_alloc() argument 397 mbox_alloc(mbox, MLX5_ST_SZ_BYTES(typ##_in), MLX5_ST_SZ_BYTES(typ##_out)) in modify_qp_mbox_alloc() 399 #define MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid) \ in modify_qp_mbox_alloc() argument 401 MLX5_SET(typ##_in, in, opcode, _opcode); \ in modify_qp_mbox_alloc() 402 MLX5_SET(typ##_in, in, qpn, _qpn); \ in modify_qp_mbox_alloc() 403 MLX5_SET(typ##_in, in, uid, _uid); \ in modify_qp_mbox_alloc() 406 #define MOD_QP_IN_SET_QPC(typ, in, _opcode, _qpn, _opt_p, _qpc, _uid) \ in modify_qp_mbox_alloc() argument 408 MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid); \ in modify_qp_mbox_alloc() 409 MLX5_SET(typ##_in, in, opt_param_mask, _opt_p); \ in modify_qp_mbox_alloc() 410 memcpy(MLX5_ADDR_OF(typ##_in, in, qpc), _qpc, \ in modify_qp_mbox_alloc()
|
/linux/drivers/scsi/snic/ |
H A D | snic_disc.c | 21 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() 387 u8 typ, cmpl_stat; in snic_report_tgt_cmpl_handler() local 394 snic_io_hdr_dec(&fwreq->hdr, &typ, &cmpl_stat, &cmnd_id, &hid, &ctx); in snic_report_tgt_cmpl_handler()
|
H A D | snic_io.c | 222 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()
|
H A D | snic_fwint.h | 100 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()
|
H A D | snic_scsi.c | 528 u8 typ, hdr_stat; in snic_icmnd_cmpl_handler() local 539 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_icmnd_cmpl_handler() 545 typ, hdr_stat, cmnd_id, hid, ctx); in snic_icmnd_cmpl_handler() 906 u8 typ; in snic_itmf_cmpl_handler() local 909 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_itmf_cmpl_handler() 912 __func__, typ, hdr_stat, cmnd_id, hid, ctx); in snic_itmf_cmpl_handler() 985 u8 typ; in snic_hba_reset_cmpl_handler() local 993 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_hba_reset_cmpl_handler() 1000 typ, hdr_stat, cmnd_id, hid, ctx); in snic_hba_reset_cmpl_handler() 1110 u8 typ, hdr_stat; in snic_aen_handler() local [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | lnbh29.c | 35 /* Min: 13.188V, Typ: 13.667V, Max:14V */ 37 /* Min: 18.158V, Typ: 18.817V, Max:19.475V */ 116 /* Soft-start time (Vout 0V to 18V) is Typ. 6ms. */ in lnbh29_set_voltage()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | mae.c | 562 static const char *mask_type_name(enum mask_type typ) in mask_type_name() argument 564 switch (typ) { in mask_type_name() 607 static int efx_mae_match_check_cap_typ(u8 support, enum mask_type typ) in efx_mae_match_check_cap_typ() argument 612 if (typ == MASK_ZEROES) in efx_mae_match_check_cap_typ() 616 if (typ == MASK_ZEROES) in efx_mae_match_check_cap_typ() 620 if (typ == MASK_ONES) in efx_mae_match_check_cap_typ() 624 if (typ == MASK_OTHER) in efx_mae_match_check_cap_typ() 636 enum mask_type typ = classify_mask((const u8 *)&mask->_field, \ 640 typ); \ 644 mask_type_name(typ), #_field); \ [all …]
|
/linux/tools/perf/scripts/python/ |
H A D | intel-pt-events.py | 200 typ = data[0] & 0x1f 204 s = glb_cfe[typ] 208 print(" cfe: %u IP: %u vector: %u" % (typ, ip_flag, vector), end=' ') 445 def auxtrace_error(typ, code, cpu, pid, tid, ip, ts, msg, cpumode, *x): argument 457 …(machine_pid, vcpu, "Trace error", pid, tid, cpu, ts / 1000000000, ts %1000000000, typ, code, msg,… 460 ("Trace error", pid, tid, cpu, ts / 1000000000, ts %1000000000, typ, code, msg, ip))
|
/linux/drivers/spi/ |
H A D | spi-orion.c | 70 enum orion_spi_type typ; member 149 if (devdata->typ == ARMADA_SPI) { in orion_spi_baudrate_set() 578 .typ = ORION_SPI, 585 .typ = ARMADA_SPI, 593 .typ = ARMADA_SPI, 600 .typ = ARMADA_SPI, 607 .typ = ARMADA_SPI,
|
/linux/include/linux/mfd/ |
H A D | adp5520.h | 261 u8 l1_daylight_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 263 u8 l2_office_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 265 u8 l3_dark_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
|
/linux/drivers/isdn/capi/ |
H A D | capiutil.c | 28 int typ; member 231 #define TYP (cdef[cmsg->par[cmsg->p]].typ) macro 240 switch (TYP) { in jumpcstruct() 471 for (; TYP != _CEND; cmsg->p++) { in protocol_message_2_pars() 481 switch (TYP) { in protocol_message_2_pars()
|
/linux/arch/sparc/include/asm/ |
H A D | ecc.h | 54 * | MID | S | RSV | VA | BM |AT| C| SZ |TYP| PADDR | 73 * TYP: The transaction type.
|
/linux/Documentation/hwmon/ |
H A D | tmp103.rst | 27 Accuracy: ±1°C Typ (-10°C to +100°C)
|