Changes in uspace/drv/bus/usb/uhci/hc.c [76fbd9a:d57122c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
r76fbd9a rd57122c 72 72 static int hc_debug_checker(void *arg); 73 73 74 74 /*----------------------------------------------------------------------------*/ 75 75 /** Get number of PIO ranges used in IRQ code. 76 76 * @return Number of ranges. … … 80 80 return sizeof(uhci_irq_pio_ranges) / sizeof(irq_pio_range_t); 81 81 } 82 82 /*----------------------------------------------------------------------------*/ 83 83 /** Get number of commands used in IRQ code. 84 84 * @return Number of commands. … … 88 88 return sizeof(uhci_irq_commands) / sizeof(irq_cmd_t); 89 89 } 90 90 /*----------------------------------------------------------------------------*/ 91 91 /** Generate IRQ code. 92 92 * @param[out] ranges PIO ranges buffer. … … 118 118 return EOK; 119 119 } 120 120 /*----------------------------------------------------------------------------*/ 121 121 /** Take action based on the interrupt cause. 122 122 * … … 175 175 } 176 176 } 177 177 /*----------------------------------------------------------------------------*/ 178 178 /** Initialize UHCI hc driver structure 179 179 * … … 235 235 return EOK; 236 236 } 237 237 /*----------------------------------------------------------------------------*/ 238 238 /** Initialize UHCI hc hw resources. 239 239 * … … 277 277 UHCI_CMD_RUN_STOP | UHCI_CMD_MAX_PACKET | UHCI_CMD_CONFIGURE); 278 278 } 279 279 /*----------------------------------------------------------------------------*/ 280 280 /** Initialize UHCI hc memory structures. 281 281 * … … 319 319 return EOK; 320 320 } 321 321 /*----------------------------------------------------------------------------*/ 322 322 /** Initialize UHCI hc transfer lists. 323 323 * … … 381 381 #undef CHECK_RET_CLEAR_RETURN 382 382 } 383 383 /*----------------------------------------------------------------------------*/ 384 384 /** Schedule batch for execution. 385 385 * … … 409 409 return EOK; 410 410 } 411 411 /*----------------------------------------------------------------------------*/ 412 412 /** Polling function, emulates interrupts. 413 413 * … … 432 432 return EOK; 433 433 } 434 434 /*----------------------------------------------------------------------------*/ 435 435 /** Debug function, checks consistency of memory structures. 436 436 *
Note:
See TracChangeset
for help on using the changeset viewer.