Searched defs:destid (Results 1 - 10 of 10) sorted by relevance

/drivers/rapidio/switches/
H A Dtsi500.c23 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);
H A Didtcps.c24 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument
33 rio_mport_write_config_32(mport, destid, hopcount,
36 rio_mport_read_config_32(mport, destid, hopcount,
40 rio_mport_write_config_32(mport, destid, hopcount,
48 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument
54 rio_mport_write_config_32(mport, destid, hopcount,
57 rio_mport_read_config_32(mport, destid, hopcount,
71 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, argument
78 rio_mport_write_config_32(mport, destid, hopcount,
80 rio_mport_write_config_32(mport, destid, hopcoun
93 idtcps_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 sw_domain) argument
105 idtcps_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 *sw_domain) argument
[all...]
H A Dtsi568.c36 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, destid, hopcoun
85 tsi568_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table) argument
[all...]
H A Dtsi57x.c45 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, u16 destid, u 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
[all...]
H A Didt_gen2.c88 idtg2_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument
102 rio_mport_write_config_32(mport, destid, hopcount,
108 rio_mport_write_config_32(mport, destid, hopcount,
112 rio_mport_write_config_32(mport, destid, hopcount,
121 idtg2_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument
134 rio_mport_write_config_32(mport, destid, hopcount,
137 rio_mport_write_config_32(mport, destid, hopcount,
141 rio_mport_read_config_32(mport, destid, hopcount,
153 idtg2_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, argument
166 rio_mport_write_config_32(mport, destid, hopcoun
185 idtg2_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 sw_domain) argument
197 idtg2_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 *sw_domain) argument
[all...]
/drivers/rapidio/
H A Drio-access.c104 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \
111 res = mport->ops->cread(mport, mport->id, destid, hopcount, offset, len, &data); \
128 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type value) \
134 res = mport->ops->cwrite(mport, mport->id, destid, hopcount, offset, len, value); \
157 * @destid: RIO device destination ID
163 int rio_mport_send_doorbell(struct rio_mport *mport, u16 destid, u16 data) argument
169 res = mport->ops->dsend(mport, mport->id, destid, data);
H A Drio-scan.c66 * @destid: Destination ID of device
72 static u16 rio_get_device_id(struct rio_mport *port, u16 destid, u8 hopcount) argument
76 rio_mport_read_config_32(port, destid, hopcount, RIO_DID_CSR, &result);
84 * @destid: Destination ID of device
90 static void rio_set_device_id(struct rio_mport *port, u16 destid, u8 hopcount, u16 did) argument
92 rio_mport_write_config_32(port, destid, hopcount, RIO_DID_CSR,
177 /* Set master port destid and init destid ctr */
302 * @destid: Destination ID of the device to check host bit
310 int local, u16 destid,
309 rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid, u8 hopcount, u8 port_num) argument
372 rio_setup_device(struct rio_net *net, struct rio_mport *port, u16 destid, u8 hopcount, int do_enum) argument
539 rio_sport_is_active(struct rio_mport *port, u16 destid, u8 hopcount, int sport) argument
579 rio_lock_device(struct rio_mport *port, u16 destid, u8 hopcount, int wait_ms) argument
622 rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount) argument
755 u16 destid; local
952 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, u8 hopcount, struct rio_dev *prev, int prev_port) argument
1085 u16 destid; local
[all...]
H A Drio.c405 * @destid: Destination ID of the device
410 u16 destid, u8 hopcount)
415 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, hopcount, 0);
422 rio_mport_read_config_32(port, destid, hopcount,
442 ext_ftr_ptr = rio_mport_get_efb(port, local, destid,
533 p_port = prev->rswitch->route_table[rdev->destid];
550 * @destid: Device destination ID in network
554 rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid, u8 hopcount) argument
559 while (rio_mport_read_config_32(mport, destid, hopcount,
577 rdev->destid, rde
409 rio_mport_get_physefb(struct rio_mport *port, int local, u16 destid, u8 hopcount) argument
878 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid, u8 hopcount, u32 from) argument
928 rio_mport_get_feature(struct rio_mport * port, int local, u16 destid, u8 hopcount, int ftr) argument
1030 rio_std_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument
1057 rio_std_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument
1082 rio_std_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table) argument
[all...]
/drivers/net/
H A Drionet.c176 u16 destid; local
200 destid = RIONET_GET_DESTID(eth->h_dest);
201 if (rionet_active[destid])
202 rionet_queue_tx_msg(skb, ndev, rionet_active[destid]);
223 if (peer->rdev->destid == sid)
358 if (rionet_active[peer->rdev->destid]) {
360 rionet_active[peer->rdev->destid] = NULL;
/drivers/rapidio/devices/
H A Dtsi721.c97 * @destid: Destination ID of transaction
108 u16 destid, u8 hopcount, u32 offset, int len,
125 bd_ptr[0].type_id = cpu_to_le32((DTYPE2 << 29) | (op << 19) | destid);
163 dev_dbg(&priv->pdev->dev, "OP=%d : destid=%x hc=%x off=%x\n",
164 do_wr ? MAINT_WR : MAINT_RD, destid, hopcount, offset);
199 * @destid: Destination ID of transaction
208 static int tsi721_cread_dma(struct rio_mport *mport, int index, u16 destid, argument
213 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount,
222 * @destid: Destination ID of transaction
231 static int tsi721_cwrite_dma(struct rio_mport *mport, int index, u16 destid, argument
107 tsi721_maint_dma(struct tsi721_device *priv, u32 sys_size, u16 destid, u8 hopcount, u32 offset, int len, u32 *data, int do_wr) argument
352 tsi721_dsend(struct rio_mport *mport, int index, u16 destid, u16 data) argument
[all...]

Completed in 98 milliseconds