Home
last modified time | relevance | path

Searched refs:hopcount (Results 1 – 12 of 12) sorted by relevance

/drivers/rapidio/
Drio-scan.c72 static u16 rio_get_device_id(struct rio_mport *port, u16 destid, u8 hopcount) in rio_get_device_id() argument
76 rio_mport_read_config_32(port, destid, hopcount, RIO_DID_CSR, &result); in rio_get_device_id()
90 static void rio_set_device_id(struct rio_mport *port, u16 destid, u8 hopcount, u16 did) in rio_set_device_id() argument
92 rio_mport_write_config_32(port, destid, hopcount, RIO_DID_CSR, in rio_set_device_id()
311 u8 hopcount, u8 port_num) { in rio_enable_rx_tx_port() argument
320 "%d, port_num = %d)\n", local, destid, hopcount, port_num); in rio_enable_rx_tx_port()
322 ext_ftr_ptr = rio_mport_get_physefb(port, local, destid, hopcount); in rio_enable_rx_tx_port()
329 if (rio_mport_read_config_32(port, destid, hopcount, in rio_enable_rx_tx_port()
348 if (rio_mport_write_config_32(port, destid, hopcount, in rio_enable_rx_tx_port()
374 u8 hopcount, int do_enum) in rio_setup_device() argument
[all …]
Drio.h22 u8 hopcount, int ftr);
24 u16 destid, u8 hopcount);
26 u8 hopcount, u32 from);
28 u8 hopcount);
33 u8 hopcount, u16 table, u16 route_destid,
36 u8 hopcount, u16 table, u16 route_destid,
39 u8 hopcount, u16 table);
Drio.c410 u16 destid, u8 hopcount) in rio_mport_get_physefb() argument
415 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, hopcount, 0); in rio_mport_get_physefb()
422 rio_mport_read_config_32(port, destid, hopcount, in rio_mport_get_physefb()
443 hopcount, ext_ftr_ptr); in rio_mport_get_physefb()
554 rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid, u8 hopcount) in rio_mport_chk_dev_access() argument
559 while (rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_chk_dev_access()
577 rdev->destid, rdev->hopcount); in rio_chk_dev_access()
879 u8 hopcount, u32 from) in rio_mport_get_efb() argument
888 rio_mport_read_config_32(port, destid, hopcount, in rio_mport_get_efb()
895 rio_mport_read_config_32(port, destid, hopcount, in rio_mport_get_efb()
[all …]
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); \
Drio-sysfs.c38 rio_config_attr(hopcount, "0x%02x\n");
101 static DEVICE_ATTR(hopcount, S_IRUGO, hopcount_show, NULL);
/drivers/rapidio/switches/
Dtsi568.c36 tsi568_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi568_route_add_entry() argument
40 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
42 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
45 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
48 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
58 tsi568_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi568_route_get_entry() argument
65 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
67 rio_mport_read_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
70 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
73 rio_mport_read_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
[all …]
Dtsi57x.c45 tsi57x_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_add_entry() argument
49 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
51 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
54 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
56 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
66 tsi57x_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_get_entry() argument
75 rio_mport_read_config_32(mport, destid, hopcount, in tsi57x_route_get_entry()
80 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_get_entry()
82 rio_mport_read_config_32(mport, destid, hopcount, in tsi57x_route_get_entry()
93 tsi57x_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_clr_table() argument
[all …]
Didtcps.c24 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_add_entry() argument
33 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
36 rio_mport_read_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
40 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
48 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_get_entry() argument
54 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_get_entry()
57 rio_mport_read_config_32(mport, destid, hopcount, in idtcps_route_get_entry()
71 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_clr_table() argument
78 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_clr_table()
80 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_clr_table()
[all …]
Didt_gen2.c88 idtg2_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_add_entry() argument
102 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
108 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
112 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
121 idtg2_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_get_entry() argument
134 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
137 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
141 rio_mport_read_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
153 idtg2_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_clr_table() argument
166 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_clr_table()
[all …]
Dtsi500.c23 tsi500_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_desti… in tsi500_route_add_entry() argument
30 rio_mport_read_config_32(mport, destid, hopcount, offset, &result); in tsi500_route_add_entry()
33 …rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*i), result | (route_port << (… in tsi500_route_add_entry()
36 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result); in tsi500_route_add_entry()
38 …rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*table), result | (route_port … in tsi500_route_add_entry()
45 tsi500_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_desti… in tsi500_route_get_entry() argument
52 rio_mport_read_config_32(mport, destid, hopcount, offset, &result); in tsi500_route_get_entry()
54 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result); in tsi500_route_get_entry()
/drivers/rapidio/devices/
Dtsi721.c108 u16 destid, u8 hopcount, u32 offset, int len, in tsi721_maint_dma() argument
127 bd_ptr[0].raddr_lo = cpu_to_le32((hopcount << 24) | offset); in tsi721_maint_dma()
164 do_wr ? MAINT_WR : MAINT_RD, destid, hopcount, offset); in tsi721_maint_dma()
209 u8 hopcount, u32 offset, int len, u32 *data) in tsi721_cread_dma() argument
213 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount, in tsi721_cread_dma()
232 u8 hopcount, u32 offset, int len, u32 data) in tsi721_cwrite_dma() argument
237 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount, in tsi721_cwrite_dma()
/drivers/net/wireless/libertas/
Dhost.h951 u8 hopcount; member