Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rapidio/switches/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/rapidio/
H A Drio-scan.c154 * @hopcount: Hopcount to device
159 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()
172 * @hopcount: Hopcount to device
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()
311 * @hopcount: Current hopcount
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()
505 rio_get_host_deviceid_lock(struct rio_mport * port,u8 hopcount) rio_get_host_deviceid_lock() argument
527 rio_enum_peer(struct rio_net * net,struct rio_mport * port,u8 hopcount,struct rio_dev * prev,int prev_port) rio_enum_peer() argument
731 rio_disc_peer(struct rio_net * net,struct rio_mport * port,u16 destid,u8 hopcount,struct rio_dev * prev,int prev_port) rio_disc_peer() argument
[all...]
H A 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 …]
H A 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);
H A 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, \
H A Drio-sysfs.c35 rio_config_attr(hopcount, "0x%02x\n");
/openbmc/linux/include/linux/
H A 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 …]
H A 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);
/openbmc/linux/net/mac80211/
H A Dmesh_hwmp.c399 u8 hopcount; in hwmp_route_info_get() local
418 hopcount = PREQ_IE_HOPCOUNT(hwmp_ie) + 1; in hwmp_route_info_get()
430 hopcount = PREP_IE_HOPCOUNT(hwmp_ie) + 1; in hwmp_route_info_get()
505 mpath->hop_count = hopcount; in hwmp_route_info_get()
668 u8 hopcount; in hwmp_preq_frame_process() local
679 hopcount = PREQ_IE_HOPCOUNT(preq_elem) + 1; in hwmp_preq_frame_process()
690 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process()
716 u8 ttl, hopcount, flags; in hwmp_prep_frame_process() local
752 hopcount = PREP_IE_HOPCOUNT(prep_elem) + 1; in hwmp_prep_frame_process()
758 target_addr, target_sn, next_hop, hopcount, in hwmp_prep_frame_process()
[all …]
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_rio.c191 u8 hopcount, u32 offset, int len, u32 *val) in fsl_rio_config_read() argument
201 index, destid, hopcount, offset, len); in fsl_rio_config_read()
211 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_read()
232 err, destid, hopcount, offset); in fsl_rio_config_read()
256 u8 hopcount, u32 offset, int len, u32 val) in fsl_rio_config_write() argument
266 index, destid, hopcount, offset, len, val); in fsl_rio_config_write()
276 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_write()
/openbmc/linux/drivers/rapidio/devices/
H A 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()
1752 rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_add_riodev()
1756 rio_mport_read_config_32(mport, destid, hopcount, RIO_DEV_INFO_CA in rio_mport_add_riodev()
[all...]
H A 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()
/openbmc/linux/include/uapi/linux/
H A Drio_mport_cdev.h48 __u8 hopcount; /* hopcount to remote device */ member
220 __u8 hopcount; member
/openbmc/linux/Documentation/driver-api/rapidio/
H A Dmport_cdev.rst44 RapidIO destination ID, hopcount and request type
H A 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
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-rapidio150 What: /sys/bus/rapidio/devices/<nn>:<s>:<iiii>/hopcount
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dhost.h955 u8 hopcount; member