Home
last modified time | relevance | path

Searched refs:_width (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value_prf.c585 #define NV_ENCODE_INT(_width) do { \ in bhnd_nvram_val_vprintf() argument
586 arg_type = (is_signed) ? BHND_NVRAM_TYPE_INT ## _width : \ in bhnd_nvram_val_vprintf()
587 BHND_NVRAM_TYPE_UINT ## _width; \ in bhnd_nvram_val_vprintf()
588 arg_size = sizeof(v.u ## _width); \ in bhnd_nvram_val_vprintf()
590 &v.u ## _width, &arg_size, arg_type); \ in bhnd_nvram_val_vprintf()
598 if (v.i ## _width < 0) { \ in bhnd_nvram_val_vprintf()
600 numval = (int64_t)-(v.i ## _width); \ in bhnd_nvram_val_vprintf()
602 numval = (int64_t) (v.i ## _width); \ in bhnd_nvram_val_vprintf()
605 numval = v.u ## _width; \ in bhnd_nvram_val_vprintf()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_uncore.h117 int pmc_ucf_initialize(struct pmc_mdep *_md, int _maxcpu, int _npmc, int _width);
120 int pmc_ucp_initialize(struct pmc_mdep *_md, int _maxcpu, int _npmc, int _width,
H A Dhwpmc_core.h200 int pmc_iaf_initialize(struct pmc_mdep *_md, int _maxcpu, int _npmc, int _width);
202 int pmc_iap_initialize(struct pmc_mdep *_md, int _maxcpu, int _npmc, int _width,
/freebsd/sys/dev/axgbe/
H A Dxgbe-common.h1450 #define GET_BITS(_var, _index, _width) \
1451 (((_var) >> (_index)) & ((0x1 << (_width)) - 1))
1453 #define SET_BITS(_var, _index, _width, _val) \
1455 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \
1456 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \
1459 #define GET_BITS_LE(_var, _index, _width) \
1460 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1))
1462 #define SET_BITS_LE(_var, _index, _width, _val) \
1464 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \
1466 ((0x1 << (_width))
1434 GET_BITS(_var,_index,_width) global() argument
1437 SET_BITS(_var,_index,_width,_val) global() argument
1443 GET_BITS_LE(_var,_index,_width) global() argument
1446 SET_BITS_LE(_var,_index,_width,_val) global() argument
[all...]
/freebsd/sys/dev/bhnd/tools/
H A Dnvram_map_gen.awk790 _width, _offset, _delta)
795 _width = srom_ops_get_type_width(opstream)
822 _delta % _width == 0 &&
823 (_delta/_width) <= SPROM_OP_IMM_MAX)
828 value = (_delta / _width)
866 } else if (value % _width == 0 && (value / _width) <= UInt8Max) {
869 "("opc"|"SPROM_OP_DATA_U8_SCALED")", svalue / _width)
1093 function srom_opbind_new(segment, skip_in, skip_out, _obj, _type, _width,
1114 _width = get(_type, p_width)
1122 set(_obj, p_width, _width)
[all …]
/freebsd/sys/arm64/freescale/imx/
H A Dimx_ccm.h209 #define DIV(_id, _name, _pname, _o, _shift, _width) \ argument
220 .i_width = _width, \
/freebsd/lib/libpmc/
H A Dpmc.h93 int pmc_width(pmc_id_t _pmc, uint32_t *_width);
/freebsd/contrib/file/magic/Magdir/
H A Dxwindows39 >&0 regex [a-zA-Z0-9]+_width\040 xbm image
/freebsd/sys/dev/qcom_gcc/
H A Dqcom_gcc_ipq4018_clock.c131 #define F_RO_DIV(_id, _cname, _parent, _offset, _shift, _width, _tbl) \ argument
139 .width = _width, \
/freebsd/sys/dev/bhnd/
H A Dbhnd.h258 #define BHND_DMA_ADDR_BITMASK(_width) \ argument
259 ((_width >= 64) ? ~0ULL : \
260 (_width == 0) ? 0x0 : \
261 ((1ULL << (_width)) - 1)) \
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_serdes_25g.c760 int _width = 0; in al_serdes_25g_calc_eye_size() local
818 i++, (_width)++) in al_serdes_25g_calc_eye_size()
822 i--, (_width)++) in al_serdes_25g_calc_eye_size()
826 *width = _width; in al_serdes_25g_calc_eye_size()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c448 #define PORT_PMA_ATTR(_name, _counter, _width, _offset) \ argument
451 .index = (_offset) | ((_width) << 16) | ((_counter) << 24), \
455 #define PORT_PMA_ATTR_EXT(_name, _width, _offset) \ argument
458 .index = (_offset) | ((_width) << 16), \
/freebsd/sys/dev/clk/allwinner/
H A Daw_clk.h556 _offset, _shift, _width) \ argument
566 .width = _width, \
/freebsd/sys/dev/ice/
H A Dice_lan_tx_rx.h851 #define ICE_CTX_STORE(_struct, _ele, _width, _lsb) { \ argument
854 .width = _width, \
/freebsd/sys/arm64/arm64/
H A Didentcpu.c395 #define MRS_FIELD_RES1(_width, _shift) \ argument
398 .type = MRS_EXACT | MRS_SAFE((1u << (_width)) - 1) | \
400 .width = (_width), \