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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rapidio/switches/
H A Dtsi500.c19 tsi500_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument
26 rio_mport_read_config_32(mport, destid, hopcount, offset, &result);
29 rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*i), result | (route_port << (4*(route_destid & 0x7))));
32 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result);
34 rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*table), result | (route_port << (4*(route_destid & 0x7))));
41 tsi500_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument
48 rio_mport_read_config_32(mport, destid, hopcount, offset, &result);
50 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Drio_drv.h40 u8 hopcount, u32 offset, u32 * data);
42 u8 hopcount, u32 offset, u32 data);
44 u8 hopcount, u32 offset, u16 * data);
46 u8 hopcount, u32 offset, u16 data);
48 u8 hopcount, u32 offset, u8 * data);
50 u8 hopcount, u32 offset, u8 data);
155 u8 hopcount = 0xff; local
160 hopcount = rdev->rswitch->hopcount;
163 return rio_mport_read_config_32(rdev->net->hport, destid, hopcount,
179 u8 hopcount = 0xff; local
203 u8 hopcount = 0xff; local
227 u8 hopcount = 0xff; local
250 u8 hopcount = 0xff; local
273 u8 hopcount = 0xff; local
[all...]
H A Drio.h203 * @hopcount: Hopcount to this switch
212 u16 hopcount; member in struct:rio_switch
215 int (*add_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,
217 int (*get_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,
234 int (*cread) (int index, u16 destid, u8 hopcount, u32 offset, int len,
236 int (*cwrite) (int index, u16 destid, u8 hopcount, u32 offset, int len,
306 int (*add_hook) (struct rio_mport * mport, u16 destid, u8 hopcount,
308 int (*get_hook) (struct rio_mport * mport, u16 destid, u8 hopcount,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rapidio/
H A Drio-scan.c65 * @hopcount: Hopcount to device
70 static u16 rio_get_device_id(struct rio_mport *port, u16 destid, u8 hopcount) argument
74 rio_mport_read_config_32(port, destid, hopcount, RIO_DID_CSR, &result);
83 * @hopcount: Hopcount to device
88 static void rio_set_device_id(struct rio_mport *port, u16 destid, u8 hopcount, u16 did) argument
90 rio_mport_write_config_32(port, destid, hopcount, RIO_DID_CSR,
281 * @hopcount: Current hopcount
294 u8 hopcount, int do_enum)
306 rio_mport_read_config_32(port, destid, hopcount, RIO_DEV_ID_CA
292 rio_setup_device(struct rio_net *net, struct rio_mport *port, u16 destid, u8 hopcount, int do_enum) argument
402 rio_sport_is_active(struct rio_mport *port, u16 destid, u8 hopcount, int sport) argument
480 rio_get_host_deviceid_lock(struct rio_mport *port, u8 hopcount) argument
499 rio_get_swpinfo_inport(struct rio_mport *mport, u16 destid, u8 hopcount) argument
517 rio_get_swpinfo_tports(struct rio_mport *mport, u16 destid, u8 hopcount) argument
552 rio_enum_peer(struct rio_net *net, struct rio_mport *port, u8 hopcount) argument
704 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, u8 hopcount) argument
[all...]
H A Drio-access.c104 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \
111 res = mport->ops->cread(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->id, destid, hopcount, offset, len, value); \
H A Drio.h20 u8 hopcount, int ftr);
H A Drio.c339 * @hopcount: Number of switch hops to the device
362 u8 hopcount, int ftr)
369 rio_mport_read_config_32(port, destid, hopcount,
379 rio_mport_read_config_32(port, destid, hopcount,
361 rio_mport_get_feature(struct rio_mport * port, int local, u16 destid, u8 hopcount, int ftr) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/papd/
H A Dprintcap.c96 static int hopcount; /* detect infinite loops in termcap, init 0 */ variable
180 hopcount = 0;
290 if (++hopcount > MAXHOP) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/papd/
H A Dprintcap.c96 static int hopcount; /* detect infinite loops in termcap, init 0 */ variable
180 hopcount = 0;
290 if (++hopcount > MAXHOP) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/syslib/
H A Dppc85xx_rio.c209 * @hopcount: Number of hops to target device
218 mpc85xx_rio_config_read(int index, u16 destid, u8 hopcount, u32 offset, int len, argument
224 ("mpc85xx_rio_config_read: index %d destid %d hopcount %d offset %8.8x len %d\n",
225 index, destid, hopcount, offset, len);
227 (destid << 22) | (hopcount << 12) | ((offset & ~0x3) >> 9));
249 * @hopcount: Number of hops to target device
258 mpc85xx_rio_config_write(int index, u16 destid, u8 hopcount, u32 offset, argument
263 ("mpc85xx_rio_config_write: index %d destid %d hopcount %d offset %8.8x len %d val %8.8x\n",
264 index, destid, hopcount, offset, len, val);
266 (destid << 22) | (hopcount << 1
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/libertas/
H A Dhostcmd.h594 u8 hopcount; member in struct:cmd_ds_fwt_access
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Droute.c1848 unsigned char hop, hopcount; local
1853 hopcount = res->fi->fib_nhs;
1855 hopcount = 1;
1858 if (hopcount < 2)
1863 for (hop = 0; hop < hopcount; hop++) {
2312 unsigned char hopcount = res->fi->fib_nhs; local
2314 for (hop = 0; hop < hopcount; hop++) {

Completed in 79 milliseconds