Searched refs:ptr_reg (Results 1 – 2 of 2) sorted by relevance
763 void __iomem *ptr_reg; in gmac_cleanup_rxq() local771 ptr_reg = &qhdr->word1; in gmac_cleanup_rxq()773 rw.bits32 = readl(ptr_reg); in gmac_cleanup_rxq()776 writew(r, ptr_reg + 2); in gmac_cleanup_rxq()1232 void __iomem *ptr_reg; in gmac_start_xmit() local1241 ptr_reg = port->dma_base + GMAC_SW_TX_QUEUE_PTR_REG(txq_num); in gmac_start_xmit()1246 rw.bits32 = readl(ptr_reg); in gmac_start_xmit()1285 writew(w, ptr_reg + 2); in gmac_start_xmit()1398 void __iomem *ptr_reg = port->rxq_rwptr; in gmac_rx() local1413 rw.bits32 = readl(ptr_reg); in gmac_rx()[all …]
4203 static int retrieve_ptr_limit(const struct bpf_reg_state *ptr_reg, in retrieve_ptr_limit() argument4210 switch (ptr_reg->type) { in retrieve_ptr_limit()4215 off = ptr_reg->off + ptr_reg->var_off.value; in retrieve_ptr_limit()4223 *ptr_limit = ptr_reg->umax_value + ptr_reg->off; in retrieve_ptr_limit()4225 off = ptr_reg->smin_value + ptr_reg->off; in retrieve_ptr_limit()4226 *ptr_limit = ptr_reg->map_ptr->value_size - off; in retrieve_ptr_limit()4270 const struct bpf_reg_state *ptr_reg, in sanitize_ptr_alu() argument4276 bool ptr_is_dst_reg = ptr_reg == dst_reg; in sanitize_ptr_alu()4296 if (retrieve_ptr_limit(ptr_reg, &alu_limit, opcode, off_is_neg)) in sanitize_ptr_alu()4312 *dst_reg = *ptr_reg; in sanitize_ptr_alu()[all …]