xiocb 24 arch/mips/fw/cfe/cfe_api.c int cfe_iocb_dispatch(struct cfe_xiocb *xiocb); xiocb 35 arch/mips/fw/cfe/cfe_api.c static int (*cfe_dispfunc) (intptr_t handle, intptr_t xiocb); xiocb 45 arch/mips/fw/cfe/cfe_api.c int cfe_iocb_dispatch(struct cfe_xiocb * xiocb) xiocb 49 arch/mips/fw/cfe/cfe_api.c return (*cfe_dispfunc) ((intptr_t) cfe_handle, (intptr_t) xiocb); xiocb 54 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 56 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_DEV_CLOSE; xiocb 57 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 58 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = handle; xiocb 59 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 60 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = 0; xiocb 62 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 64 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 70 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 72 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_FW_CPUCTL; xiocb 73 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 74 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 75 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 76 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_cpuctl); xiocb 77 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_cpuctl.cpu_number = cpu; xiocb 78 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_cpuctl.cpu_command = CFE_CPU_CMD_START; xiocb 79 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_cpuctl.gp_val = gp; xiocb 80 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_cpuctl.sp_val = sp; xiocb 81 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_cpuctl.a1_val = a1; xiocb 82 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_cpuctl.start_addr = (long) fn; xiocb 84 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 86 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 91 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 93 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_FW_CPUCTL; xiocb 94 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 95 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 96 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 97 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_cpuctl); xiocb 98 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_cpuctl.cpu_number = cpu; xiocb 99 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_cpuctl.cpu_command = CFE_CPU_CMD_STOP; xiocb 101 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 103 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 108 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 110 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_ENV_SET; xiocb 111 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 112 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 113 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 114 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_envbuf); xiocb 115 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.enum_idx = idx; xiocb 116 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.name_ptr = XPTR_FROM_NATIVE(name); xiocb 117 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.name_length = namelen; xiocb 118 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.val_ptr = XPTR_FROM_NATIVE(val); xiocb 119 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.val_length = vallen; xiocb 121 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 123 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 129 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 131 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_FW_MEMENUM; xiocb 132 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 133 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 134 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = flags; xiocb 135 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_meminfo); xiocb 136 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_meminfo.mi_idx = idx; xiocb 138 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 140 arch/mips/fw/cfe/cfe_api.c if (xiocb.xiocb_status < 0) xiocb 141 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 143 arch/mips/fw/cfe/cfe_api.c *start = xiocb.plist.xiocb_meminfo.mi_addr; xiocb 144 arch/mips/fw/cfe/cfe_api.c *length = xiocb.plist.xiocb_meminfo.mi_size; xiocb 145 arch/mips/fw/cfe/cfe_api.c *type = xiocb.plist.xiocb_meminfo.mi_type; xiocb 152 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 154 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_FW_RESTART; xiocb 155 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 156 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 157 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = warm ? CFE_FLG_WARMSTART : 0; xiocb 158 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_exitstat); xiocb 159 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_exitstat.status = status; xiocb 161 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 163 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 168 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 170 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_FW_FLUSHCACHE; xiocb 171 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 172 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 173 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = flg; xiocb 174 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = 0; xiocb 176 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 178 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 183 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 185 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_DEV_GETINFO; xiocb 186 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 187 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 188 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 189 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_buffer); xiocb 190 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_offset = 0; xiocb 191 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); xiocb 192 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_length = strlen(name); xiocb 194 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 196 arch/mips/fw/cfe/cfe_api.c if (xiocb.xiocb_status < 0) xiocb 197 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 198 arch/mips/fw/cfe/cfe_api.c return xiocb.plist.xiocb_buffer.buf_ioctlcmd; xiocb 203 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 207 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_ENV_GET; xiocb 208 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 209 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 210 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 211 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_envbuf); xiocb 212 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.enum_idx = 0; xiocb 213 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.name_ptr = XPTR_FROM_NATIVE(name); xiocb 214 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.name_length = strlen(name); xiocb 215 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.val_ptr = XPTR_FROM_NATIVE(dest); xiocb 216 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.val_length = destlen; xiocb 218 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 220 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 225 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 227 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_FW_GETINFO; xiocb 228 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 229 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 230 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 231 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_fwinfo); xiocb 233 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 235 arch/mips/fw/cfe/cfe_api.c if (xiocb.xiocb_status < 0) xiocb 236 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 238 arch/mips/fw/cfe/cfe_api.c info->fwi_version = xiocb.plist.xiocb_fwinfo.fwi_version; xiocb 239 arch/mips/fw/cfe/cfe_api.c info->fwi_totalmem = xiocb.plist.xiocb_fwinfo.fwi_totalmem; xiocb 240 arch/mips/fw/cfe/cfe_api.c info->fwi_flags = xiocb.plist.xiocb_fwinfo.fwi_flags; xiocb 241 arch/mips/fw/cfe/cfe_api.c info->fwi_boardid = xiocb.plist.xiocb_fwinfo.fwi_boardid; xiocb 242 arch/mips/fw/cfe/cfe_api.c info->fwi_bootarea_va = xiocb.plist.xiocb_fwinfo.fwi_bootarea_va; xiocb 243 arch/mips/fw/cfe/cfe_api.c info->fwi_bootarea_pa = xiocb.plist.xiocb_fwinfo.fwi_bootarea_pa; xiocb 245 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_fwinfo.fwi_bootarea_size; xiocb 247 arch/mips/fw/cfe/cfe_api.c info->fwi_reserved1 = xiocb.plist.xiocb_fwinfo.fwi_reserved1; xiocb 248 arch/mips/fw/cfe/cfe_api.c info->fwi_reserved2 = xiocb.plist.xiocb_fwinfo.fwi_reserved2; xiocb 249 arch/mips/fw/cfe/cfe_api.c info->fwi_reserved3 = xiocb.plist.xiocb_fwinfo.fwi_reserved3; xiocb 257 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 259 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_DEV_GETHANDLE; xiocb 260 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 261 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 262 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = flg; xiocb 263 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = 0; xiocb 265 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 267 arch/mips/fw/cfe/cfe_api.c if (xiocb.xiocb_status < 0) xiocb 268 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 269 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_handle; xiocb 275 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 277 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_FW_GETTIME; xiocb 278 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 279 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 280 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 281 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_time); xiocb 282 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_time.ticks = 0; xiocb 284 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 286 arch/mips/fw/cfe/cfe_api.c return xiocb.plist.xiocb_time.ticks; xiocb 292 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 294 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_DEV_INPSTAT; xiocb 295 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 296 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = handle; xiocb 297 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 298 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_inpstat); xiocb 299 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_inpstat.inp_status = 0; xiocb 301 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 303 arch/mips/fw/cfe/cfe_api.c if (xiocb.xiocb_status < 0) xiocb 304 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 305 arch/mips/fw/cfe/cfe_api.c return xiocb.plist.xiocb_inpstat.inp_status; xiocb 312 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 314 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_DEV_IOCTL; xiocb 315 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 316 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = handle; xiocb 317 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 318 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_buffer); xiocb 319 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_offset = offset; xiocb 320 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_ioctlcmd = ioctlnum; xiocb 321 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); xiocb 322 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_length = length; xiocb 324 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 327 arch/mips/fw/cfe/cfe_api.c *retlen = xiocb.plist.xiocb_buffer.buf_retlen; xiocb 328 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 333 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 335 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_DEV_OPEN; xiocb 336 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 337 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 338 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 339 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_buffer); xiocb 340 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_offset = 0; xiocb 341 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); xiocb 342 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_length = strlen(name); xiocb 344 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 346 arch/mips/fw/cfe/cfe_api.c if (xiocb.xiocb_status < 0) xiocb 347 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 348 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_handle; xiocb 358 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 360 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_DEV_READ; xiocb 361 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 362 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = handle; xiocb 363 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 364 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_buffer); xiocb 365 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_offset = offset; xiocb 366 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); xiocb 367 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_length = length; xiocb 369 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 371 arch/mips/fw/cfe/cfe_api.c if (xiocb.xiocb_status < 0) xiocb 372 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 373 arch/mips/fw/cfe/cfe_api.c return xiocb.plist.xiocb_buffer.buf_retlen; xiocb 378 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 380 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_ENV_SET; xiocb 381 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 382 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = 0; xiocb 383 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 384 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_envbuf); xiocb 385 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.enum_idx = 0; xiocb 386 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.name_ptr = XPTR_FROM_NATIVE(name); xiocb 387 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.name_length = strlen(name); xiocb 388 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.val_ptr = XPTR_FROM_NATIVE(val); xiocb 389 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_envbuf.val_length = strlen(val); xiocb 391 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 393 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 403 arch/mips/fw/cfe/cfe_api.c struct cfe_xiocb xiocb; xiocb 405 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_fcode = CFE_CMD_DEV_WRITE; xiocb 406 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_status = 0; xiocb 407 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_handle = handle; xiocb 408 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_flags = 0; xiocb 409 arch/mips/fw/cfe/cfe_api.c xiocb.xiocb_psize = sizeof(struct xiocb_buffer); xiocb 410 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_offset = offset; xiocb 411 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); xiocb 412 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_buffer.buf_length = length; xiocb 414 arch/mips/fw/cfe/cfe_api.c cfe_iocb_dispatch(&xiocb); xiocb 416 arch/mips/fw/cfe/cfe_api.c if (xiocb.xiocb_status < 0) xiocb 417 arch/mips/fw/cfe/cfe_api.c return xiocb.xiocb_status; xiocb 418 arch/mips/fw/cfe/cfe_api.c return xiocb.plist.xiocb_buffer.buf_retlen;