Lines Matching defs:ptemp
123 u32 *ptemp;
127 ptemp = dma_alloc_coherent(mci->pdev, 16, &dma_handle, GFP_KERNEL);
128 if (!ptemp) {
129 dma_free_coherent(mci->pdev, 16, ptemp, dma_handle);
159 ptemp[0] = 0x5A5A5A5A;
160 ptemp[1] = 0xA5A5A5A5;
173 reg = READ_ONCE(ptemp[0]);
174 read_reg = READ_ONCE(ptemp[1]);
181 dma_free_coherent(mci->pdev, 16, ptemp, dma_handle);
576 u32 *ptemp, i, error_mask;
595 ptemp = priv->alloc_mem(priv->trig_alloc_sz, &generic_ptr);
596 if (!ptemp) {
612 for (i = 0; i < (priv->trig_alloc_sz / sizeof(*ptemp)); i++) {
615 if (READ_ONCE(ptemp[i]))
621 ptemp[i] = i;
632 if (READ_ONCE(ptemp[i]) != i)
637 priv->free_mem(ptemp, priv->trig_alloc_sz, generic_ptr);
1196 void *ptemp = devm_kzalloc(dev, size, GFP_KERNEL);
1198 if (!ptemp)
1211 return ptemp;