/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/rapidio/switches/ |
H A D | tsi57x.c | 45 tsi57x_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument 49 rio_mport_write_config_32(mport, destid, hopcount, 51 rio_mport_write_config_32(mport, destid, hopcount, 54 rio_mport_write_config_32(mport, destid, hopcount, 56 rio_mport_write_config_32(mport, destid, hopcount, 66 tsi57x_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument 75 rio_mport_read_config_32(mport, destid, hopcount, 80 rio_mport_write_config_32(mport, destid, hopcount, 82 rio_mport_read_config_32(mport, destid, hopcount, 93 tsi57x_route_clr_table(struct rio_mport *mport, u1 argument 120 tsi57x_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 sw_domain) argument 142 tsi57x_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 *sw_domain) argument 161 struct rio_mport *mport = rdev->net->hport; local 214 struct rio_mport *mport = rdev->net->hport; local [all...] |
H A D | idtcps.c | 24 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument 30 rio_mport_write_config_32(mport, destid, hopcount, 33 rio_mport_read_config_32(mport, destid, hopcount, 37 rio_mport_write_config_32(mport, destid, hopcount, 45 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument 51 rio_mport_write_config_32(mport, destid, hopcount, 54 rio_mport_read_config_32(mport, destid, hopcount, 68 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, argument 75 rio_mport_write_config_32(mport, destid, hopcount, 77 rio_mport_write_config_32(mport, desti 90 idtcps_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 sw_domain) argument 102 idtcps_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 *sw_domain) argument [all...] |
H A D | tsi568.c | 36 tsi568_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument 40 rio_mport_write_config_32(mport, destid, hopcount, 42 rio_mport_write_config_32(mport, destid, hopcount, 45 rio_mport_write_config_32(mport, destid, hopcount, 48 rio_mport_write_config_32(mport, destid, hopcount, 58 tsi568_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument 65 rio_mport_write_config_32(mport, destid, hopcount, 67 rio_mport_read_config_32(mport, destid, hopcount, 70 rio_mport_write_config_32(mport, destid, hopcount, 73 rio_mport_read_config_32(mport, desti 85 tsi568_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table) argument 116 struct rio_mport *mport = rdev->net->hport; local [all...] |
H A D | tsi500.c | 23 tsi500_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument 30 rio_mport_read_config_32(mport, destid, hopcount, offset, &result); 33 rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*i), result | (route_port << (4*(route_destid & 0x7)))); 36 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result); 38 rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*table), result | (route_port << (4*(route_destid & 0x7)))); 45 tsi500_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument 52 rio_mport_read_config_32(mport, destid, hopcount, offset, &result); 54 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/rapidio/ |
H A D | rio-access.c | 44 (struct rio_mport *mport, u32 offset, type *value) \ 51 res = mport->ops->lcread(mport, mport->id, offset, len, &data); \ 68 (struct rio_mport *mport, u32 offset, type value) \ 74 res = mport->ops->lcwrite(mport, mport->id, offset, len, value);\ 104 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \ 111 res = mport 163 rio_mport_send_doorbell(struct rio_mport *mport, u16 destid, u16 data) argument [all...] |
H A D | rio.h | 19 extern u32 rio_mport_get_feature(struct rio_mport *mport, int local, u16 destid, 26 extern int rio_enum_mport(struct rio_mport *mport); 27 extern int rio_disc_mport(struct rio_mport *mport); 28 extern int rio_std_route_add_entry(struct rio_mport *mport, u16 destid, 31 extern int rio_std_route_get_entry(struct rio_mport *mport, u16 destid, 34 extern int rio_std_route_clr_table(struct rio_mport *mport, u16 destid,
|
H A D | rio.c | 55 * @mport: RIO master port from which to allocate the mailbox resource 64 int rio_request_inb_mbox(struct rio_mport *mport, argument 68 void (*minb) (struct rio_mport * mport, void *dev_id, int mbox, 80 request_resource(&mport->riores[RIO_INB_MBOX_RESOURCE], 86 mport->inb_msg[mbox].res = res; 89 mport->inb_msg[mbox].mcback = minb; 91 rc = rio_open_inb_mbox(mport, dev_id, mbox, entries); 101 * @mport: RIO master port from which to release the mailbox resource 107 int rio_release_inb_mbox(struct rio_mport *mport, int mbox) argument 109 rio_close_inb_mbox(mport, mbo 126 rio_request_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries, void (*moutb) (struct rio_mport * mport, void *dev_id, int mbox, int slot)) argument 168 rio_release_outb_mbox(struct rio_mport *mport, int mbox) argument 188 rio_setup_inb_dbell(struct rio_mport *mport, void *dev_id, struct resource *res, void (*dinb) (struct rio_mport * mport, void *dev_id, u16 src, u16 dst, u16 info)) argument 222 rio_request_inb_dbell(struct rio_mport *mport, void *dev_id, u16 start, u16 end, void (*dinb) (struct rio_mport * mport, void *dev_id, u16 src, u16 dst, u16 info)) argument 263 rio_release_inb_dbell(struct rio_mport *mport, u16 start, u16 end) argument 507 struct rio_mport *mport; local 793 rio_std_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument 820 rio_std_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument 845 rio_std_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table) argument [all...] |
H A D | rio-scan.c | 628 * @mport: Master port to send transaction 643 rio_route_add_entry(struct rio_mport *mport, struct rio_switch *rswitch, argument 649 rc = rio_lock_device(mport, rswitch->destid, 655 rc = rswitch->add_entry(mport, rswitch->destid, 659 rio_unlock_device(mport, rswitch->destid, rswitch->hopcount); 666 * @mport: Master port to send transaction 681 rio_route_get_entry(struct rio_mport *mport, struct rio_switch *rswitch, u16 table, argument 687 rc = rio_lock_device(mport, rswitch->destid, 693 rc = rswitch->get_entry(mport, rswitch->destid, 697 rio_unlock_device(mport, rswitc 729 rio_get_swpinfo_inport(struct rio_mport *mport, u16 destid, u8 hopcount) argument 747 rio_get_swpinfo_tports(struct rio_mport *mport, u16 destid, u8 hopcount) argument 1160 rio_enum_mport(struct rio_mport *mport) argument 1265 rio_disc_mport(struct rio_mport *mport) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | rio.h | 140 void (*mcback) (struct rio_mport * mport, void *dev_id, int mbox, int slot); 153 void (*dinb) (struct rio_mport *mport, void *dev_id, u16 src, u16 dst, u16 info); 241 int (*add_entry) (struct rio_mport * mport, u16 destid, u8 hopcount, 243 int (*get_entry) (struct rio_mport * mport, u16 destid, u8 hopcount, 245 int (*clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount, 247 int (*set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount, 249 int (*get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount, 267 int (*lcread) (struct rio_mport *mport, int index, u32 offset, int len, 269 int (*lcwrite) (struct rio_mport *mport, int index, u32 offset, int len, 271 int (*cread) (struct rio_mport *mport, in [all...] |
H A D | rio_drv.h | 283 extern int rio_mport_send_doorbell(struct rio_mport *mport, u16 destid, 355 * @mport: RIO master port containing the outbound queue 364 static inline int rio_add_outb_message(struct rio_mport *mport, argument 368 return rio_hw_add_outb_message(mport, rdev, mbox, buffer, len); 377 * @mport: Master port containing the inbound mailbox 384 static inline int rio_add_inb_buffer(struct rio_mport *mport, int mbox, argument 387 return rio_hw_add_inb_buffer(mport, mbox, buffer); 392 * @mport: Master port containing the inbound mailbox 397 static inline void *rio_get_inb_message(struct rio_mport *mport, int mbox) argument 399 return rio_hw_get_inb_message(mport, mbo [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/sysdev/ |
H A D | fsl_rio.c | 277 * @mport: RapidIO master port info 285 static int fsl_rio_doorbell_send(struct rio_mport *mport, argument 288 struct rio_priv *priv = mport->priv; 291 switch (mport->phy_type) { 313 * @mport: RapidIO master port info 322 static int fsl_local_config_read(struct rio_mport *mport, argument 325 struct rio_priv *priv = mport->priv; 335 * @mport: RapidIO master port info 344 static int fsl_local_config_write(struct rio_mport *mport, argument 347 struct rio_priv *priv = mport 370 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, u8 hopcount, u32 offset, int len, u32 *val) argument 429 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, u8 hopcount, u32 offset, int len, u32 val) argument 477 rio_hw_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, void *buffer, size_t len) argument 594 rio_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) argument 697 rio_close_outb_mbox(struct rio_mport *mport, int mbox) argument 763 rio_open_inb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) argument 834 rio_close_inb_mbox(struct rio_mport *mport, int mbox) argument 857 rio_hw_add_inb_buffer(struct rio_mport *mport, int mbox, void *buf) argument 891 rio_hw_get_inb_message(struct rio_mport *mport, int mbox) argument 1000 fsl_rio_doorbell_init(struct rio_mport *mport) argument 1173 fsl_rio_pw_enable(struct rio_mport *mport, int enable) argument 1198 fsl_rio_port_write_init(struct rio_mport *mport) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | rionet.c | 54 struct rio_mport *mport; member in struct:rionet_private 107 if (!(data = rio_get_inb_message(rnet->mport, RIONET_MAILBOX))) 140 rio_add_inb_buffer(rnet->mport, RIONET_MAILBOX, 152 rio_add_outb_message(rnet->mport, rdev, 0, skb->data, skb->len); 194 for (i = 0; i < RIO_MAX_ROUTE_ENTRIES(rnet->mport->sys_size); 210 static void rionet_dbell_event(struct rio_mport *mport, void *dev_id, u16 sid, u16 tid, argument 226 rio_mport_send_doorbell(mport, sid, 238 static void rionet_inb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) argument 254 static void rionet_outb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) argument 291 if ((rc = rio_request_inb_dbell(rnet->mport, 436 rionet_setup_netdev(struct rio_mport *mport) argument [all...] |