Lines Matching defs:ptemp
124 u32 *ptemp;
128 ptemp = dma_alloc_coherent(mci->pdev, 16, &dma_handle, GFP_KERNEL);
129 if (!ptemp) {
130 dma_free_coherent(mci->pdev, 16, ptemp, dma_handle);
160 ptemp[0] = 0x5A5A5A5A;
161 ptemp[1] = 0xA5A5A5A5;
174 reg = READ_ONCE(ptemp[0]);
175 read_reg = READ_ONCE(ptemp[1]);
182 dma_free_coherent(mci->pdev, 16, ptemp, dma_handle);
585 u32 *ptemp, i, error_mask;
604 ptemp = priv->alloc_mem(priv->trig_alloc_sz, &generic_ptr);
605 if (!ptemp) {
621 for (i = 0; i < (priv->trig_alloc_sz / sizeof(*ptemp)); i++) {
624 if (READ_ONCE(ptemp[i]))
630 ptemp[i] = i;
641 if (READ_ONCE(ptemp[i]) != i)
646 priv->free_mem(ptemp, priv->trig_alloc_sz, generic_ptr);
1243 void *ptemp = devm_kzalloc(dev, size, GFP_KERNEL);
1245 if (!ptemp)
1258 return ptemp;