Lines Matching +full:0 +full:x10100

18 #define RIO_EM_PW_STAT		0x40020
19 #define RIO_PW_CTL 0x40204
20 #define RIO_PW_CTL_PW_TMR 0xffffff00
21 #define RIO_PW_ROUTE 0x40208
23 #define RIO_EM_DEV_INT_EN 0x40030
25 #define RIO_PLM_SPx_IMP_SPEC_CTL(x) (0x10100 + (x)*0x100)
26 #define RIO_PLM_SPx_IMP_SPEC_CTL_SOFT_RST 0x02000000
28 #define RIO_PLM_SPx_PW_EN(x) (0x10118 + (x)*0x100)
29 #define RIO_PLM_SPx_PW_EN_OK2U 0x40000000
30 #define RIO_PLM_SPx_PW_EN_LINIT 0x10000000
32 #define RIO_BC_L2_Gn_ENTRYx_CSR(n, x) (0x31000 + (n)*0x400 + (x)*0x4)
34 (0x51000 + (x)*0x2000 + (n)*0x400 + (y)*0x4)
42 int err = 0; in idtg3_route_add_entry()
44 pr_debug("RIO: %s t=0x%x did_%x to p_%x\n", in idtg3_route_add_entry()
47 if (route_destid > 0xFF) in idtg3_route_add_entry()
56 RIO_BC_L2_Gn_ENTRYx_CSR(0, route_destid), in idtg3_route_add_entry()
73 RIO_SPx_L2_Gn_ENTRYy_CSR(table, 0, route_destid), in idtg3_route_add_entry()
85 if (route_destid > 0xFF) in idtg3_route_get_entry()
104 RIO_SPx_L2_Gn_ENTRYy_CSR(table, 0, route_destid), in idtg3_route_get_entry()
114 return 0; in idtg3_route_get_entry()
126 for (i = 0; i <= 0xff; i++) { in idtg3_route_clr_table()
128 RIO_BC_L2_Gn_ENTRYx_CSR(0, i), in idtg3_route_clr_table()
145 for (i = 0; i <= 0xff; i++) { in idtg3_route_clr_table()
147 RIO_SPx_L2_Gn_ENTRYy_CSR(table, 0, i), in idtg3_route_clr_table()
169 rio_write_config_32(rdev, RIO_EM_DEV_INT_EN, 0); in idtg3_em_init()
177 for (i = 0; i < tmp; i++) { in idtg3_em_init()
187 rdev->em_efptr + RIO_EM_PN_ERR_DETECT(i), 0); in idtg3_em_init()
205 rio_write_config_32(rdev, rdev->em_efptr + RIO_EM_PW_TX_CTRL, 0); in idtg3_em_init()
209 rdev->phys_efptr + RIO_PORT_LINKTO_CTL_CSR, 0x8e << 8); in idtg3_em_init()
210 return 0; in idtg3_em_init()
242 return 0; in idtg3_em_handler()
246 * Inbound and outbound ackIDs will be 0 after reset. in idtg3_em_handler()
258 return 0; in idtg3_em_handler()
288 rio_write_config_32(rdev, 0x5000 + RIO_BC_RT_CTL_CSR, 0); in idtg3_probe()
293 return 0; in idtg3_probe()
341 rdev->em_efptr + RIO_EM_PW_TX_CTRL, 0); in idtg3_shutdown()
350 { 0, } /* terminate list */