Home
last modified time | relevance | path

Searched refs:fw_card (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/drivers/firewire/
H A Dcore.h19 struct fw_card;
31 void fw_err(const struct fw_card *card, const char *fmt, ...);
33 void fw_notice(const struct fw_card *card, const char *fmt, ...);
60 int (*enable)(struct fw_card *card,
63 int (*read_phy_reg)(struct fw_card *card, int address);
64 int (*update_phy_reg)(struct fw_card *card, int address,
72 int (*set_config_rom)(struct fw_card *card,
75 void (*send_request)(struct fw_card *card, struct fw_packet *packet);
76 void (*send_response)(struct fw_card *card, struct fw_packet *packet);
78 int (*cancel_packet)(struct fw_card *card, struct fw_packet *packet);
[all …]
H A Dcore-card.c28 void func(const struct fw_card *card, const char *fmt, ...) \
90 static void generate_config_rom(struct fw_card *card, __be32 *config_rom) in generate_config_rom()
152 struct fw_card *card; in update_config_roms()
219 static int reset_bus(struct fw_card *card, bool short_reset) in reset_bus()
227 void fw_schedule_bus_reset(struct fw_card *card, bool delayed, bool short_reset) in fw_schedule_bus_reset()
242 struct fw_card *card = container_of(work, struct fw_card, br_work.work); in br_work()
258 static void allocate_broadcast_channel(struct fw_card *card, int generation) in allocate_broadcast_channel()
280 void fw_schedule_bm_work(struct fw_card *card, unsigned long delay) in fw_schedule_bm_work()
289 struct fw_card *card = container_of(work, struct fw_card, bm_work.work); in bm_work()
542 void fw_card_initialize(struct fw_card *card, in fw_card_initialize()
[all …]
H A Dcore-transaction.c73 static int close_transaction(struct fw_transaction *transaction, struct fw_card *card, int rcode, in close_transaction()
112 int fw_cancel_transaction(struct fw_card *card, in fw_cancel_transaction()
148 struct fw_card *card = t->card; in split_transaction_timeout_callback()
169 struct fw_card *card) in start_split_transaction_timeout()
187 static u32 compute_split_timeout_timestamp(struct fw_card *card, u32 request_timestamp);
190 struct fw_card *card, int status) in transmit_complete_callback()
301 static int allocate_tlabel(struct fw_card *card) in allocate_tlabel()
369 void __fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, in __fw_send_request()
430 static void transaction_callback(struct fw_card *card, int rcode, in transaction_callback()
457 int fw_run_transaction(struct fw_card *card, int tcode, int destination_id, in fw_run_transaction()
[all …]
H A Dcore-iso.c54 int fw_iso_buffer_map_dma(struct fw_iso_buffer *buffer, struct fw_card *card, in fw_iso_buffer_map_dma()
77 int fw_iso_buffer_init(struct fw_iso_buffer *buffer, struct fw_card *card, in fw_iso_buffer_init()
95 struct fw_card *card) in fw_iso_buffer_destroy()
132 struct fw_iso_context *fw_iso_context_create(struct fw_card *card, in fw_iso_context_create()
204 static int manage_bandwidth(struct fw_card *card, int irm_id, int generation, in manage_bandwidth()
242 static int manage_channel(struct fw_card *card, int irm_id, int generation, in manage_channel()
294 static void deallocate_channel(struct fw_card *card, int irm_id, in deallocate_channel()
338 void fw_iso_resource_manage(struct fw_card *card, int generation, in fw_iso_resource_manage()
H A Dcore-topology.c171 static struct fw_node *build_tree(struct fw_card *card, in build_tree()
309 typedef void (*fw_node_callback_t)(struct fw_card * card,
313 static void for_each_fw_node(struct fw_card *card, struct fw_node *root, in for_each_fw_node()
347 static void report_lost_node(struct fw_card *card, in report_lost_node()
357 static void report_found_node(struct fw_card *card, in report_found_node()
379 void fw_destroy_nodes(struct fw_card *card) in fw_destroy_nodes()
407 static void update_tree(struct fw_card *card, struct fw_node *root) in update_tree()
488 static void update_topology_map(struct fw_card *card, in update_topology_map()
504 void fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation, in fw_core_handle_bus_reset()
H A Dcore-device.c506 struct fw_card *card = device->card; in read_config_rom()
815 struct fw_card *card = device->card; in fw_device_release()
875 struct fw_card *card = new->card; in lookup_existing_device()
922 struct fw_card *card = device->card; in set_broadcast_channel()
982 struct fw_card *card = device->card; in fw_device_init()
1127 struct fw_card *card = device->card; in fw_device_refresh()
1197 void fw_node_event(struct fw_card *card, struct fw_node *node, int event) in fw_node_event()
H A Dcore-cdev.c113 struct fw_card *card;
354 struct fw_card *card = client->device->card; in fill_bus_reset_event()
548 static void complete_transaction(struct fw_card *card, int rcode, u32 request_tstamp, in complete_transaction()
707 static void handle_request(struct fw_card *card, struct fw_request *request, in handle_request()
1010 static struct fw_iso_context *fw_iso_mc_context_create(struct fw_card *card, in fw_iso_mc_context_create()
1265 struct fw_card *card = client->device->card; in ioctl_get_cycle_timer2()
1554 struct fw_card *card, int status) in outbound_phy_packet_callback()
1619 struct fw_card *card = client->device->card; in ioctl_send_phy_packet()
1666 struct fw_card *card = client->device->card; in ioctl_receive_phy_packets()
1682 void fw_cdev_handle_phy_packet(struct fw_card *card, struct fw_packet *p) in fw_cdev_handle_phy_packet()
H A Dohci.c179 struct fw_card card;
234 static inline struct fw_ohci *fw_ohci(struct fw_card *card) in fw_ohci()
672 static int ohci_read_phy_reg(struct fw_card *card, int addr) in ohci_read_phy_reg()
684 static int ohci_update_phy_reg(struct fw_card *card, int addr, in ohci_update_phy_reg()
1212 struct fw_card *card = &ctx->ohci->card; in context_release()
2327 static int ohci_enable(struct fw_card *card, in ohci_enable()
2503 static int ohci_set_config_rom(struct fw_card *card, in ohci_set_config_rom()
2591 static void ohci_send_request(struct fw_card *card, struct fw_packet *packet) in ohci_send_request()
2598 static void ohci_send_response(struct fw_card *card, struct fw_packet *packet) in ohci_send_response()
2605 static int ohci_cancel_packet(struct fw_card *card, struct fw_packet *packet) in ohci_cancel_packet()
[all …]
H A Dsbp2.c406 static void sbp2_status_write(struct fw_card *card, struct fw_request *request, in sbp2_status_write()
458 static void complete_transaction(struct fw_card *card, int rcode, in complete_transaction()
658 static void complete_agent_reset_write_no_wait(struct fw_card *card, in complete_agent_reset_write_no_wait()
700 struct fw_card *card = target_parent_device(tgt)->card; in sbp2_conditionally_block()
724 struct fw_card *card = target_parent_device(tgt)->card; in sbp2_conditionally_unblock()
H A Dnet.c168 struct fw_card *card;
702 static void fwnet_receive_packet(struct fw_card *card, struct fw_request *r, in fwnet_receive_packet()
923 static void fwnet_write_complete(struct fw_card *card, int rcode, in fwnet_write_complete()
1389 static struct fwnet_device *fwnet_dev_find(struct fw_card *card) in fwnet_dev_find()
1436 struct fw_card *card = device->card; in fwnet_probe()
/openbmc/linux/include/linux/
H A Dfirewire.h83 struct fw_card { struct
139 static inline struct fw_card *fw_card_get(struct fw_card *card) in fw_card_get() argument
148 static inline void fw_card_put(struct fw_card *card) in fw_card_put()
153 int fw_card_read_cycle_time(struct fw_card *card, u32 *cycle_time);
191 struct fw_card *card;
260 struct fw_card *card, int status);
261 typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode,
264 typedef void (*fw_transaction_callback_with_tstamp_t)(struct fw_card *card, int rcode,
284 typedef void (*fw_address_callback_t)(struct fw_card *card,
321 struct fw_card *card;
[all …]
/openbmc/linux/sound/firewire/
H A Diso-resources.c64 static int current_bandwidth_overhead(struct fw_card *card) in current_bandwidth_overhead()
79 static int wait_isoch_resource_delay_after_bus_reset(struct fw_card *card) in wait_isoch_resource_delay_after_bus_reset()
108 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_allocate()
166 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_update()
213 struct fw_card *card; in fw_iso_resources_free()
H A Dfcp.c338 static void fcp_response(struct fw_card *card, struct fw_request *request, in fcp_response()
/openbmc/linux/sound/firewire/fireface/
H A Dff-transaction.c35 static void finish_transmit_midi0_msg(struct fw_card *card, int rcode, in finish_transmit_midi0_msg()
44 static void finish_transmit_midi1_msg(struct fw_card *card, int rcode, in finish_transmit_midi1_msg()
128 static void handle_msg(struct fw_card *card, struct fw_request *request, int tcode, in handle_msg()
179 struct fw_card *fw_card = fw_parent_device(ff->unit)->card; in snd_ff_transaction_reregister() local
187 addr = (fw_card->node_id << 16) | (ff->async_handler.offset >> 32); in snd_ff_transaction_reregister()
/openbmc/linux/sound/firewire/fireworks/
H A Dfireworks_transaction.c165 handle_resp_for_user(struct fw_card *card, int generation, int source, in handle_resp_for_user()
197 handle_resp_for_kernel(struct fw_card *card, int generation, int source, in handle_resp_for_kernel()
226 efw_response(struct fw_card *card, struct fw_request *request, in efw_response()
/openbmc/linux/drivers/target/sbp/
H A Dsbp_target.h147 struct fw_card *card;
237 struct fw_card *card;
H A Dsbp_target.c50 static int sbp_run_transaction(struct fw_card *, int, int, int, int,
668 static int tgt_agent_rw_agent_state(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_state()
694 static int tgt_agent_rw_agent_reset(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_reset()
710 static int tgt_agent_rw_orb_pointer(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_orb_pointer()
749 static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_doorbell()
779 static int tgt_agent_rw_unsolicited_status_enable(struct fw_card *card, in tgt_agent_rw_unsolicited_status_enable()
796 static void tgt_agent_rw(struct fw_card *card, struct fw_request *request, in tgt_agent_rw()
911 struct fw_card *card, u64 next_orb) in sbp_mgt_get_req()
1055 static int sbp_run_transaction(struct fw_card *card, int tcode, int destination_id, in sbp_run_transaction()
1091 struct fw_card *card; in sbp_run_request_transaction()
[all …]
/openbmc/linux/sound/firewire/tascam/
H A Dtascam-transaction.c145 static void async_midi_port_callback(struct fw_card *card, int rcode, in async_midi_port_callback()
245 static void handle_midi_tx(struct fw_card *card, struct fw_request *request, in handle_midi_tx()
/openbmc/linux/sound/firewire/digi00x/
H A Ddigi00x-transaction.c23 static void handle_message(struct fw_card *card, struct fw_request *request, in handle_message()
/openbmc/linux/sound/firewire/oxfw/
H A Doxfw-scs1x.c94 static void handle_hss(struct fw_card *card, struct fw_request *request, in handle_hss()
124 static void scs_write_callback(struct fw_card *card, int rcode, in scs_write_callback()
/openbmc/linux/sound/firewire/motu/
H A Dmotu-transaction.c47 static void handle_message(struct fw_card *card, struct fw_request *request, in handle_message()
/openbmc/linux/sound/firewire/dice/
H A Ddice-transaction.c132 static void dice_notification(struct fw_card *card, struct fw_request *request, in dice_notification()
/openbmc/linux/drivers/media/firewire/
H A Dfiredtv-fw.c195 static void handle_fcp(struct fw_card *card, struct fw_request *request, in handle_fcp()