Home
last modified time | relevance | path

Searched refs:_off (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/drivers/clk/berlin/
H A Dberlin2-div.h16 #define BERLIN2_PLL_SELECT(_off, _sh) \ argument
17 .pll_select_offs = _off, \
20 #define BERLIN2_PLL_SWITCH(_off, _sh) \ argument
21 .pll_switch_offs = _off, \
24 #define BERLIN2_DIV_SELECT(_off, _sh) \ argument
25 .div_select_offs = _off, \
28 #define BERLIN2_DIV_SWITCH(_off, _sh) \ argument
29 .div_switch_offs = _off, \
32 #define BERLIN2_DIV_D3SWITCH(_off, _sh) \ argument
33 .div3_switch_offs = _off, \
[all …]
/openbmc/linux/drivers/clk/renesas/
H A Drzg2l-cpg.h186 #define DEF_MOD_BASE(_name, _id, _parent, _off, _bit, _is_coupled) \ argument
191 .off = (_off), \
196 #define DEF_MOD(_name, _id, _parent, _off, _bit) \ argument
197 DEF_MOD_BASE(_name, _id, _parent, _off, _bit, false)
199 #define DEF_COUPLED(_name, _id, _parent, _off, _bit) \ argument
200 DEF_MOD_BASE(_name, _id, _parent, _off, _bit, true)
215 #define DEF_RST_MON(_id, _off, _bit, _monbit) \ argument
217 .off = (_off), \
221 #define DEF_RST(_id, _off, _bit) \ argument
222 DEF_RST_MON(_id, _off, _bit, -1)
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dccu.h33 #define GATE(_off, _bit) { \ argument
34 .off = _off, \
51 #define RESET(_off, _bit) { \ argument
52 .off = _off, \
/openbmc/u-boot/include/
H A Dmvmfp.h24 #define MFP(_off, _pull, _drv, _slp, _edge, _sleep, _afn) ( \ argument
25 /* bits 31..16 - MFP Register Offset */ (((_off) & 0xffff) << 16) | \
34 #define MFP(_off, _pull, _drv, _slp, _edge, _sleep, _afn) ( \ argument
35 /* bits 31..16 - MFP Register Offset */ (((_off) & 0xffff) << 16) | \
/openbmc/linux/fs/adfs/
H A Ddir_f.c48 int _off = idx - (_buf << blocksize_bits);\
49 *(u8 *)(bh[_buf]->b_data + _off); \
54 int _off = idx - (_buf << blocksize_bits);\
55 *(__le32 *)(bh[_buf]->b_data + _off); \
60 int _off = _idx - (_buf << blocksize_bits);\
61 (void *)(_bh[_buf]->b_data + _off); \
/openbmc/linux/arch/openrisc/include/asm/
H A Dspr.h19 #define mtspr_off(_spr, _off, _val) __asm__ __volatile__ ( \ argument
21 : : "r" (_off), "r" (_val), "K" (_spr))
/openbmc/qemu/target/hexagon/mmvec/
H A Dmacros.h283 #define fLOADMMV(EA, DST) gen_vreg_load(ctx, DST##_off, EA, true)
286 #define fLOADMMVU(EA, DST) gen_vreg_load(ctx, DST##_off, EA, false)
290 gen_vreg_store(ctx, EA, SRC##_off, insn->slot, true)
294 gen_vreg_masked_store(ctx, EA, SRC##_off, MASK##_off, insn->slot, false)
298 gen_vreg_masked_store(ctx, EA, SRC##_off, MASK##_off, insn->slot, true)
302 gen_vreg_store(ctx, EA, SRC##_off, insn->slot, false)
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c182 do { unsigned int _off = offsetof(STRUCT, FIELD); \
184 *prog++ = LDPTRI | RS1(BASE) | S13(_off) | RD(DEST); \
188 do { unsigned int _off = offsetof(STRUCT, FIELD); \
190 *prog++ = LD32I | RS1(BASE) | S13(_off) | RD(DEST); \
194 do { unsigned int _off = offsetof(STRUCT, FIELD); \
196 *prog++ = LD16I | RS1(BASE) | S13(_off) | RD(DEST); \
200 do { unsigned int _off = offsetof(STRUCT, FIELD); \
201 *prog++ = LD8I | RS1(BASE) | S13(_off) | RD(DEST); \
242 unsigned int _off = (void *)(FUNC) - _here; \
243 *prog++ = CALL | (((_off) >> 2) & 0x3fffffff); \
/openbmc/linux/arch/mips/include/asm/sn/
H A Daddrs.h366 #define NODE_OFFSET_TO_K0(_nasid, _off) \ argument
367 PHYS_TO_K0((NODE_OFFSET(_nasid) + (_off)) | CAC_BASE)
368 #define NODE_OFFSET_TO_K1(_nasid, _off) \ argument
369 TO_UNCAC((NODE_OFFSET(_nasid) + (_off)) | UNCAC_BASE)
H A Dklconfig.h163 #define KL_CONFIG_INFO_SET_OFFSET(_nasid, _off) \ argument
164 (KL_CONFIG_HDR(_nasid)->ch_board_info = (_off))
196 #define KL_CONFIG_BOARD_SET_NEXT(_brd, _off) ((_brd)->brd_next = (_off)) argument
/openbmc/linux/net/core/
H A Ddatagram.c173 int _off = 0; in __skb_try_recv_from_queue() local
177 _off = *off; in __skb_try_recv_from_queue()
183 if (peek_at_off && _off >= skb->len && in __skb_try_recv_from_queue()
184 (_off || skb->peeked)) { in __skb_try_recv_from_queue()
185 _off -= skb->len; in __skb_try_recv_from_queue()
199 *off = _off; in __skb_try_recv_from_queue()
/openbmc/linux/drivers/mfd/
H A Dwcd934x.c19 #define WCD934X_REGMAP_IRQ_REG(_irq, _off, _mask) \ argument
21 .reg_offset = (_off), \
24 .type_reg_offset = (_off), \
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-common.h1585 #define XPCS32_IOWRITE(_pdata, _off, _val) \ argument
1586 iowrite32(_val, (_pdata)->xpcs_regs + (_off))
1588 #define XPCS32_IOREAD(_pdata, _off) \ argument
1589 ioread32((_pdata)->xpcs_regs + (_off))
1591 #define XPCS16_IOWRITE(_pdata, _off, _val) \ argument
1592 iowrite16(_val, (_pdata)->xpcs_regs + (_off))
1594 #define XPCS16_IOREAD(_pdata, _off) \ argument
1595 ioread16((_pdata)->xpcs_regs + (_off))
/openbmc/linux/include/linux/
H A Dinit.h374 static int __init parse_##var##_off(char *arg) \
379 early_param(str_off, parse_##var##_off)
H A Dregmap.h1494 #define REGMAP_IRQ_REG(_irq, _off, _mask) \ argument
1495 [_irq] = { .reg_offset = (_off), .mask = (_mask) }
/openbmc/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-regs.c13 #define camif_write(_camif, _off, _val) writel(_val, (_camif)->io_base + (_off)) argument
14 #define camif_read(_camif, _off) readl((_camif)->io_base + (_off)) argument
/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_div.h54 #define _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, _off, _max, _flags) \ argument
60 .offset = _off, \
/openbmc/linux/drivers/soc/sunxi/
H A Dsunxi_sram.c51 #define SUNXI_SRAM_DATA(_name, _reg, _off, _width, ...) \ argument
55 .offset = _off, \
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Ddm.c133 #define CAL_SWING_OFF(_off, _dir, _size, _del) \ argument
135 for (_off = 0; _off < _size; _off++) { \
136 if (_del < thermal_threshold[_dir][_off]) { \
137 if (_off != 0) \
138 _off--; \
142 if (_off >= _size) \
143 _off = _size - 1; \
/openbmc/linux/drivers/spi/
H A Dspi-hisi-kunpeng.c142 #define HISI_SPI_DBGFS_REG(_name, _off) \ argument
145 .offset = _off, \
H A Dspi-dw-core.c35 #define DW_SPI_DBGFS_REG(_name, _off) \ argument
38 .offset = _off, \
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_ioc.h222 #define bfa_mem_read(_raddr, _off) swab32(readl(((_raddr) + (_off)))) argument
223 #define bfa_mem_write(_raddr, _off, _val) \ argument
224 writel(swab32((_val)), ((_raddr) + (_off)))
/openbmc/linux/drivers/watchdog/
H A Ddw_wdt.c497 #define DW_WDT_DBGFS_REG(_name, _off) \ argument
500 .offset = _off \
/openbmc/linux/drivers/pinctrl/spear/
H A Dpinctrl-plgpio.c666 #define plgpio_prepare_reg(__reg, _off, _mask, _tmp) \ argument
668 regmap_read(plgpio->regmap, plgpio->regs.__reg + _off, &_tmp); \
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dspeed.c22 _off, enumerator

12