Home
last modified time | relevance | path

Searched refs:args_buf (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/powerpc/platforms/powernv/
Dopal-flash.c153 struct validate_flash_t *args_buf = &validate_flash_data; in validate_show() local
157 if (args_buf->status < VALIDATE_TMP_UPDATE) { in validate_show()
158 len = sprintf(buf, "%d\n", args_buf->status); in validate_show()
163 len = sprintf(buf, "%d\n", args_buf->result); in validate_show()
166 if ((args_buf->result != VALIDATE_TMP_UPDATE) && in validate_show()
167 (args_buf->result < VALIDATE_CUR_UNKNOWN)) in validate_show()
170 if (args_buf->buf_size > (VALIDATE_BUF_SIZE - len)) { in validate_show()
171 memcpy(buf + len, args_buf->buf, VALIDATE_BUF_SIZE - len); in validate_show()
174 memcpy(buf + len, args_buf->buf, args_buf->buf_size); in validate_show()
175 len += args_buf->buf_size; in validate_show()
[all …]
/linux-6.12.1/arch/powerpc/kernel/
Drtas_flash.c374 static void manage_flash(struct rtas_manage_flash_t *args_buf, unsigned int op) in manage_flash() argument
383 args_buf->status = rc; in manage_flash()
389 struct rtas_manage_flash_t *const args_buf = &rtas_manage_flash_data; in manage_flash_read() local
394 status = args_buf->status; in manage_flash_read()
404 struct rtas_manage_flash_t *const args_buf = &rtas_manage_flash_data; in manage_flash_write() local
412 if ((args_buf->status == MANAGE_AUTH) || (count == 0)) in manage_flash_write()
432 manage_flash(args_buf, op); in manage_flash_write()
445 static void validate_flash(struct rtas_validate_flash_t *args_buf) in validate_flash() argument
454 memcpy(rtas_data_buf, args_buf->buf, VALIDATE_BUF_SIZE); in validate_flash()
456 (u32) __pa(rtas_data_buf), args_buf->buf_size); in validate_flash()
[all …]