Searched refs:error_index (Results 1 – 5 of 5) sorted by relevance
397 event = tw_dev->event_queue[tw_dev->error_index]; in twa_aen_queue_event()435 if ((tw_dev->error_index + 1) == TW_Q_LENGTH) in twa_aen_queue_event()437 tw_dev->error_index = (tw_dev->error_index + 1 ) % TW_Q_LENGTH; in twa_aen_queue_event()769 if (!tw_dev->error_index) { in twa_chrdev_ioctl()775 event_index = (tw_dev->error_index - 1 + TW_Q_LENGTH) % TW_Q_LENGTH; in twa_chrdev_ioctl()786 event_index = tw_dev->error_index; in twa_chrdev_ioctl()788 if (!tw_dev->error_index) { in twa_chrdev_ioctl()808 start_index = tw_dev->error_index; in twa_chrdev_ioctl()810 if (!tw_dev->error_index) { in twa_chrdev_ioctl()837 start_index = tw_dev->error_index; in twa_chrdev_ioctl()[all …]
382 unsigned char error_index; member
668 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()
2451 int error_index; in ipr_handle_log_data() local2472 error_index = ipr_get_error(ioasc); in ipr_handle_log_data()2474 if (!ipr_error_table[error_index].log_hcam) in ipr_handle_log_data()2486 ipr_hcam_err(hostrcb, "%s\n", ipr_error_table[error_index].error); in ipr_handle_log_data()2491 if (ioa_cfg->log_level < ipr_error_table[error_index].log_hcam) in ipr_handle_log_data()5960 int error_index; in ipr_dump_ioasa() local5972 error_index = ipr_get_error(fd_ioasc); in ipr_dump_ioasa()5974 error_index = ipr_get_error(ioasc); in ipr_dump_ioasa()5984 if (ipr_error_table[error_index].log_ioasa == 0) in ipr_dump_ioasa()5988 ipr_res_err(ioa_cfg, res, "%s\n", ipr_error_table[error_index].error); in ipr_dump_ioasa()