Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/net/mac80211/
Dmesh_hwmp.c398 u8 hopcount; in hwmp_route_info_get() local
417 hopcount = PREQ_IE_HOPCOUNT(hwmp_ie) + 1; in hwmp_route_info_get()
429 hopcount = PREP_IE_HOPCOUNT(hwmp_ie) + 1; in hwmp_route_info_get()
502 mpath->hop_count = hopcount; in hwmp_route_info_get()
659 u8 hopcount; in hwmp_preq_frame_process() local
670 hopcount = PREQ_IE_HOPCOUNT(preq_elem) + 1; in hwmp_preq_frame_process()
681 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process()
707 u8 ttl, hopcount, flags; in hwmp_prep_frame_process() local
743 hopcount = PREP_IE_HOPCOUNT(prep_elem) + 1; in hwmp_prep_frame_process()
749 target_addr, target_sn, next_hop, hopcount, in hwmp_prep_frame_process()
[all …]
/linux-6.1.9/arch/powerpc/sysdev/
Dfsl_rio.c190 u8 hopcount, u32 offset, int len, u32 *val) in fsl_rio_config_read() argument
200 index, destid, hopcount, offset, len); in fsl_rio_config_read()
210 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_read()
231 err, destid, hopcount, offset); in fsl_rio_config_read()
255 u8 hopcount, u32 offset, int len, u32 val) in fsl_rio_config_write() argument
265 index, destid, hopcount, offset, len, val); in fsl_rio_config_write()
275 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_write()
/linux-6.1.9/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-6.1.9/include/uapi/linux/
Drio_mport_cdev.h48 __u8 hopcount; /* hopcount to remote device */ member
220 __u8 hopcount; member
/linux-6.1.9/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-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-rapidio150 What: /sys/bus/rapidio/devices/<nn>:<s>:<iiii>/hopcount
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dhost.h955 u8 hopcount; member