/openbmc/linux/drivers/usb/host/ |
H A D | fhci-hub.c | 85 fhci_stop_sof_timer(fhci); in fhci_port_disable() 111 struct fhci_hcd *fhci = usb->fhci; in fhci_port_enable() local 119 fhci_start_sof_timer(fhci); in fhci_port_enable() 148 struct fhci_hcd *fhci = usb->fhci; in fhci_port_reset() local 154 fhci_stop_sof_timer(fhci); in fhci_port_reset() 163 fhci_io_port_generate_reset(fhci); in fhci_port_reset() 171 fhci_start_sof_timer(fhci); in fhci_port_reset() 231 fhci_port_disable(fhci); in fhci_hub_control() 240 fhci_stop_sof_timer(fhci); in fhci_hub_control() 305 fhci_stop_sof_timer(fhci); in fhci_hub_control() [all …]
|
H A D | fhci-hcd.c | 83 struct fhci_hcd *fhci = usb->fhci; in fhci_usb_enable_interrupt() local 103 struct fhci_hcd *fhci = usb->fhci; in fhci_usb_disable_interrupt() local 188 kfree(fhci->hc_list); in fhci_mem_free() 189 fhci->hc_list = NULL; in fhci_mem_free() 196 fhci->hc_list = kzalloc(sizeof(*fhci->hc_list), GFP_KERNEL); in fhci_mem_init() 197 if (!fhci->hc_list) in fhci_mem_init() 206 fhci->vroot_hub = kzalloc(sizeof(*fhci->vroot_hub), GFP_KERNEL); in fhci_mem_init() 237 fhci_mem_free(fhci); in fhci_mem_init() 248 fhci = usb->fhci; in fhci_usb_free() 313 usb->fhci = fhci; in fhci_create_lld() [all …]
|
H A D | fhci-sched.c | 337 struct fhci_hcd *fhci = usb->fhci; in rotate_frames() local 434 fhci_stop_sof_timer(fhci); in fhci_device_disconnected_interrupt() 510 spin_lock(&fhci->lock); in fhci_frame_limit_timer_irq() 521 spin_unlock(&fhci->lock); in fhci_frame_limit_timer_irq() 551 usb = fhci->usb_lld; in fhci_irq() 586 sof_interrupt(fhci); in fhci_irq() 612 fhci_dbg_isr(fhci, -1); in fhci_irq() 641 spin_lock(&fhci->lock); in process_done_list() 675 spin_unlock(&fhci->lock); in process_done_list() 739 get_frame_num(fhci); in fhci_queue_urb() [all …]
|
H A D | fhci-dbg.c | 27 fhci->usb_irq_stat[12]++; in fhci_dbg_isr() 33 fhci->usb_irq_stat[i]++; in fhci_dbg_isr() 39 struct fhci_hcd *fhci = s->private; in fhci_dfs_regs_show() local 54 fhci_ioports_check_bus_state(fhci)); in fhci_dfs_regs_show() 62 struct fhci_hcd *fhci = s->private; in fhci_dfs_irq_stat_show() local 63 int *usb_irq_stat = fhci->usb_irq_stat; in fhci_dfs_irq_stat_show() 81 void fhci_dfs_create(struct fhci_hcd *fhci) in fhci_dfs_create() argument 87 debugfs_create_file("regs", S_IFREG | S_IRUGO, fhci->dfs_root, fhci, in fhci_dfs_create() 89 debugfs_create_file("irq_stat", S_IFREG | S_IRUGO, fhci->dfs_root, fhci, in fhci_dfs_create() 93 void fhci_dfs_destroy(struct fhci_hcd *fhci) in fhci_dfs_destroy() argument [all …]
|
H A D | fhci-mem.c | 37 static struct td *get_empty_td(struct fhci_hcd *fhci) in get_empty_td() argument 41 if (!list_empty(&fhci->empty_tds)) { in get_empty_td() 43 list_del(fhci->empty_tds.next); in get_empty_td() 47 fhci_err(fhci, "No memory to allocate to TD\n"); in get_empty_td() 58 list_add(&td->node, &fhci->empty_tds); in fhci_recycle_empty_td() 61 struct ed *fhci_get_empty_ed(struct fhci_hcd *fhci) in fhci_get_empty_ed() argument 65 if (!list_empty(&fhci->empty_eds)) { in fhci_get_empty_ed() 67 list_del(fhci->empty_eds.next); in fhci_get_empty_ed() 71 fhci_err(fhci, "No memory to allocate to ED\n"); in fhci_get_empty_ed() 82 list_add(&ed->node, &fhci->empty_eds); in fhci_recycle_empty_ed() [all …]
|
H A D | fhci.h | 437 u32 (*transfer_confirm)(struct fhci_hcd *fhci); 439 struct fhci_hcd *fhci; member 451 #define fhci_dbg(fhci, fmt, args...) \ argument 453 #define fhci_vdbg(fhci, fmt, args...) \ argument 455 #define fhci_err(fhci, fmt, args...) \ argument 457 #define fhci_info(fhci, fmt, args...) \ argument 459 #define fhci_warn(fhci, fmt, args...) \ argument 507 void fhci_stop_sof_timer(struct fhci_hcd *fhci); 526 void fhci_port_disable(struct fhci_hcd *fhci); 577 void fhci_dfs_destroy(struct fhci_hcd *fhci); [all …]
|
H A D | Makefile | 9 fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o 10 fhci-y += fhci-mem.o fhci-tds.o fhci-sched.o 12 fhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o 68 obj-$(CONFIG_USB_FHCI_HCD) += fhci.o
|
H A D | fhci-q.c | 157 usb->transfer_confirm(usb->fhci); in fhci_move_td_from_ed_to_done_list() 161 static void free_urb_priv(struct fhci_hcd *fhci, struct urb *urb) in free_urb_priv() argument 169 fhci_recycle_empty_td(fhci, urb_priv->tds[i]); in free_urb_priv() 185 fhci->active_urbs--; in free_urb_priv() 191 free_urb_priv(fhci, urb); in fhci_urb_complete_free() 201 usb_hcd_unlink_urb_from_ep(fhci_to_hcd(fhci), urb); in fhci_urb_complete_free() 203 spin_unlock(&fhci->lock); in fhci_urb_complete_free() 205 usb_hcd_giveback_urb(fhci_to_hcd(fhci), urb, urb->status); in fhci_urb_complete_free() 207 spin_lock(&fhci->lock); in fhci_urb_complete_free() 265 void fhci_del_ed_list(struct fhci_hcd *fhci, struct ed *ed) in fhci_del_ed_list() argument [all …]
|
H A D | fhci-tds.c | 230 fhci_err(usb->fhci, "no memory for the %s\n", err_for); in fhci_create_ep() 248 out_be16(&usb->fhci->regs->usb_usep[0], in fhci_init_ep_registers() 250 out_be16(&usb->fhci->pram->ep_ptr[0], in fhci_init_ep_registers() 320 fhci_err(usb->fhci, "no frame to confirm\n"); in fhci_td_transaction_confirm() 335 fhci_err(usb->fhci, "illegal error " in fhci_td_transaction_confirm() 346 fhci_err(usb->fhci, "illegal error occurred\n"); in fhci_td_transaction_confirm() 462 out_8(&usb->fhci->regs->usb_uscom, USB_CMD_STR_FIFO); in fhci_host_transaction() 531 mode = in_8(&usb->fhci->regs->usb_usmod); in fhci_flush_actual_frame() 567 out_be16(&usb->fhci->regs->usb_usber, 0xffff); in fhci_flush_actual_frame() 569 out_8(&usb->fhci->regs->usb_usmod, mode | USB_MODE_EN); in fhci_flush_actual_frame() [all …]
|
/openbmc/ |
H A D | opengrok1.0.log | 25214 …essChildren: not file-less due to: /opengrok/data/xref/openbmc/linux/drivers/usb/host/fhci-hcd.c.gz
|
H A D | opengrok2.0.log | 25110 …essChildren: not file-less due to: /opengrok/data/xref/openbmc/linux/drivers/usb/host/fhci-hcd.c.gz
|