Searched refs:hpsb_host (Results 1 - 25 of 28) sorted by relevance

12

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/ieee1394/
H A Dconfig_roms.h4 struct hpsb_host;
6 int hpsb_default_host_entry(struct hpsb_host *host);
15 int hpsb_config_rom_ip1394_add(struct hpsb_host *host);
16 void hpsb_config_rom_ip1394_remove(struct hpsb_host *host);
H A Dhighlevel.h12 struct hpsb_host;
19 struct hpsb_host *host;
35 void (*add_host)(struct hpsb_host *host);
39 void (*remove_host)(struct hpsb_host *host);
44 void (*host_reset)(struct hpsb_host *host);
50 void (*iso_receive)(struct hpsb_host *host, int channel,
56 void (*fcp_request)(struct hpsb_host *host, int nodeid, int direction,
84 int (*read)(struct hpsb_host *host, int nodeid, quadlet_t *buffer,
86 int (*write)(struct hpsb_host *host, int nodeid, int destid,
91 int (*lock)(struct hpsb_host *hos
[all...]
H A Dieee1394_transactions.h9 struct hpsb_host;
13 struct hpsb_packet *hpsb_make_readpacket(struct hpsb_host *host, nodeid_t node,
15 struct hpsb_packet *hpsb_make_lockpacket(struct hpsb_host *host, nodeid_t node,
18 struct hpsb_packet *hpsb_make_lock64packet(struct hpsb_host *host,
21 struct hpsb_packet *hpsb_make_phypacket(struct hpsb_host *host, quadlet_t data);
22 struct hpsb_packet *hpsb_make_isopacket(struct hpsb_host *host, int length,
24 struct hpsb_packet *hpsb_make_writepacket(struct hpsb_host *host,
27 struct hpsb_packet *hpsb_make_streampacket(struct hpsb_host *host, u8 *buffer,
31 int hpsb_read(struct hpsb_host *host, nodeid_t node, unsigned int generation,
33 int hpsb_write(struct hpsb_host *hos
[all...]
H A Dhosts.h20 struct hpsb_host { struct
158 void (*set_hw_config_rom)(struct hpsb_host *host,
169 int (*transmit_packet)(struct hpsb_host *host,
176 int (*devctl)(struct hpsb_host *host, enum devctl_cmd command, int arg);
192 quadlet_t (*hw_csr_reg) (struct hpsb_host *host, int reg,
196 struct hpsb_host *hpsb_alloc_host(struct hpsb_host_driver *drv, size_t extra,
198 int hpsb_add_host(struct hpsb_host *host);
199 void hpsb_resume_host(struct hpsb_host *host);
200 void hpsb_remove_host(struct hpsb_host *host);
201 int hpsb_update_config_rom_image(struct hpsb_host *hos
[all...]
H A Dieee1394_core.h51 struct hpsb_host *host;
90 static inline unsigned int get_hpsb_generation(struct hpsb_host *host)
95 int hpsb_send_phy_config(struct hpsb_host *host, int rootid, int gapcnt);
98 int hpsb_reset_bus(struct hpsb_host *host, int type);
99 int hpsb_read_cycle_timer(struct hpsb_host *host, u32 *cycle_timer,
102 int hpsb_bus_reset(struct hpsb_host *host);
103 void hpsb_selfid_received(struct hpsb_host *host, quadlet_t sid);
104 void hpsb_selfid_complete(struct hpsb_host *host, int phyid, int isroot);
105 void hpsb_packet_sent(struct hpsb_host *host, struct hpsb_packet *packet,
107 void hpsb_packet_received(struct hpsb_host *hos
[all...]
H A Dhosts.c35 struct hpsb_host *host =
36 container_of(work, struct hpsb_host, delayed_reset.work);
64 static int dummy_transmit_packet(struct hpsb_host *h, struct hpsb_packet *p)
69 static int dummy_devctl(struct hpsb_host *h, enum devctl_cmd c, int arg)
86 static int alloc_hostnum_cb(struct hpsb_host *host, void *__data)
103 * Allocate a &hpsb_host and initialize the general subsystem specific
110 * Return Value: a pointer to the &hpsb_host if successful, %NULL if
113 struct hpsb_host *hpsb_alloc_host(struct hpsb_host_driver *drv, size_t extra,
116 struct hpsb_host *h;
178 int hpsb_add_host(struct hpsb_host *hos
[all...]
H A Dhighlevel.c34 struct hpsb_host *host;
55 struct hpsb_host *host)
79 void *hpsb_get_hostinfo(struct hpsb_highlevel *hl, struct hpsb_host *host)
93 void *hpsb_create_hostinfo(struct hpsb_highlevel *hl, struct hpsb_host *host,
131 int hpsb_set_hostinfo(struct hpsb_highlevel *hl, struct hpsb_host *host,
155 void hpsb_destroy_hostinfo(struct hpsb_highlevel *hl, struct hpsb_host *host)
176 void hpsb_set_hostinfo_key(struct hpsb_highlevel *hl, struct hpsb_host *host,
209 static int highlevel_for_each_host_reg(struct hpsb_host *host, void *__data)
256 static void __unregister_host(struct hpsb_highlevel *hl, struct hpsb_host *host,
288 static int highlevel_for_each_host_unreg(struct hpsb_host *hos
[all...]
H A Dnodemgr.h31 struct hpsb_host;
97 struct hpsb_host *host; /* Host this node is attached to */
160 int nodemgr_for_each_host(void *data, int (*cb)(struct hpsb_host *, void *));
H A Diso.h21 struct hpsb_host;
79 struct hpsb_host *host;
150 struct hpsb_iso* hpsb_iso_xmit_init(struct hpsb_host *host,
157 struct hpsb_iso* hpsb_iso_recv_init(struct hpsb_host *host,
H A Draw1394-private.h28 struct hpsb_host *host;
81 struct hpsb_host *host;
H A Dcsr.c44 static void add_host(struct hpsb_host *host);
45 static void remove_host(struct hpsb_host *host);
46 static void host_reset(struct hpsb_host *host);
47 static int read_maps(struct hpsb_host *host, int nodeid, quadlet_t *buffer,
49 static int write_fcp(struct hpsb_host *host, int nodeid, int dest,
51 static int read_regs(struct hpsb_host *host, int nodeid, quadlet_t *buf,
53 static int write_regs(struct hpsb_host *host, int nodeid, int destid,
55 static int lock_regs(struct hpsb_host *host, int nodeid, quadlet_t *store,
57 static int lock64_regs(struct hpsb_host *host, int nodeid, octlet_t * store,
59 static int read_config_rom(struct hpsb_host *hos
[all...]
H A Dcsr.h95 struct hpsb_host;
96 int hpsb_update_config_rom(struct hpsb_host *host, const quadlet_t *new_rom,
H A Dieee1394_transactions.c300 struct hpsb_packet *hpsb_make_readpacket(struct hpsb_host *host, nodeid_t node,
328 struct hpsb_packet *hpsb_make_writepacket(struct hpsb_host *host, nodeid_t node,
363 struct hpsb_packet *hpsb_make_streampacket(struct hpsb_host *host, u8 * buffer,
400 struct hpsb_packet *hpsb_make_lockpacket(struct hpsb_host *host, nodeid_t node,
438 struct hpsb_packet *hpsb_make_lock64packet(struct hpsb_host *host,
480 struct hpsb_packet *hpsb_make_phypacket(struct hpsb_host *host, quadlet_t data)
494 struct hpsb_packet *hpsb_make_isopacket(struct hpsb_host *host,
523 int hpsb_read(struct hpsb_host *host, nodeid_t node, unsigned int generation,
572 int hpsb_write(struct hpsb_host *host, nodeid_t node, unsigned int generation,
H A Dconfig_roms.c37 int hpsb_default_host_entry(struct hpsb_host *host)
134 int hpsb_config_rom_ip1394_add(struct hpsb_host *host)
149 void hpsb_config_rom_ip1394_remove(struct hpsb_host *host)
H A Dieee1394_core.c93 static void abort_requests(struct hpsb_host *host);
182 int hpsb_reset_bus(struct hpsb_host *host, int type)
205 int hpsb_read_cycle_timer(struct hpsb_host *host, u32 *cycle_timer,
240 int hpsb_bus_reset(struct hpsb_host *host)
266 static int check_selfids(struct hpsb_host *host)
335 static void build_speed_map(struct hpsb_host *host, int nodecount)
424 void hpsb_selfid_received(struct hpsb_host *host, quadlet_t sid)
444 void hpsb_selfid_complete(struct hpsb_host *host, int phyid, int isroot)
502 void hpsb_packet_sent(struct hpsb_host *host, struct hpsb_packet *packet,
548 int hpsb_send_phy_config(struct hpsb_host *hos
[all...]
H A Dnodemgr.c38 struct hpsb_host *host;
151 struct hpsb_host *host;
170 put_device(&container_of((class_dev), struct hpsb_host, class_dev)->device);
229 struct hpsb_host *host = container_of(dev, struct hpsb_host, device);
495 fw_attr(host, struct hpsb_host, node_count, int, "%d\n")
496 fw_attr(host, struct hpsb_host, selfid_count, int, "%d\n")
497 fw_attr(host, struct hpsb_host, nodes_active, int, "%d\n")
498 fw_attr(host, struct hpsb_host, in_bus_reset, int, "%d\n")
499 fw_attr(host, struct hpsb_host, is_roo
[all...]
H A Deth1394.c108 struct hpsb_host *host;
175 static int ether1394_write(struct hpsb_host *host, int srcid, int destid,
177 static void ether1394_add_host(struct hpsb_host *host);
178 static void ether1394_remove_host(struct hpsb_host *host);
179 static void ether1394_host_reset(struct hpsb_host *host);
253 struct hpsb_host *host =
260 static inline int ether1394_max_mtu(struct hpsb_host* host)
469 struct hpsb_host *host = priv->host;
566 static void ether1394_add_host(struct hpsb_host *host)
642 static void ether1394_remove_host(struct hpsb_host *hos
[all...]
H A Diso.c48 static struct hpsb_iso *hpsb_iso_common_init(struct hpsb_host *host,
158 struct hpsb_iso *hpsb_iso_xmit_init(struct hpsb_host *host,
193 struct hpsb_iso *hpsb_iso_recv_init(struct hpsb_host *host,
H A Deth1394.h58 struct hpsb_host *host; /* The card for this dev */
H A Dsbp2.c205 static void sbp2_host_reset(struct hpsb_host *);
206 static int sbp2_handle_status_write(struct hpsb_host *, int, int, quadlet_t *,
227 static int sbp2_handle_physdma_write(struct hpsb_host *, int, int, quadlet_t *,
229 static int sbp2_handle_physdma_read(struct hpsb_host *, int, quadlet_t *, u64,
490 struct hpsb_host *host = lu->hi->host;
581 struct hpsb_host *host = lu->ud->ne->host;
803 static void sbp2_host_reset(struct hpsb_host *host)
961 static int sbp2_handle_physdma_write(struct hpsb_host *host, int nodeid,
973 static int sbp2_handle_physdma_read(struct hpsb_host *host, int nodeid,
1719 static int sbp2_handle_status_write(struct hpsb_host *hos
[all...]
H A Dsbp2.h271 struct hpsb_host *host;
H A Draw1394.c82 static int arm_read(struct hpsb_host *host, int nodeid, quadlet_t * buffer,
84 static int arm_write(struct hpsb_host *host, int nodeid, int destid,
86 static int arm_lock(struct hpsb_host *host, int nodeid, quadlet_t * store,
89 static int arm_lock64(struct hpsb_host *host, int nodeid, octlet_t * store,
200 static void add_host(struct hpsb_host *host)
221 static struct host_info *find_host_info(struct hpsb_host *host)
232 static void remove_host(struct hpsb_host *host)
257 static void host_reset(struct hpsb_host *host)
294 static void iso_receive(struct hpsb_host *host, int channel, quadlet_t * data,
355 static void fcp_request(struct hpsb_host *hos
[all...]
H A Dpcilynx.c298 struct hpsb_host *host)
332 static void handle_selfid(struct ti_lynx *lynx, struct hpsb_host *host)
455 static int lynx_transmit(struct hpsb_host *host, struct hpsb_packet *packet)
499 static int lynx_devctl(struct hpsb_host *host, enum devctl_cmd cmd, int arg)
772 struct hpsb_host *host = lynx->host;
1104 struct hpsb_host *host;
H A Dohci1394.h207 struct hpsb_host *host;
H A Dpcilynx.h72 struct hpsb_host *host;

Completed in 133 milliseconds

12