Searched refs:aps (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/platform/goldfish/
H A Dgoldfish_pipe.c131 struct access_params *aps; member in struct:goldfish_pipe_dev
203 struct access_params *aps) valid_batchbuffer_addr()
211 if (paddr != (__pa(aps))) valid_batchbuffer_addr()
221 struct access_params *aps; setup_access_params_addr() local
223 aps = devm_kzalloc(&pdev->dev, sizeof(struct access_params), GFP_KERNEL); setup_access_params_addr()
224 if (!aps) setup_access_params_addr()
228 paddr = __pa(aps); setup_access_params_addr()
232 if (valid_batchbuffer_addr(dev, aps)) { setup_access_params_addr()
233 dev->aps = aps; setup_access_params_addr()
245 struct access_params *aps = dev->aps; access_with_param() local
247 if (aps == NULL) access_with_param()
250 aps->result = INITIAL_BATCH_RESULT; access_with_param()
251 aps->channel = (unsigned long)pipe; access_with_param()
252 aps->size = avail; access_with_param()
253 aps->address = address; access_with_param()
254 aps->cmd = cmd; access_with_param()
257 * If the aps->result has not changed, that means access_with_param()
260 if (aps->result == INITIAL_BATCH_RESULT) access_with_param()
262 *status = aps->result; access_with_param()
202 valid_batchbuffer_addr(struct goldfish_pipe_dev *dev, struct access_params *aps) valid_batchbuffer_addr() argument

Completed in 57 milliseconds