Searched refs:tw_dev (Results 1 – 4 of 4) sorted by relevance
384 event = tw_dev->event_queue[tw_dev->error_index]; in twa_aen_queue_event()1050 tw_dev->free_queue[tw_dev->free_tail] = request_id; in twa_free_request_id()1052 tw_dev->free_tail = (tw_dev->free_tail + 1) % TW_Q_LENGTH; in twa_free_request_id()1101 *request_id = tw_dev->free_queue[tw_dev->free_head]; in twa_get_request_id()1102 tw_dev->free_head = (tw_dev->free_head + 1) % TW_Q_LENGTH; in twa_get_request_id()1892 if (tw_dev->sector_count > tw_dev->max_sector_count) in DEF_SCSI_QCMD()1893 tw_dev->max_sector_count = tw_dev->sector_count; in DEF_SCSI_QCMD()1898 if (tw_dev->sgl_entries > tw_dev->max_sgl_entries) in DEF_SCSI_QCMD()1899 tw_dev->max_sgl_entries = tw_dev->sgl_entries; in DEF_SCSI_QCMD()1936 free_irq(tw_dev->tw_pci_dev->irq, tw_dev); in __twa_shutdown()[all …]
644 tw_dev->aen_queue[tw_dev->aen_tail] = aen; in tw_aen_complete()648 tw_dev->aen_tail = tw_dev->aen_tail + 1; in tw_aen_complete()650 if (tw_dev->aen_head == tw_dev->aen_tail) { in tw_aen_complete()654 tw_dev->aen_head = tw_dev->aen_head + 1; in tw_aen_complete()805 tw_dev->aen_queue[tw_dev->aen_tail] = aen; in tw_aen_drain_queue()809 tw_dev->aen_tail = tw_dev->aen_tail + 1; in tw_aen_drain_queue()811 if (tw_dev->aen_head == tw_dev->aen_tail) { in tw_aen_drain_queue()815 tw_dev->aen_head = tw_dev->aen_head + 1; in tw_aen_drain_queue()939 if (tw_dev->aen_head == tw_dev->aen_tail) { in tw_chrdev_ioctl()946 tw_dev->aen_head = tw_dev->aen_head + 1; in tw_chrdev_ioctl()[all …]
234 event = tw_dev->event_queue[tw_dev->error_index]; in twl_aen_queue_event()359 if (tw_dev->sector_count > tw_dev->max_sector_count) in twl_scsiop_execute_scsi()360 tw_dev->max_sector_count = tw_dev->sector_count; in twl_scsiop_execute_scsi()362 if (tw_dev->sgl_entries > tw_dev->max_sgl_entries) in twl_scsiop_execute_scsi()363 tw_dev->max_sgl_entries = tw_dev->sgl_entries; in twl_scsiop_execute_scsi()452 *request_id = tw_dev->free_queue[tw_dev->free_head]; in twl_get_request_id()453 tw_dev->free_head = (tw_dev->free_head + 1) % TW_Q_LENGTH; in twl_get_request_id()460 tw_dev->free_queue[tw_dev->free_tail] = request_id; in twl_free_request_id()462 tw_dev->free_tail = (tw_dev->free_tail + 1) % TW_Q_LENGTH; in twl_free_request_id()1494 free_irq(tw_dev->tw_pci_dev->irq, tw_dev); in DEF_SCSI_QCMD()[all …]
198 (writel(~0, TWL_HIMASK_REG_ADDR(tw_dev)))200 (writel(~TWL_HISTATUS_VALID_INTERRUPT, TWL_HIMASK_REG_ADDR(tw_dev)))202 (writel(~0, TWL_HOBDBC_REG_ADDR(tw_dev)))204 (writel(TWL_ISSUE_SOFT_RESET, TWL_HIBDB_REG_ADDR(tw_dev)))