Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/fsl-mc/include/
Dmc-cmd.h37 #define MAKE_UMASK64(_width) \ argument
38 ((u64)((_width) < 64 ? ((u64)1 << (_width)) - 1 : -1))
106 #define MC_EXT_OP(_ext, _param, _offset, _width, _type, _arg) \ argument
107 ((_ext)[_param] |= mc_enc((_offset), (_width), _arg))
109 #define MC_CMD_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument
110 ((_cmd).params[_param] |= mc_enc((_offset), (_width), _arg))
112 #define MC_RSP_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument
113 (_arg = (_type)mc_dec(_cmd.params[_param], (_offset), (_width)))
/linux-4.4.14/drivers/clk/pistachio/
Dclk.h62 #define DIV(_id, _name, _pname, _reg, _width) \ argument
66 .width = _width, \
72 #define DIV_F(_id, _name, _pname, _reg, _width, _div_flags) \ argument
76 .width = _width, \
/linux-4.4.14/drivers/clk/mediatek/
Dclk-mtk.h86 #define MUX_GATE(_id, _name, _parents, _reg, _shift, _width, _gate) { \ argument
91 .mux_width = _width, \
100 #define MUX(_id, _name, _parents, _reg, _shift, _width) { \ argument
105 .mux_width = _width, \
/linux-4.4.14/drivers/pinctrl/berlin/
Dberlin.h40 #define BERLIN_PINCTRL_GROUP(_name, _offset, _width, _lsb, ...) \ argument
44 .bit_width = _width, \
/linux-4.4.14/drivers/clk/bcm/
Dclk-kona.h299 #define DIVIDER(_offset, _shift, _width) \ argument
303 .u.s.width = (_width), \
309 #define FRAC_DIVIDER(_offset, _shift, _width, _frac_width) \ argument
313 .u.s.width = (_width), \
350 #define SELECTOR(_offset, _shift, _width) \ argument
354 .width = (_width), \
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-common.h1067 #define GET_BITS(_var, _index, _width) \ argument
1068 (((_var) >> (_index)) & ((0x1 << (_width)) - 1))
1070 #define SET_BITS(_var, _index, _width, _val) \ argument
1072 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \
1073 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \
1076 #define GET_BITS_LE(_var, _index, _width) \ argument
1077 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1))
1079 #define SET_BITS_LE(_var, _index, _width, _val) \ argument
1081 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \
1083 ((0x1 << (_width)) - 1)) << (_index))); \
/linux-4.4.14/include/uapi/linux/
Dv4l2-dv-timings.h29 #define V4L2_INIT_BT_TIMINGS(_width, args...) \ argument
30 { .bt = { _width , ## args } }
32 #define V4L2_INIT_BT_TIMINGS(_width, args...) \ argument
33 .bt = { _width , ## args }
/linux-4.4.14/drivers/soc/sunxi/
Dsunxi_sram.c48 #define SUNXI_SRAM_DATA(_name, _reg, _off, _width, ...) \ argument
53 .width = _width, \
/linux-4.4.14/drivers/clk/nxp/
Dclk-lpc18xx-cgu.c171 #define LPC1XX_CGU_SRC_CLK_DIV(_id, _width, _table) \ argument
177 .width = _width, \
/linux-4.4.14/drivers/gpu/drm/gma500/
Dframebuffer.c53 #define CMAP_TOHW(_val, _width) ((((_val) << (_width)) + 0x7FFF - (_val)) >> 16) argument
/linux-4.4.14/drivers/infiniband/core/
Dsysfs.c314 #define PORT_PMA_ATTR(_name, _counter, _width, _offset) \ argument
317 .index = (_offset) | ((_width) << 16) | ((_counter) << 24) \
/linux-4.4.14/drivers/video/fbdev/vermilion/
Dvermilion.c50 #define VML_TOHW(_val, _width) ((((_val) << (_width)) + 0x7FFF - (_val)) >> 16) argument
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_state.c1824 #define RADEON_COPY_MT(_buf, _data, _width) \ in radeon_cp_dispatch_texture() argument
1826 if (copy_from_user(_buf, _data, (_width))) {\ in radeon_cp_dispatch_texture()
1827 DRM_ERROR("EFAULT on pad, %d bytes\n", (_width)); \ in radeon_cp_dispatch_texture()