Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/rapidio/switches/
Dtsi568.c37 tsi568_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi568_route_add_entry() argument
41 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
43 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
46 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
49 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
59 tsi568_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi568_route_get_entry() argument
66 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
68 rio_mport_read_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
71 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
74 rio_mport_read_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
[all …]
Dtsi57x.c46 tsi57x_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_add_entry() argument
50 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
52 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
55 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
57 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
67 tsi57x_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_get_entry() argument
76 rio_mport_read_config_32(mport, destid, hopcount, in tsi57x_route_get_entry()
81 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_get_entry()
83 rio_mport_read_config_32(mport, destid, hopcount, in tsi57x_route_get_entry()
94 tsi57x_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_clr_table() argument
[all …]
Didtcps.c25 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_add_entry() argument
34 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
37 rio_mport_read_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
41 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
49 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_get_entry() argument
55 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_get_entry()
58 rio_mport_read_config_32(mport, destid, hopcount, in idtcps_route_get_entry()
72 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_clr_table() argument
79 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_clr_table()
81 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_clr_table()
[all …]
Didt_gen2.c91 idtg2_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_add_entry() argument
105 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
111 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
115 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
124 idtg2_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_get_entry() argument
137 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
140 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
144 rio_mport_read_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
156 idtg2_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_clr_table() argument
169 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_clr_table()
[all …]
Didt_gen3.c41 idtg3_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_add_entry() argument
59 err = rio_mport_write_config_32(mport, destid, hopcount, in idtg3_route_add_entry()
68 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_add_entry()
76 err = rio_mport_write_config_32(mport, destid, hopcount, in idtg3_route_add_entry()
83 idtg3_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_get_entry() argument
92 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_get_entry()
107 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_get_entry()
122 idtg3_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_clr_table() argument
131 err = rio_mport_write_config_32(mport, destid, hopcount, in idtg3_route_clr_table()
141 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_clr_table()
[all …]
/Linux-v4.19/drivers/rapidio/
Drio-scan.c163 static u16 rio_get_device_id(struct rio_mport *port, u16 destid, u8 hopcount) in rio_get_device_id() argument
167 rio_mport_read_config_32(port, destid, hopcount, RIO_DID_CSR, &result); in rio_get_device_id()
181 static void rio_set_device_id(struct rio_mport *port, u16 destid, u8 hopcount, u16 did) in rio_set_device_id() argument
183 rio_mport_write_config_32(port, destid, hopcount, RIO_DID_CSR, in rio_set_device_id()
328 u8 hopcount, int do_enum) in rio_setup_device() argument
338 if (rio_mport_read_config_32(port, destid, hopcount, in rio_setup_device()
343 rio_mport_read_config_32(port, destid, hopcount, in rio_setup_device()
358 rio_mport_read_config_32(port, destid, hopcount, RIO_DEV_ID_CAR, in rio_setup_device()
362 rio_mport_read_config_32(port, destid, hopcount, RIO_DEV_INFO_CAR, in rio_setup_device()
364 rio_mport_read_config_32(port, destid, hopcount, RIO_ASM_ID_CAR, in rio_setup_device()
[all …]
Drio.h23 u8 hopcount, int ftr);
25 u16 destid, u8 hopcount, u32 *rmap);
27 u8 hopcount, u32 from);
29 u8 hopcount);
31 u8 hopcount, int wait_ms);
32 extern int rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount);
46 u8 hopcount, u8 port_num);
Drio.c785 u16 destid, u8 hopcount, u32 *rmap) in rio_mport_get_physefb() argument
790 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, hopcount, 0); in rio_mport_get_physefb()
797 rio_mport_read_config_32(port, destid, hopcount, in rio_mport_get_physefb()
825 hopcount, ext_ftr_ptr); in rio_mport_get_physefb()
904 u8 hopcount, u8 port_num) in rio_enable_rx_tx_port() argument
915 "%d, port_num = %d)\n", local, destid, hopcount, port_num); in rio_enable_rx_tx_port()
918 hopcount, &rmap); in rio_enable_rx_tx_port()
925 if (rio_mport_read_config_32(port, destid, hopcount, in rio_enable_rx_tx_port()
937 if (rio_mport_write_config_32(port, destid, hopcount, in rio_enable_rx_tx_port()
997 rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid, u8 hopcount) in rio_mport_chk_dev_access() argument
[all …]
Drio-access.c88 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \
93 res = mport->ops->cread(mport, mport->id, destid, hopcount, offset, len, &data); \
109 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type value) \
112 return mport->ops->cwrite(mport, mport->id, destid, hopcount, \
Drio-sysfs.c39 rio_config_attr(hopcount, "0x%02x\n");
/Linux-v4.19/include/linux/
Drio_drv.h37 u8 hopcount, u32 offset, u32 * data);
39 u8 hopcount, u32 offset, u32 data);
41 u8 hopcount, u32 offset, u16 * data);
43 u8 hopcount, u32 offset, u16 data);
45 u8 hopcount, u32 offset, u8 * data);
47 u8 hopcount, u32 offset, u8 data);
153 rdev->hopcount, offset, data); in rio_read_config_32()
169 rdev->hopcount, offset, data); in rio_write_config_32()
185 rdev->hopcount, offset, data); in rio_read_config_16()
201 rdev->hopcount, offset, data); in rio_write_config_16()
[all …]
Drio.h126 int (*add_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,
128 int (*get_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,
130 int (*clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount,
132 int (*set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,
134 int (*get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,
205 u8 hopcount; member
409 u8 hopcount, u32 offset, int len, u32 *data);
411 u8 hopcount, u32 offset, int len, u32 data);
/Linux-v4.19/arch/powerpc/sysdev/
Dfsl_rio.c186 u8 hopcount, u32 offset, int len, u32 *val) in fsl_rio_config_read() argument
196 index, destid, hopcount, offset, len); in fsl_rio_config_read()
206 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_read()
227 err, destid, hopcount, offset); in fsl_rio_config_read()
251 u8 hopcount, u32 offset, int len, u32 val) in fsl_rio_config_write() argument
261 index, destid, hopcount, offset, len, val); in fsl_rio_config_write()
271 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_write()
/Linux-v4.19/drivers/rapidio/devices/
Drio_mport_cdev.c292 maint_io.hopcount, offset, &buffer[i]); in rio_mport_maint_rd()
345 maint_io.hopcount, in rio_mport_maint_wr()
1686 u8 hopcount; in rio_mport_add_riodev() local
1693 dev_info.comptag, dev_info.destid, dev_info.hopcount); in rio_mport_add_riodev()
1703 hopcount = dev_info.hopcount; in rio_mport_add_riodev()
1705 if (rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_add_riodev()
1710 rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_add_riodev()
1746 rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_add_riodev()
1750 rio_mport_read_config_32(mport, destid, hopcount, RIO_DEV_INFO_CAR, in rio_mport_add_riodev()
1752 rio_mport_read_config_32(mport, destid, hopcount, RIO_ASM_ID_CAR, in rio_mport_add_riodev()
[all …]
Dtsi721.c123 u16 destid, u8 hopcount, u32 offset, int len, in tsi721_maint_dma() argument
145 bd_ptr[0].raddr_lo = cpu_to_le32((hopcount << 24) | offset); in tsi721_maint_dma()
183 destid, hopcount, offset); in tsi721_maint_dma()
227 u8 hopcount, u32 offset, int len, u32 *data) in tsi721_cread_dma() argument
231 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount, in tsi721_cread_dma()
250 u8 hopcount, u32 offset, int len, u32 data) in tsi721_cwrite_dma() argument
255 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount, in tsi721_cwrite_dma()
/Linux-v4.19/include/uapi/linux/
Drio_mport_cdev.h48 __u8 hopcount; /* hopcount to remote device */ member
220 __u8 hopcount; member
/Linux-v4.19/net/mac80211/
Dmesh_hwmp.c636 u8 hopcount; in hwmp_preq_frame_process() local
647 hopcount = PREQ_IE_HOPCOUNT(preq_elem) + 1; in hwmp_preq_frame_process()
658 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process()
684 u8 ttl, hopcount, flags; in hwmp_prep_frame_process() local
720 hopcount = PREP_IE_HOPCOUNT(prep_elem) + 1; in hwmp_prep_frame_process()
726 target_addr, target_sn, next_hop, hopcount, in hwmp_prep_frame_process()
799 u8 ttl, flags, hopcount; in hwmp_rann_frame_process() local
810 hopcount = rann->rann_hopcount; in hwmp_rann_frame_process()
811 hopcount++; in hwmp_rann_frame_process()
882 hopcount, ttl, interval, in hwmp_rann_frame_process()
/Linux-v4.19/Documentation/rapidio/
Dmport_cdev.txt48 RapidIO destination ID, hopcount and request type
Drapidio.txt262 device ID; it relies on hopcount and routing for device ID of an attached
268 their hopcount value.
278 into the routing table. The algorithm recurs by calling itself with hopcount + 1
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dhost.h951 u8 hopcount; member
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-rapidio147 What: /sys/bus/rapidio/devices/nn:s:iiii/hopcount