• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/rapidio/

Lines Matching defs:mport

628  * @mport: Master port to send transaction
643 rio_route_add_entry(struct rio_mport *mport, struct rio_switch *rswitch,
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,
687 rc = rio_lock_device(mport, rswitch->destid,
693 rc = rswitch->get_entry(mport, rswitch->destid,
697 rio_unlock_device(mport, rswitch->destid, rswitch->hopcount);
722 * @mport: Master port to send transaction
729 rio_get_swpinfo_inport(struct rio_mport *mport, u16 destid, u8 hopcount)
733 rio_mport_read_config_32(mport, destid, hopcount, RIO_SWP_INFO_CAR,
741 * @mport: Master port to send transaction
747 static u8 rio_get_swpinfo_tports(struct rio_mport *mport, u16 destid,
752 rio_mport_read_config_32(mport, destid, hopcount, RIO_SWP_INFO_CAR,
1153 * @mport: Master port to send transactions
1160 int __devinit rio_enum_mport(struct rio_mport *mport)
1165 printk(KERN_INFO "RIO: enumerate master port %d, %s\n", mport->id,
1166 mport->name);
1168 if (rio_enum_host(mport) < 0) {
1171 mport->id);
1177 if (rio_mport_is_active(mport)) {
1178 if (!(net = rio_alloc_net(mport))) {
1185 rio_enable_rx_tx_port(mport, 1, 0, 0, 0);
1187 if (rio_enum_peer(net, mport, 0) < 0) {
1191 mport->id);
1192 rio_clear_locks(mport);
1196 rio_update_route_tables(mport);
1197 rio_clear_locks(mport);
1198 rio_pw_enable(mport, 1);
1201 mport->id);
1257 * @mport: Master port to send transactions
1265 int __devinit rio_disc_mport(struct rio_mport *mport)
1270 printk(KERN_INFO "RIO: discover master port %d, %s\n", mport->id,
1271 mport->name);
1274 if (rio_mport_is_active(mport)) {
1275 if (!(net = rio_alloc_net(mport))) {
1286 while (!rio_enum_complete(mport)) {
1298 rio_local_read_config_32(mport, RIO_DID_CSR,
1299 &mport->host_deviceid);
1300 mport->host_deviceid = RIO_GET_DID(mport->sys_size,
1301 mport->host_deviceid);
1303 if (rio_disc_peer(net, mport, RIO_ANY_DESTID(mport->sys_size),
1307 mport->id);