Searched refs:ptr_reg (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/cortina/ |
| H A D | gemini.c | 760 void __iomem *ptr_reg; in gmac_cleanup_rxq() local 768 ptr_reg = &qhdr->word1; in gmac_cleanup_rxq() 770 rw.bits32 = readl(ptr_reg); in gmac_cleanup_rxq() 773 writew(r, ptr_reg + 2); in gmac_cleanup_rxq() 1281 void __iomem *ptr_reg; in gmac_start_xmit() local 1290 ptr_reg = port->dma_base + GMAC_SW_TX_QUEUE_PTR_REG(txq_num); in gmac_start_xmit() 1295 rw.bits32 = readl(ptr_reg); in gmac_start_xmit() 1334 writew(w, ptr_reg + 2); in gmac_start_xmit() 1447 void __iomem *ptr_reg = port->rxq_rwptr; in gmac_rx() local 1464 rw.bits32 = readl(ptr_reg); in gmac_rx() [all …]
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 3946 struct bpf_reg_state *ptr_reg = NULL, *value_reg = NULL; in check_stack_write_var_off() local 3955 ptr_reg = &cur->regs[ptr_regno]; in check_stack_write_var_off() 3956 min_off = ptr_reg->smin_value + off; in check_stack_write_var_off() 3957 max_off = ptr_reg->smax_value + off + size; in check_stack_write_var_off() 13434 static int retrieve_ptr_limit(const struct bpf_reg_state *ptr_reg, in retrieve_ptr_limit() argument 13439 switch (ptr_reg->type) { in retrieve_ptr_limit() 13447 ptr_limit = -ptr_reg->var_off.value; in retrieve_ptr_limit() 13450 max = ptr_reg->map_ptr->value_size; in retrieve_ptr_limit() 13451 ptr_limit = mask_to_left ? ptr_reg->smin_value : ptr_reg->umax_value; in retrieve_ptr_limit() 13531 const struct bpf_reg_state *ptr_reg, in sanitize_ptr_alu() argument [all …]
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 1025 static void emit_insn_suffix(u8 **pprog, u32 ptr_reg, u32 val_reg, int off) in emit_insn_suffix() argument 1036 EMIT2(add_2reg(0x40, ptr_reg, val_reg), off); in emit_insn_suffix() 1039 EMIT1_off32(add_2reg(0x80, ptr_reg, val_reg), off); in emit_insn_suffix() 1044 static void emit_insn_suffix_SIB(u8 **pprog, u32 ptr_reg, u32 val_reg, u32 index_reg, int off) in emit_insn_suffix_SIB() argument 1049 EMIT3(add_2reg(0x44, BPF_REG_0, val_reg), add_2reg(0, ptr_reg, index_reg) /* SIB */, off); in emit_insn_suffix_SIB() 1051 EMIT2_off32(add_2reg(0x84, BPF_REG_0, val_reg), add_2reg(0, ptr_reg, index_reg) /* SIB */, off); in emit_insn_suffix_SIB()
|