Searched refs:mport (Results 1 - 9 of 9) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rapidio/switches/
H A Dtsi500.c19 tsi500_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument
26 rio_mport_read_config_32(mport, destid, hopcount, offset, &result);
29 rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*i), result | (route_port << (4*(route_destid & 0x7))));
32 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result);
34 rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*table), result | (route_port << (4*(route_destid & 0x7))));
41 tsi500_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument
48 rio_mport_read_config_32(mport, destid, hopcount, offset, &result);
50 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rapidio/
H A Drio-access.c44 (struct rio_mport *mport, u32 offset, type *value) \
51 res = mport->ops->lcread(mport->id, offset, len, &data); \
68 (struct rio_mport *mport, u32 offset, type value) \
74 res = mport->ops->lcwrite(mport->id, offset, len, value); \
104 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \
111 res = mport->ops->cread(mport->id, destid, hopcount, offset, len, &data); \
128 (struct rio_mport *mport, u1
163 rio_mport_send_doorbell(struct rio_mport *mport, u16 destid, u16 data) argument
[all...]
H A Drio.c50 * @mport: RIO master port from which to allocate the mailbox resource
59 int rio_request_inb_mbox(struct rio_mport *mport, argument
63 void (*minb) (struct rio_mport * mport, void *dev_id, int mbox,
75 request_resource(&mport->riores[RIO_INB_MBOX_RESOURCE],
81 mport->inb_msg[mbox].res = res;
84 mport->inb_msg[mbox].mcback = minb;
86 rc = rio_open_inb_mbox(mport, dev_id, mbox, entries);
96 * @mport: RIO master port from which to release the mailbox resource
102 int rio_release_inb_mbox(struct rio_mport *mport, int mbox) argument
104 rio_close_inb_mbox(mport, mbo
121 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
163 rio_release_outb_mbox(struct rio_mport *mport, int mbox) argument
183 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
217 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
258 rio_release_inb_dbell(struct rio_mport *mport, u16 start, u16 end) argument
[all...]
H A Drio.h19 extern u32 rio_mport_get_feature(struct rio_mport *mport, int local, u16 destid,
22 extern int rio_enum_mport(struct rio_mport *mport);
23 extern int rio_disc_mport(struct rio_mport *mport);
H A Drio-scan.c427 * @mport: Master port to send transaction
440 static int rio_route_add_entry(struct rio_mport *mport, struct rio_switch *rswitch, argument
443 return rswitch->add_entry(mport, rswitch->destid,
450 * @mport: Master port to send transaction
464 rio_route_get_entry(struct rio_mport *mport, struct rio_switch *rswitch, u16 table, argument
467 return rswitch->get_entry(mport, rswitch->destid,
492 * @mport: Master port to send transaction
499 rio_get_swpinfo_inport(struct rio_mport *mport, u16 destid, u8 hopcount) argument
503 rio_mport_read_config_32(mport, destid, hopcount, RIO_SWP_INFO_CAR,
511 * @mport
517 rio_get_swpinfo_tports(struct rio_mport *mport, u16 destid, u8 hopcount) argument
864 rio_enum_mport(struct rio_mport *mport) argument
955 rio_disc_mport(struct rio_mport *mport) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Drionet.c53 struct rio_mport *mport; member in struct:rionet_private
113 if (!(data = rio_get_inb_message(rnet->mport, RIONET_MAILBOX)))
151 rio_add_inb_buffer(rnet->mport, RIONET_MAILBOX,
163 rio_add_outb_message(rnet->mport, rdev, 0, skb->data, skb->len);
220 static void rionet_dbell_event(struct rio_mport *mport, void *dev_id, u16 sid, u16 tid, argument
236 rio_mport_send_doorbell(mport, sid,
248 static void rionet_inb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) argument
264 static void rionet_outb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) argument
301 if ((rc = rio_request_inb_dbell(rnet->mport,
308 if ((rc = rio_request_inb_mbox(rnet->mport,
436 rionet_setup_netdev(struct rio_mport *mport) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Drio.h135 void (*mcback) (struct rio_mport * mport, void *dev_id, int mbox, int slot);
148 void (*dinb) (struct rio_mport *mport, void *dev_id, u16 src, u16 dst, u16 info);
215 int (*add_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,
217 int (*get_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,
306 int (*add_hook) (struct rio_mport * mport, u16 destid, u8 hopcount,
308 int (*get_hook) (struct rio_mport * mport, u16 destid, u8 hopcount,
H A Drio_drv.h285 extern int rio_mport_send_doorbell(struct rio_mport *mport, u16 destid,
357 * @mport: RIO master port containing the outbound queue
366 static inline int rio_add_outb_message(struct rio_mport *mport, argument
370 return rio_hw_add_outb_message(mport, rdev, mbox, buffer, len);
379 * @mport: Master port containing the inbound mailbox
386 static inline int rio_add_inb_buffer(struct rio_mport *mport, int mbox, argument
389 return rio_hw_add_inb_buffer(mport, mbox, buffer);
394 * @mport: Master port containing the inbound mailbox
400 static inline void *rio_get_inb_message(struct rio_mport *mport, int mbox) argument
402 return rio_hw_get_inb_message(mport, mbo
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/syslib/
H A Dppc85xx_rio.c286 * @mport: Master port with outbound message queue
296 rio_hw_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, argument
389 * @mport: Master port implementing the outbound message unit
398 int rio_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) argument
456 "msg_tx", (void *)mport)) < 0)
494 * @mport: Master port implementing the outbound message unit
500 void rio_close_outb_mbox(struct rio_mport *mport, int mbox) argument
510 free_irq(MPC85xx_IRQ_RIO_TX, (void *)mport);
554 * @mport: Master port implementing the inbound message unit
563 int rio_open_inb_mbox(struct rio_mport *mport, voi argument
636 rio_close_inb_mbox(struct rio_mport *mport, int mbox) argument
658 rio_hw_add_inb_buffer(struct rio_mport *mport, int mbox, void *buf) argument
691 rio_hw_get_inb_message(struct rio_mport *mport, int mbox) argument
802 mpc85xx_rio_doorbell_init(struct rio_mport *mport) argument
[all...]

Completed in 79 milliseconds