Searched refs:error_index (Results 1 – 5 of 5) sorted by relevance
387 event = tw_dev->event_queue[tw_dev->error_index]; in twa_aen_queue_event()425 if ((tw_dev->error_index + 1) == TW_Q_LENGTH) in twa_aen_queue_event()427 tw_dev->error_index = (tw_dev->error_index + 1 ) % TW_Q_LENGTH; in twa_aen_queue_event()759 if (!tw_dev->error_index) { in twa_chrdev_ioctl()765 event_index = (tw_dev->error_index - 1 + TW_Q_LENGTH) % TW_Q_LENGTH; in twa_chrdev_ioctl()776 event_index = tw_dev->error_index; in twa_chrdev_ioctl()778 if (!tw_dev->error_index) { in twa_chrdev_ioctl()798 start_index = tw_dev->error_index; in twa_chrdev_ioctl()800 if (!tw_dev->error_index) { in twa_chrdev_ioctl()827 start_index = tw_dev->error_index; in twa_chrdev_ioctl()[all …]
386 unsigned char error_index; member
673 unsigned char error_index; member
249 event = tw_dev->event_queue[tw_dev->error_index]; in twl_aen_queue_event()282 tw_dev->error_index = (tw_dev->error_index + 1 ) % TW_Q_LENGTH; in twl_aen_queue_event()
2367 int error_index; in ipr_handle_log_data() local2387 error_index = ipr_get_error(ioasc); in ipr_handle_log_data()2389 if (!ipr_error_table[error_index].log_hcam) in ipr_handle_log_data()2392 ipr_hcam_err(hostrcb, "%s\n", ipr_error_table[error_index].error); in ipr_handle_log_data()2397 if (ioa_cfg->log_level < ipr_error_table[error_index].log_hcam) in ipr_handle_log_data()5776 int error_index; in ipr_dump_ioasa() local5788 error_index = ipr_get_error(fd_ioasc); in ipr_dump_ioasa()5790 error_index = ipr_get_error(ioasc); in ipr_dump_ioasa()5800 if (ipr_error_table[error_index].log_ioasa == 0) in ipr_dump_ioasa()5804 ipr_res_err(ioa_cfg, res, "%s\n", ipr_error_table[error_index].error); in ipr_dump_ioasa()