Searched refs:ptr_reg (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/cortina/ |
D | gemini.c | 761 void __iomem *ptr_reg; in gmac_cleanup_rxq() local 769 ptr_reg = &qhdr->word1; in gmac_cleanup_rxq() 771 rw.bits32 = readl(ptr_reg); in gmac_cleanup_rxq() 774 writew(r, ptr_reg + 2); in gmac_cleanup_rxq() 1231 void __iomem *ptr_reg; in gmac_start_xmit() local 1240 ptr_reg = port->dma_base + GMAC_SW_TX_QUEUE_PTR_REG(txq_num); in gmac_start_xmit() 1245 rw.bits32 = readl(ptr_reg); in gmac_start_xmit() 1284 writew(w, ptr_reg + 2); in gmac_start_xmit() 1397 void __iomem *ptr_reg = port->rxq_rwptr; in gmac_rx() local 1412 rw.bits32 = readl(ptr_reg); in gmac_rx() [all …]
|
/Linux-v6.6/kernel/bpf/ |
D | verifier.c | 4443 struct bpf_reg_state *ptr_reg = NULL, *value_reg = NULL; in check_stack_write_var_off() local 4452 ptr_reg = &cur->regs[ptr_regno]; in check_stack_write_var_off() 4453 min_off = ptr_reg->smin_value + off; in check_stack_write_var_off() 4454 max_off = ptr_reg->smax_value + off + size; in check_stack_write_var_off() 11711 static int retrieve_ptr_limit(const struct bpf_reg_state *ptr_reg, in retrieve_ptr_limit() argument 11716 switch (ptr_reg->type) { in retrieve_ptr_limit() 11724 ptr_limit = -(ptr_reg->var_off.value + ptr_reg->off); in retrieve_ptr_limit() 11727 max = ptr_reg->map_ptr->value_size; in retrieve_ptr_limit() 11729 ptr_reg->smin_value : in retrieve_ptr_limit() 11730 ptr_reg->umax_value) + ptr_reg->off; in retrieve_ptr_limit() [all …]
|
/Linux-v6.6/arch/x86/net/ |
D | bpf_jit_comp.c | 737 static void emit_insn_suffix(u8 **pprog, u32 ptr_reg, u32 val_reg, int off) in emit_insn_suffix() argument 748 EMIT2(add_2reg(0x40, ptr_reg, val_reg), off); in emit_insn_suffix() 751 EMIT1_off32(add_2reg(0x80, ptr_reg, val_reg), off); in emit_insn_suffix()
|