Lines Matching refs:payload
231 const struct ps3_sys_manager_header *header, const void *payload) in ps3_sys_manager_write() argument
244 result = ps3_vuart_write(dev, payload, header->payload_size); in ps3_sys_manager_write()
262 } payload; in ps3_sys_manager_send_attr() local
264 BUILD_BUG_ON(sizeof(payload) != 8); in ps3_sys_manager_send_attr()
274 memset(&payload, 0, sizeof(payload)); in ps3_sys_manager_send_attr()
275 payload.version = 1; in ps3_sys_manager_send_attr()
276 payload.attribute = attr; in ps3_sys_manager_send_attr()
278 return ps3_sys_manager_write(dev, &header, &payload); in ps3_sys_manager_send_attr()
299 } payload; in ps3_sys_manager_send_next_op() local
301 BUILD_BUG_ON(sizeof(payload) != 16); in ps3_sys_manager_send_next_op()
311 memset(&payload, 0, sizeof(payload)); in ps3_sys_manager_send_next_op()
312 payload.version = 3; in ps3_sys_manager_send_next_op()
313 payload.type = op; in ps3_sys_manager_send_next_op()
314 payload.gos_id = 3; /* other os */ in ps3_sys_manager_send_next_op()
315 payload.wake_source = wake_source; in ps3_sys_manager_send_next_op()
317 return ps3_sys_manager_write(dev, &header, &payload); in ps3_sys_manager_send_next_op()
341 } payload; in ps3_sys_manager_send_request_shutdown() local
343 BUILD_BUG_ON(sizeof(payload) != 16); in ps3_sys_manager_send_request_shutdown()
353 memset(&payload, 0, sizeof(payload)); in ps3_sys_manager_send_request_shutdown()
354 payload.version = 1; in ps3_sys_manager_send_request_shutdown()
355 payload.type = 1; /* shutdown */ in ps3_sys_manager_send_request_shutdown()
356 payload.gos_id = 0; /* self */ in ps3_sys_manager_send_request_shutdown()
358 return ps3_sys_manager_write(dev, &header, &payload); in ps3_sys_manager_send_request_shutdown()
378 } payload; in ps3_sys_manager_send_response() local
380 BUILD_BUG_ON(sizeof(payload) != 16); in ps3_sys_manager_send_response()
391 memset(&payload, 0, sizeof(payload)); in ps3_sys_manager_send_response()
392 payload.version = 1; in ps3_sys_manager_send_response()
393 payload.status = status; in ps3_sys_manager_send_response()
395 return ps3_sys_manager_write(dev, &header, &payload); in ps3_sys_manager_send_response()