Home
last modified time | relevance | path

Searched refs:_p (Results 1 – 23 of 23) sorted by relevance

/drivers/net/ethernet/freescale/fs_enet/
Dmac-scc.c62 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) argument
63 #define R32(_p, _m) __fs_in32(&(_p)->_m) argument
64 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument
65 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument
67 #define W16(_p, _m, _v) __fs_out16(&(_p)->_m, (_v)) argument
68 #define R16(_p, _m) __fs_in16(&(_p)->_m) argument
69 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument
70 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument
72 #define W8(_p, _m, _v) __fs_out8(&(_p)->_m, (_v)) argument
73 #define R8(_p, _m) __fs_in8(&(_p)->_m) argument
[all …]
Dmac-fcc.c54 #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v)) argument
55 #define R32(_p, _m) in_be32(&(_p)->_m) argument
56 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument
57 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument
59 #define W16(_p, _m, _v) out_be16(&(_p)->_m, (_v)) argument
60 #define R16(_p, _m) in_be16(&(_p)->_m) argument
61 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument
62 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument
64 #define W8(_p, _m, _v) out_8(&(_p)->_m, (_v)) argument
65 #define R8(_p, _m) in_8(&(_p)->_m) argument
[all …]
/drivers/clk/samsung/
Dclk-pll.h44 #define PLL_35XX_RATE(_rate, _m, _p, _s) \ argument
48 .pdiv = (_p), \
52 #define PLL_36XX_RATE(_rate, _m, _p, _s, _k) \ argument
56 .pdiv = (_p), \
61 #define PLL_45XX_RATE(_rate, _m, _p, _s, _afc) \ argument
65 .pdiv = (_p), \
70 #define PLL_4600_RATE(_rate, _m, _p, _s, _k, _vsel) \ argument
74 .pdiv = (_p), \
80 #define PLL_4650_RATE(_rate, _m, _p, _s, _k, _mfr, _mrr, _vsel) \ argument
84 .pdiv = (_p), \
/drivers/net/ethernet/8390/
D8390p.c6 #define ei_inb(_p) inb(_p) argument
7 #define ei_outb(_v, _p) outb(_v, _p) argument
8 #define ei_inb_p(_p) inb_p(_p) argument
9 #define ei_outb_p(_v, _p) outb_p(_v, _p) argument
D8390.h144 #define ei_inb(_p) inb(_p) argument
145 #define ei_outb(_v,_p) outb(_v,_p) argument
146 #define ei_inb_p(_p) inb(_p) argument
147 #define ei_outb_p(_v,_p) outb(_v,_p) argument
Detherh.c54 #define ei_inb(_p) readb((void __iomem *)_p) argument
55 #define ei_outb(_v,_p) writeb(_v,(void __iomem *)_p) argument
56 #define ei_inb_p(_p) readb((void __iomem *)_p) argument
57 #define ei_outb_p(_v,_p) writeb(_v,(void __iomem *)_p) argument
/drivers/clk/sunxi/
Dclk-sun9i-core.c170 u32 _p; in sun9i_a80_get_ahb_factors() local
175 _p = order_base_2(DIV_ROUND_UP(req->parent_rate, req->rate)); in sun9i_a80_get_ahb_factors()
178 if (_p > 3) in sun9i_a80_get_ahb_factors()
179 _p = 3; in sun9i_a80_get_ahb_factors()
181 req->rate = req->parent_rate >> _p; in sun9i_a80_get_ahb_factors()
182 req->p = _p; in sun9i_a80_get_ahb_factors()
/drivers/clk/sunxi-ng/
Dccu_mp.c22 unsigned int _m, _p; in ccu_mp_find_best() local
24 for (_p = 1; _p <= max_p; _p <<= 1) { in ccu_mp_find_best()
26 unsigned long tmp_rate = parent / _p / _m; in ccu_mp_find_best()
34 best_p = _p; in ccu_mp_find_best()
Dccu_nkmp.c28 unsigned long _n, _k, _m, _p; in ccu_nkmp_find_best() local
33 for (_p = nkmp->min_p; _p <= nkmp->max_p; _p <<= 1) { in ccu_nkmp_find_best()
36 tmp_rate = parent * _n * _k / (_m * _p); in ccu_nkmp_find_best()
46 best_p = _p; in ccu_nkmp_find_best()
/drivers/misc/sgi-xp/
Dxpc.h847 #define XPC_DEACTIVATE_PARTITION(_p, _reason) \ argument
848 xpc_deactivate_partition(__LINE__, (_p), (_reason))
871 #define XPC_PARTID(_p) ((short)((_p) - &xpc_partitions[0])) argument
998 #define XPC_SET_REASON(_p, _reason, _line) \ argument
1000 (_p)->reason = _reason; \
1001 (_p)->reason_line = _line; \
/drivers/xen/
Dxen-balloon.c48 #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10)) argument
/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.h373 #define RS_DRV_DATA_PACK(_c, _p) ((void *)(uintptr_t)\ argument
374 (((uintptr_t)_p) |\
/drivers/staging/lustre/lustre/lov/
Dlov_pool.c48 #define pool_tgt(_p, _i) \ argument
49 _p->pool_lobd->u.lov.lov_tgts[_p->pool_obds.op_array[_i]]
/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c548 u8 _p, uninitialized_var(best_p); in exynos_dsi_pll_find_pms() local
555 for (_p = p_min; _p <= p_max; ++_p) { in exynos_dsi_pll_find_pms()
560 tmp = (u64)fout * (_p << _s); in exynos_dsi_pll_find_pms()
567 do_div(tmp, _p); in exynos_dsi_pll_find_pms()
573 do_div(tmp, _p << _s); in exynos_dsi_pll_find_pms()
577 best_p = _p; in exynos_dsi_pll_find_pms()
/drivers/tty/serial/
Dioc4_serial.c381 #define PENDING(_p) (readl(&(_p)->ip_mem->sio_ir.raw) & _p->ip_ienb) argument
382 #define READ_SIO_IR(_p) readl(&(_p)->ip_mem->sio_ir.raw) argument
629 #define RING(_p, _wh) &(((struct ring_buffer *)((_p)->ip_cpu_ringbuf))->_wh) argument
Dioc3_serial.c114 #define PENDING(_a, _p) (readl(&(_p)->vma->sio_ir) & (_a)->ic_enable) argument
297 #define RING(_p, _wh) &(((struct ring_buffer *)((_p)->ip_cpu_ringbuf))->_wh) argument
/drivers/firewire/
Dohci.c423 static char _p(u32 *s, int shift) in _p() function
442 *s, *s >> 24 & 63, _p(s, 6), _p(s, 4), _p(s, 2), in log_selfids()
450 _p(s, 16), _p(s, 14), _p(s, 12), _p(s, 10), in log_selfids()
451 _p(s, 8), _p(s, 6), _p(s, 4), _p(s, 2)); in log_selfids()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_type.h400 #define IXGBE_PFVFMRQC(_p) (0x03400 + ((_p) * 4)) argument
401 #define IXGBE_PFVFRSSRK(_i, _p) (0x018000 + ((_i) * 4) + ((_p) * 0x40)) argument
402 #define IXGBE_PFVFRETA(_i, _p) (0x019000 + ((_i) * 4) + ((_p) * 0x40)) argument
/drivers/dma/
Dpl330.c2821 struct dma_pl330_chan *pch, *_p; in pl330_probe() local
2977 list_for_each_entry_safe(pch, _p, &pl330->ddma.channels, in pl330_probe()
2998 struct dma_pl330_chan *pch, *_p; in pl330_remove() local
3015 list_for_each_entry_safe(pch, _p, &pl330->ddma.channels, in pl330_remove()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c963 struct ethtool_regs *regs, void *_p) in bnx2x_get_regs() argument
965 u32 *p = _p; in bnx2x_get_regs()
/drivers/net/dsa/mv88e6xxx/
Dchip.c805 struct ethtool_regs *regs, void *_p) in mv88e6xxx_get_regs() argument
810 u16 *p = _p; in mv88e6xxx_get_regs()
/drivers/net/ethernet/broadcom/
Dbnx2.c7068 bnx2_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *_p) in bnx2_get_regs() argument
7070 u32 *p = _p, i, offset; in bnx2_get_regs()
7071 u8 *orig_p = _p; in bnx2_get_regs()
Dtg3.c11937 struct ethtool_regs *regs, void *_p) in tg3_get_regs() argument
11943 memset(_p, 0, TG3_REG_BLK_SIZE); in tg3_get_regs()
11950 tg3_dump_legacy_regs(tp, (u32 *)_p); in tg3_get_regs()