Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/firewire/
Dcore.h18 struct fw_card;
30 void fw_err(const struct fw_card *card, const char *fmt, ...);
32 void fw_notice(const struct fw_card *card, const char *fmt, ...);
59 int (*enable)(struct fw_card *card,
62 int (*read_phy_reg)(struct fw_card *card, int address);
63 int (*update_phy_reg)(struct fw_card *card, int address,
71 int (*set_config_rom)(struct fw_card *card,
74 void (*send_request)(struct fw_card *card, struct fw_packet *packet);
75 void (*send_response)(struct fw_card *card, struct fw_packet *packet);
77 int (*cancel_packet)(struct fw_card *card, struct fw_packet *packet);
[all …]
Dcore-card.c41 void func(const struct fw_card *card, const char *fmt, ...) \
103 static void generate_config_rom(struct fw_card *card, __be32 *config_rom) in generate_config_rom()
165 struct fw_card *card; in update_config_roms()
232 static int reset_bus(struct fw_card *card, bool short_reset) in reset_bus()
240 void fw_schedule_bus_reset(struct fw_card *card, bool delayed, bool short_reset) in fw_schedule_bus_reset()
255 struct fw_card *card = container_of(work, struct fw_card, br_work.work); in br_work()
271 static void allocate_broadcast_channel(struct fw_card *card, int generation) in allocate_broadcast_channel()
293 void fw_schedule_bm_work(struct fw_card *card, unsigned long delay) in fw_schedule_bm_work()
302 struct fw_card *card = container_of(work, struct fw_card, bm_work.work); in bm_work()
527 void fw_card_initialize(struct fw_card *card, in fw_card_initialize()
[all …]
Dcore-transaction.c87 struct fw_card *card, int rcode) in close_transaction()
119 int fw_cancel_transaction(struct fw_card *card, in fw_cancel_transaction()
143 struct fw_card *card = t->card; in split_transaction_timeout_callback()
159 struct fw_card *card) in start_split_transaction_timeout()
178 struct fw_card *card, int status) in transmit_complete_callback()
285 static int allocate_tlabel(struct fw_card *card) in allocate_tlabel()
350 void fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, in fw_send_request()
400 static void transaction_callback(struct fw_card *card, int rcode, in transaction_callback()
419 int fw_run_transaction(struct fw_card *card, int tcode, int destination_id, in fw_run_transaction()
442 struct fw_card *card, int status) in transmit_phy_packet_callback()
[all …]
Dcore-iso.c67 int fw_iso_buffer_map_dma(struct fw_iso_buffer *buffer, struct fw_card *card, in fw_iso_buffer_map_dma()
90 int fw_iso_buffer_init(struct fw_iso_buffer *buffer, struct fw_card *card, in fw_iso_buffer_init()
126 struct fw_card *card) in fw_iso_buffer_destroy()
163 struct fw_iso_context *fw_iso_context_create(struct fw_card *card, in fw_iso_context_create()
235 static int manage_bandwidth(struct fw_card *card, int irm_id, int generation, in manage_bandwidth()
273 static int manage_channel(struct fw_card *card, int irm_id, int generation, in manage_channel()
325 static void deallocate_channel(struct fw_card *card, int irm_id, in deallocate_channel()
362 void fw_iso_resource_manage(struct fw_card *card, int generation, in fw_iso_resource_manage()
Dcore-topology.c183 static struct fw_node *build_tree(struct fw_card *card, in build_tree()
321 typedef void (*fw_node_callback_t)(struct fw_card * card,
325 static void for_each_fw_node(struct fw_card *card, struct fw_node *root, in for_each_fw_node()
359 static void report_lost_node(struct fw_card *card, in report_lost_node()
369 static void report_found_node(struct fw_card *card, in report_found_node()
390 void fw_destroy_nodes(struct fw_card *card) in fw_destroy_nodes()
422 static void update_tree(struct fw_card *card, struct fw_node *root) in update_tree()
503 static void update_topology_map(struct fw_card *card, in update_topology_map()
519 void fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation, in fw_core_handle_bus_reset()
Dcore-device.c522 struct fw_card *card = device->card; in read_config_rom()
834 struct fw_card *card = device->card; in fw_device_release()
894 struct fw_card *card = new->card; in lookup_existing_device()
941 struct fw_card *card = device->card; in set_broadcast_channel()
1001 struct fw_card *card = device->card; in fw_device_init()
1146 struct fw_card *card = device->card; in fw_device_refresh()
1216 void fw_node_event(struct fw_card *card, struct fw_node *node, int event) in fw_node_event()
Dcore-cdev.c124 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, in complete_transaction()
678 static void handle_request(struct fw_card *card, struct fw_request *request, in handle_request()
1207 struct fw_card *card = client->device->card; in ioctl_get_cycle_timer2()
1495 struct fw_card *card, int status) in outbound_phy_packet_callback()
1523 struct fw_card *card = client->device->card; in ioctl_send_phy_packet()
1556 struct fw_card *card = client->device->card; in ioctl_receive_phy_packets()
1572 void fw_cdev_handle_phy_packet(struct fw_card *card, struct fw_packet *p) in fw_cdev_handle_phy_packet()
Dohci.c192 struct fw_card card;
247 static inline struct fw_ohci *fw_ohci(struct fw_card *card) in fw_ohci()
640 static int ohci_read_phy_reg(struct fw_card *card, int addr) in ohci_read_phy_reg()
652 static int ohci_update_phy_reg(struct fw_card *card, int addr, in ohci_update_phy_reg()
1178 struct fw_card *card = &ctx->ohci->card; in context_release()
2274 static int ohci_enable(struct fw_card *card, in ohci_enable()
2451 static int ohci_set_config_rom(struct fw_card *card, in ohci_set_config_rom()
2539 static void ohci_send_request(struct fw_card *card, struct fw_packet *packet) in ohci_send_request()
2546 static void ohci_send_response(struct fw_card *card, struct fw_packet *packet) in ohci_send_response()
2553 static int ohci_cancel_packet(struct fw_card *card, struct fw_packet *packet) in ohci_cancel_packet()
[all …]
Dsbp2.c418 static void sbp2_status_write(struct fw_card *card, struct fw_request *request, in sbp2_status_write()
469 static void complete_transaction(struct fw_card *card, int rcode, in complete_transaction()
669 static void complete_agent_reset_write_no_wait(struct fw_card *card, in complete_agent_reset_write_no_wait()
711 struct fw_card *card = target_parent_device(tgt)->card; in sbp2_conditionally_block()
735 struct fw_card *card = target_parent_device(tgt)->card; in sbp2_conditionally_unblock()
Dnet.c167 struct fw_card *card;
697 static void fwnet_receive_packet(struct fw_card *card, struct fw_request *r, in fwnet_receive_packet()
909 static void fwnet_write_complete(struct fw_card *card, int rcode, in fwnet_write_complete()
1387 static struct fwnet_device *fwnet_dev_find(struct fw_card *card) in fwnet_dev_find()
1434 struct fw_card *card = device->card; in fwnet_probe()
/linux-4.4.14/include/linux/
Dfirewire.h82 struct fw_card { struct
138 static inline struct fw_card *fw_card_get(struct fw_card *card) in fw_card_get() argument
147 static inline void fw_card_put(struct fw_card *card) in fw_card_put()
188 struct fw_card *card;
266 struct fw_card *card, int status);
267 typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode,
282 typedef void (*fw_address_callback_t)(struct fw_card *card,
319 struct fw_card *card;
351 void fw_send_response(struct fw_card *card,
354 void fw_send_request(struct fw_card *card, struct fw_transaction *t,
[all …]
/linux-4.4.14/sound/firewire/
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 = fw_parent_device(r->unit)->card; in fw_iso_resources_free()
Dlib.c70 static void async_midi_port_callback(struct fw_card *card, int rcode, in async_midi_port_callback()
Dscs1x.c84 static void scs_write_callback(struct fw_card *card, int rcode, in scs_write_callback()
337 static void handle_hss(struct fw_card *card, struct fw_request *request, in handle_hss()
Dfcp.c334 static void fcp_response(struct fw_card *card, struct fw_request *request, in fcp_response()
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_transaction.c167 handle_resp_for_user(struct fw_card *card, int generation, int source, in handle_resp_for_user()
199 handle_resp_for_kernel(struct fw_card *card, int generation, int source, in handle_resp_for_kernel()
228 efw_response(struct fw_card *card, struct fw_request *request, in efw_response()
/linux-4.4.14/drivers/target/sbp/
Dsbp_target.h146 struct fw_card *card;
236 struct fw_card *card;
Dsbp_target.c64 static int sbp_run_transaction(struct fw_card *, int, int, int, int,
699 static int tgt_agent_rw_agent_state(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_state()
725 static int tgt_agent_rw_agent_reset(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_reset()
741 static int tgt_agent_rw_orb_pointer(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_orb_pointer()
780 static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_doorbell()
810 static int tgt_agent_rw_unsolicited_status_enable(struct fw_card *card, in tgt_agent_rw_unsolicited_status_enable()
827 static void tgt_agent_rw(struct fw_card *card, struct fw_request *request, in tgt_agent_rw()
1069 static int sbp_run_transaction(struct fw_card *card, int tcode, int destination_id, in sbp_run_transaction()
1105 struct fw_card *card; in sbp_run_request_transaction()
1264 struct fw_card *card; in sbp_rw_data()
[all …]
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-transaction.c58 static void handle_message(struct fw_card *card, struct fw_request *request, in handle_message()
/linux-4.4.14/drivers/staging/fwserial/
Dfwserial.c88 typedef void (*fwtty_transaction_cb)(struct fw_card *card, int rcode,
130 static struct fwtty_peer *__fwserial_peer_by_node_id(struct fw_card *card,
227 static void fwtty_common_callback(struct fw_card *card, int rcode, in fwtty_common_callback()
610 static void fwtty_port_handler(struct fw_card *card, in fwtty_port_handler()
679 static void fwtty_tx_complete(struct fw_card *card, int rcode, in fwtty_tx_complete()
1933 static struct fw_serial *fwserial_lookup(struct fw_card *card) in fwserial_lookup()
1951 static struct fw_serial *__fwserial_lookup_rcu(struct fw_card *card) in __fwserial_lookup_rcu()
1975 static struct fwtty_peer *__fwserial_peer_by_node_id(struct fw_card *card, in __fwserial_peer_by_node_id()
2006 static void __dump_peer_list(struct fw_card *card) in __dump_peer_list()
2209 struct fw_card *card = parent->card; in fwserial_create()
[all …]
Dfwserial.h324 struct fw_card *card;
/linux-4.4.14/sound/firewire/tascam/
Dtascam-transaction.c147 static void handle_midi_tx(struct fw_card *card, struct fw_request *request, in handle_midi_tx()
/linux-4.4.14/sound/firewire/dice/
Ddice-transaction.c202 static void dice_notification(struct fw_card *card, struct fw_request *request, in dice_notification()
/linux-4.4.14/drivers/media/firewire/
Dfiredtv-fw.c194 static void handle_fcp(struct fw_card *card, struct fw_request *request, in handle_fcp()