Lines Matching refs:request

171 			       const struct flash_ra_ex_write_protect_in *request);
287 const struct flash_ra_ex_write_protect_in *request = in flash_ra_ex_op_write_protect() local
296 if (request != NULL) { in flash_ra_ex_op_write_protect()
301 Z_OOPS(z_user_from_copy(&copy_in, request, sizeof(copy_in))); in flash_ra_ex_op_write_protect()
302 request = &copy_in; in flash_ra_ex_op_write_protect()
306 if ((request->protect_enable.BPS[0] & request->protect_disable.BPS[0]) || in flash_ra_ex_op_write_protect()
307 (request->protect_enable.BPS[1] & request->protect_disable.BPS[1]) || in flash_ra_ex_op_write_protect()
308 (request->protect_enable.BPS[2] & request->protect_disable.BPS[2]) || in flash_ra_ex_op_write_protect()
309 (request->protect_enable.BPS[3] & request->protect_disable.BPS[3])) { in flash_ra_ex_op_write_protect()
313 rc = flash_ra_block_protect_set(dev, request); in flash_ra_ex_op_write_protect()
340 const struct flash_ra_ex_write_protect_in *request) in flash_ra_block_protect_set() argument
357 bps_ns.BPS[0] &= ~(request->protect_enable.BPS[0]); in flash_ra_block_protect_set()
358 bps_ns.BPS[1] &= ~(request->protect_enable.BPS[1]); in flash_ra_block_protect_set()
359 bps_ns.BPS[2] &= ~(request->protect_enable.BPS[2]); in flash_ra_block_protect_set()
360 bps_ns.BPS[3] &= ~(request->protect_enable.BPS[3]); in flash_ra_block_protect_set()
363 bps_ns.BPS[0] |= (request->protect_disable.BPS[0]); in flash_ra_block_protect_set()
364 bps_ns.BPS[1] |= (request->protect_disable.BPS[1]); in flash_ra_block_protect_set()
365 bps_ns.BPS[2] |= (request->protect_disable.BPS[2]); in flash_ra_block_protect_set()
366 bps_ns.BPS[3] |= (request->protect_disable.BPS[3]); in flash_ra_block_protect_set()