Searched refs:ptr_reg (Results 1 – 2 of 2) sorted by relevance
759 void __iomem *ptr_reg; in gmac_cleanup_rxq() local767 ptr_reg = &qhdr->word1; in gmac_cleanup_rxq()769 rw.bits32 = readl(ptr_reg); in gmac_cleanup_rxq()772 writew(r, ptr_reg + 2); in gmac_cleanup_rxq()1229 void __iomem *ptr_reg; in gmac_start_xmit() local1238 ptr_reg = port->dma_base + GMAC_SW_TX_QUEUE_PTR_REG(txq_num); in gmac_start_xmit()1243 rw.bits32 = readl(ptr_reg); in gmac_start_xmit()1282 writew(w, ptr_reg + 2); in gmac_start_xmit()1395 void __iomem *ptr_reg = port->rxq_rwptr; in gmac_rx() local1410 rw.bits32 = readl(ptr_reg); in gmac_rx()[all …]
5328 static int retrieve_ptr_limit(const struct bpf_reg_state *ptr_reg, in retrieve_ptr_limit() argument5335 switch (ptr_reg->type) { in retrieve_ptr_limit()5340 off = ptr_reg->off + ptr_reg->var_off.value; in retrieve_ptr_limit()5348 *ptr_limit = ptr_reg->umax_value + ptr_reg->off; in retrieve_ptr_limit()5350 off = ptr_reg->smin_value + ptr_reg->off; in retrieve_ptr_limit()5351 *ptr_limit = ptr_reg->map_ptr->value_size - off; in retrieve_ptr_limit()5395 const struct bpf_reg_state *ptr_reg, in sanitize_ptr_alu() argument5401 bool ptr_is_dst_reg = ptr_reg == dst_reg; in sanitize_ptr_alu()5421 if (retrieve_ptr_limit(ptr_reg, &alu_limit, opcode, off_is_neg)) in sanitize_ptr_alu()5437 *dst_reg = *ptr_reg; in sanitize_ptr_alu()[all …]