Lines Matching refs:fw_ohci
101 struct fw_ohci *ohci;
131 struct fw_ohci *ohci;
191 struct fw_ohci { struct
247 static inline struct fw_ohci *fw_ohci(struct fw_card *card) in fw_ohci() argument
249 return container_of(card, struct fw_ohci, card); in fw_ohci()
379 static void log_irqs(struct fw_ohci *ohci, u32 evt) in log_irqs()
428 static void log_selfids(struct fw_ohci *ohci, int generation, int self_id_count) in log_selfids()
484 static void log_ar_at_event(struct fw_ohci *ohci, in log_ar_at_event()
540 static inline void reg_write(const struct fw_ohci *ohci, int offset, u32 data) in reg_write()
545 static inline u32 reg_read(const struct fw_ohci *ohci, int offset) in reg_read()
550 static inline void flush_writes(const struct fw_ohci *ohci) in flush_writes()
562 static int read_phy_reg(struct fw_ohci *ohci, int addr) in read_phy_reg()
589 static int write_phy_reg(const struct fw_ohci *ohci, int addr, u32 val) in write_phy_reg()
612 static int update_phy_reg(struct fw_ohci *ohci, int addr, in update_phy_reg()
629 static int read_paged_phy_reg(struct fw_ohci *ohci, int page, int addr) in read_paged_phy_reg()
642 struct fw_ohci *ohci = fw_ohci(card); in ohci_read_phy_reg()
655 struct fw_ohci *ohci = fw_ohci(card); in ohci_update_phy_reg()
705 struct fw_ohci *ohci = ctx->ohci; in ar_context_abort()
815 struct fw_ohci *ohci = ctx->ohci; in handle_ar_packet()
985 static int ar_context_init(struct ar_context *ctx, struct fw_ohci *ohci, in ar_context_init()
1143 static int context_init(struct context *ctx, struct fw_ohci *ohci, in context_init()
1221 struct fw_ohci *ohci = ctx->ohci; in context_run()
1269 struct fw_ohci *ohci = ctx->ohci; in context_stop()
1300 struct fw_ohci *ohci = ctx->ohci; in at_context_queue_packet()
1444 struct fw_ohci *ohci = context->ohci; in handle_at_packet()
1525 static void handle_local_rom(struct fw_ohci *ohci, in handle_local_rom()
1552 static void handle_local_lock(struct fw_ohci *ohci, in handle_local_lock()
1661 static void detect_dead_context(struct fw_ohci *ohci, in detect_dead_context()
1672 static void handle_dead_contexts(struct fw_ohci *ohci) in handle_dead_contexts()
1722 static u32 get_cycle_time(struct fw_ohci *ohci) in get_cycle_time()
1758 static u32 update_bus_time(struct fw_ohci *ohci) in update_bus_time()
1775 static int get_status_for_port(struct fw_ohci *ohci, int port_index) in get_status_for_port()
1796 static int get_self_id_pos(struct fw_ohci *ohci, u32 self_id, in get_self_id_pos()
1812 static int initiated_reset(struct fw_ohci *ohci) in initiated_reset()
1842 static int find_and_insert_self_id(struct fw_ohci *ohci, int self_id_count) in find_and_insert_self_id()
1888 struct fw_ohci *ohci = in bus_reset_work()
1889 container_of(work, struct fw_ohci, bus_reset_work); in bus_reset_work()
2073 struct fw_ohci *ohci = data; in irq_handler()
2172 static int software_reset(struct fw_ohci *ohci) in software_reset()
2201 static int configure_1394a_enhancements(struct fw_ohci *ohci) in configure_1394a_enhancements()
2252 static int probe_tsb41ba3d(struct fw_ohci *ohci) in probe_tsb41ba3d()
2277 struct fw_ohci *ohci = fw_ohci(card); in ohci_enable()
2454 struct fw_ohci *ohci; in ohci_set_config_rom()
2458 ohci = fw_ohci(card); in ohci_set_config_rom()
2541 struct fw_ohci *ohci = fw_ohci(card); in ohci_send_request()
2548 struct fw_ohci *ohci = fw_ohci(card); in ohci_send_response()
2555 struct fw_ohci *ohci = fw_ohci(card); in ohci_cancel_packet()
2583 struct fw_ohci *ohci = fw_ohci(card); in ohci_enable_phys_dma()
2622 struct fw_ohci *ohci = fw_ohci(card); in ohci_read_csr()
2673 struct fw_ohci *ohci = fw_ohci(card); in ohci_write_csr()
2929 static void set_multichannel_mask(struct fw_ohci *ohci, u64 channels) in set_multichannel_mask()
2944 struct fw_ohci *ohci = fw_ohci(card); in ohci_allocate_iso_context()
3043 struct fw_ohci *ohci = ctx->context.ohci; in ohci_start_iso()
3091 struct fw_ohci *ohci = fw_ohci(base->card); in ohci_stop_iso()
3116 struct fw_ohci *ohci = fw_ohci(base->card); in ohci_free_iso_context()
3153 struct fw_ohci *ohci = fw_ohci(base->card); in ohci_set_iso_channels()
3182 static void ohci_resume_iso_dma(struct fw_ohci *ohci) in ohci_resume_iso_dma()
3563 struct fw_ohci *ohci; in pci_probe()
3760 struct fw_ohci *ohci = pci_get_drvdata(dev); in pci_remove()
3808 struct fw_ohci *ohci = pci_get_drvdata(dev); in pci_suspend()
3827 struct fw_ohci *ohci = pci_get_drvdata(dev); in pci_resume()