Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/rapidio/switches/
Didtcps.c21 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_add_entry() argument
30 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
33 rio_mport_read_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
37 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
45 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_get_entry() argument
51 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_get_entry()
54 rio_mport_read_config_32(mport, destid, hopcount, in idtcps_route_get_entry()
68 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_clr_table() argument
75 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_clr_table()
77 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_clr_table()
[all …]
Didt_gen2.c87 idtg2_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_add_entry() argument
101 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
107 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()
120 idtg2_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_get_entry() argument
133 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
136 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
140 rio_mport_read_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
152 idtg2_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_clr_table() argument
165 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_clr_table()
[all …]
Didt_gen3.c37 idtg3_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_add_entry() argument
55 err = rio_mport_write_config_32(mport, destid, hopcount, in idtg3_route_add_entry()
64 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_add_entry()
72 err = rio_mport_write_config_32(mport, destid, hopcount, in idtg3_route_add_entry()
79 idtg3_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_get_entry() argument
88 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_get_entry()
103 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_get_entry()
118 idtg3_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_clr_table() argument
127 err = rio_mport_write_config_32(mport, destid, hopcount, in idtg3_route_clr_table()
137 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_clr_table()
[all …]
/linux-5.19.10/drivers/rapidio/
Drio-scan.c159 static u16 rio_get_device_id(struct rio_mport *port, u16 destid, u8 hopcount) in rio_get_device_id() argument
163 rio_mport_read_config_32(port, destid, hopcount, RIO_DID_CSR, &result); in rio_get_device_id()
177 static void rio_set_device_id(struct rio_mport *port, u16 destid, u8 hopcount, u16 did) in rio_set_device_id() argument
179 rio_mport_write_config_32(port, destid, hopcount, RIO_DID_CSR, in rio_set_device_id()
324 u8 hopcount, int do_enum) in rio_setup_device() argument
334 if (rio_mport_read_config_32(port, destid, hopcount, in rio_setup_device()
339 rio_mport_read_config_32(port, destid, hopcount, in rio_setup_device()
352 rio_mport_read_config_32(port, destid, hopcount, RIO_DEV_ID_CAR, in rio_setup_device()
356 rio_mport_read_config_32(port, destid, hopcount, RIO_DEV_INFO_CAR, in rio_setup_device()
358 rio_mport_read_config_32(port, destid, hopcount, RIO_ASM_ID_CAR, in rio_setup_device()
[all …]
Drio.h19 u8 hopcount, int ftr);
21 u16 destid, u8 hopcount, u32 *rmap);
23 u8 hopcount, u32 from);
25 u8 hopcount);
27 u8 hopcount, int wait_ms);
28 extern int rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount);
42 u8 hopcount, u8 port_num);
Drio.c781 u16 destid, u8 hopcount, u32 *rmap) in rio_mport_get_physefb() argument
786 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, hopcount, 0); in rio_mport_get_physefb()
793 rio_mport_read_config_32(port, destid, hopcount, in rio_mport_get_physefb()
821 hopcount, ext_ftr_ptr); in rio_mport_get_physefb()
900 u8 hopcount, u8 port_num) in rio_enable_rx_tx_port() argument
911 "%d, port_num = %d)\n", local, destid, hopcount, port_num); in rio_enable_rx_tx_port()
914 hopcount, &rmap); in rio_enable_rx_tx_port()
921 if (rio_mport_read_config_32(port, destid, hopcount, in rio_enable_rx_tx_port()
933 if (rio_mport_write_config_32(port, destid, hopcount, in rio_enable_rx_tx_port()
993 rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid, u8 hopcount) in rio_mport_chk_dev_access() argument
[all …]
Drio-access.c86 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \
91 res = mport->ops->cread(mport, mport->id, destid, hopcount, offset, len, &data); \
107 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type value) \
110 return mport->ops->cwrite(mport, mport->id, destid, hopcount, \
Drio-sysfs.c35 rio_config_attr(hopcount, "0x%02x\n");
/linux-5.19.10/include/linux/
Drio_drv.h33 u8 hopcount, u32 offset, u32 * data);
35 u8 hopcount, u32 offset, u32 data);
37 u8 hopcount, u32 offset, u16 * data);
39 u8 hopcount, u32 offset, u16 data);
41 u8 hopcount, u32 offset, u8 * data);
43 u8 hopcount, u32 offset, u8 data);
149 rdev->hopcount, offset, data); in rio_read_config_32()
165 rdev->hopcount, offset, data); in rio_write_config_32()
181 rdev->hopcount, offset, data); in rio_read_config_16()
197 rdev->hopcount, offset, data); in rio_write_config_16()
[all …]
Drio.h122 int (*add_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,
124 int (*get_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,
126 int (*clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount,
128 int (*set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,
130 int (*get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,
201 u8 hopcount; member
405 u8 hopcount, u32 offset, int len, u32 *data);
407 u8 hopcount, u32 offset, int len, u32 data);
/linux-5.19.10/net/mac80211/
Dmesh_hwmp.c393 u8 hopcount; in hwmp_route_info_get() local
412 hopcount = PREQ_IE_HOPCOUNT(hwmp_ie) + 1; in hwmp_route_info_get()
424 hopcount = PREP_IE_HOPCOUNT(hwmp_ie) + 1; in hwmp_route_info_get()
497 mpath->hop_count = hopcount; in hwmp_route_info_get()
654 u8 hopcount; in hwmp_preq_frame_process() local
665 hopcount = PREQ_IE_HOPCOUNT(preq_elem) + 1; in hwmp_preq_frame_process()
676 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process()
702 u8 ttl, hopcount, flags; in hwmp_prep_frame_process() local
738 hopcount = PREP_IE_HOPCOUNT(prep_elem) + 1; in hwmp_prep_frame_process()
744 target_addr, target_sn, next_hop, hopcount, in hwmp_prep_frame_process()
[all …]
/linux-5.19.10/arch/powerpc/sysdev/
Dfsl_rio.c182 u8 hopcount, u32 offset, int len, u32 *val) in fsl_rio_config_read() argument
192 index, destid, hopcount, offset, len); in fsl_rio_config_read()
202 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_read()
223 err, destid, hopcount, offset); in fsl_rio_config_read()
247 u8 hopcount, u32 offset, int len, u32 val) in fsl_rio_config_write() argument
257 index, destid, hopcount, offset, len, val); in fsl_rio_config_write()
267 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_write()
/linux-5.19.10/drivers/rapidio/devices/
Drio_mport_cdev.c288 maint_io.hopcount, offset, &buffer[i]); in rio_mport_maint_rd()
341 maint_io.hopcount, in rio_mport_maint_wr()
1689 u8 hopcount; in rio_mport_add_riodev() local
1697 dev_info.comptag, dev_info.destid, dev_info.hopcount); in rio_mport_add_riodev()
1709 hopcount = dev_info.hopcount; in rio_mport_add_riodev()
1711 if (rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_add_riodev()
1716 rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_add_riodev()
1751 rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_add_riodev()
1755 rio_mport_read_config_32(mport, destid, hopcount, RIO_DEV_INFO_CAR, in rio_mport_add_riodev()
1757 rio_mport_read_config_32(mport, destid, hopcount, RIO_ASM_ID_CAR, in rio_mport_add_riodev()
[all …]
Dtsi721.c110 u16 destid, u8 hopcount, u32 offset, int len, in tsi721_maint_dma() argument
132 bd_ptr[0].raddr_lo = cpu_to_le32((hopcount << 24) | offset); in tsi721_maint_dma()
170 destid, hopcount, offset); in tsi721_maint_dma()
214 u8 hopcount, u32 offset, int len, u32 *data) in tsi721_cread_dma() argument
218 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount, in tsi721_cread_dma()
237 u8 hopcount, u32 offset, int len, u32 data) in tsi721_cwrite_dma() argument
242 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount, in tsi721_cwrite_dma()
/linux-5.19.10/include/uapi/linux/
Drio_mport_cdev.h48 __u8 hopcount; /* hopcount to remote device */ member
220 __u8 hopcount; member
/linux-5.19.10/Documentation/driver-api/rapidio/
Dmport_cdev.rst44 RapidIO destination ID, hopcount and request type
Drapidio.rst270 device ID; it relies on hopcount and routing for device ID of an attached
276 their hopcount value.
286 into the routing table. The algorithm recurs by calling itself with hopcount + 1
/linux-5.19.10/Documentation/ABI/testing/
Dsysfs-bus-rapidio150 What: /sys/bus/rapidio/devices/<nn>:<s>:<iiii>/hopcount
/linux-5.19.10/drivers/net/wireless/marvell/libertas/
Dhost.h955 u8 hopcount; member