Lines Matching refs:work_area
94 struct rtas_work_area *work_area; in papr_sysparm_get() local
109 work_area = rtas_work_area_alloc(sizeof(*buf)); in papr_sysparm_get()
111 memcpy(rtas_work_area_raw_buf(work_area), buf, sizeof(*buf)); in papr_sysparm_get()
115 rtas_work_area_phys(work_area), in papr_sysparm_get()
116 rtas_work_area_size(work_area)); in papr_sysparm_get()
122 memcpy(buf, rtas_work_area_raw_buf(work_area), sizeof(*buf)); in papr_sysparm_get()
142 rtas_work_area_free(work_area); in papr_sysparm_get()
150 struct rtas_work_area *work_area; in papr_sysparm_set() local
165 work_area = rtas_work_area_alloc(sizeof(*buf)); in papr_sysparm_set()
167 memcpy(rtas_work_area_raw_buf(work_area), buf, sizeof(*buf)); in papr_sysparm_set()
171 rtas_work_area_phys(work_area)); in papr_sysparm_set()
195 rtas_work_area_free(work_area); in papr_sysparm_set()