Lines Matching refs:work_area
54 struct rtas_work_area *work_area; in papr_sysparm_get() local
66 work_area = rtas_work_area_alloc(sizeof(*buf)); in papr_sysparm_get()
68 memcpy(rtas_work_area_raw_buf(work_area), buf, sizeof(*buf)); in papr_sysparm_get()
72 rtas_work_area_phys(work_area), in papr_sysparm_get()
73 rtas_work_area_size(work_area)); in papr_sysparm_get()
79 memcpy(buf, rtas_work_area_raw_buf(work_area), sizeof(*buf)); in papr_sysparm_get()
98 rtas_work_area_free(work_area); in papr_sysparm_get()
106 struct rtas_work_area *work_area; in papr_sysparm_set() local
118 work_area = rtas_work_area_alloc(sizeof(*buf)); in papr_sysparm_set()
120 memcpy(rtas_work_area_raw_buf(work_area), buf, sizeof(*buf)); in papr_sysparm_set()
124 rtas_work_area_phys(work_area)); in papr_sysparm_set()
148 rtas_work_area_free(work_area); in papr_sysparm_set()