Lines Matching refs:work_area
99 struct rtas_work_area *work_area; in papr_sysparm_get() local
114 work_area = rtas_work_area_alloc(sizeof(*buf)); in papr_sysparm_get()
116 memcpy(rtas_work_area_raw_buf(work_area), buf, sizeof(*buf)); in papr_sysparm_get()
120 rtas_work_area_phys(work_area), in papr_sysparm_get()
121 rtas_work_area_size(work_area)); in papr_sysparm_get()
127 memcpy(buf, rtas_work_area_raw_buf(work_area), sizeof(*buf)); in papr_sysparm_get()
147 rtas_work_area_free(work_area); in papr_sysparm_get()
155 struct rtas_work_area *work_area; in papr_sysparm_set() local
170 work_area = rtas_work_area_alloc(sizeof(*buf)); in papr_sysparm_set()
172 memcpy(rtas_work_area_raw_buf(work_area), buf, sizeof(*buf)); in papr_sysparm_set()
176 rtas_work_area_phys(work_area)); in papr_sysparm_set()
200 rtas_work_area_free(work_area); in papr_sysparm_set()