• Home
  • Raw
  • Download

Lines Matching refs:rval

44 	u32 rval;  in idtg3_route_add_entry()  local
69 RIO_SWP_INFO_CAR, &rval); in idtg3_route_add_entry()
73 if (table >= RIO_GET_TOTAL_PORTS(rval)) in idtg3_route_add_entry()
86 u32 rval; in idtg3_route_get_entry() local
93 RIO_SWP_INFO_CAR, &rval); in idtg3_route_get_entry()
103 table = RIO_GET_PORT_NUM(rval); in idtg3_route_get_entry()
104 else if (table >= RIO_GET_TOTAL_PORTS(rval)) in idtg3_route_get_entry()
109 &rval); in idtg3_route_get_entry()
113 if (rval == RIO_RT_ENTRY_DROP_PKT) in idtg3_route_get_entry()
116 *route_port = (u8)rval; in idtg3_route_get_entry()
126 u32 rval; in idtg3_route_clr_table() local
142 RIO_SWP_INFO_CAR, &rval); in idtg3_route_clr_table()
146 if (table >= RIO_GET_TOTAL_PORTS(rval)) in idtg3_route_clr_table()
168 u32 rval; in idtg3_em_init() local
185 &rval); in idtg3_em_init()
186 if (rval & RIO_PORT_N_ERR_STS_PORT_UA) in idtg3_em_init()
238 u32 rval; in idtg3_em_handler() local
254 rio_read_config_32(rdev, RIO_PLM_SPx_IMP_SPEC_CTL(pnum), &rval); in idtg3_em_handler()
256 rval | RIO_PLM_SPx_IMP_SPEC_CTL_SOFT_RST); in idtg3_em_handler()
258 rio_write_config_32(rdev, RIO_PLM_SPx_IMP_SPEC_CTL(pnum), rval); in idtg3_em_handler()
317 u32 rval; in idtg3_shutdown() local
326 rio_read_config_32(rdev, RIO_PW_ROUTE, &rval); in idtg3_shutdown()
330 if (!((1 << i) & rval)) in idtg3_shutdown()
336 rio_read_config_32(rdev, rdev->em_efptr + RIO_EM_PW_TGT_DEVID, &rval); in idtg3_shutdown()
338 if (rval & RIO_EM_PW_TGT_DEVID_DEV16) in idtg3_shutdown()
339 destid = rval >> 16; in idtg3_shutdown()
341 destid = ((rval & RIO_EM_PW_TGT_DEVID_D8) >> 16); in idtg3_shutdown()