Lines Matching refs:index
336 static u16 pcnet32_wio_read_csr(unsigned long addr, int index)
338 outw(index, addr + PCNET32_WIO_RAP);
342 static void pcnet32_wio_write_csr(unsigned long addr, int index, u16 val)
344 outw(index, addr + PCNET32_WIO_RAP);
348 static u16 pcnet32_wio_read_bcr(unsigned long addr, int index)
350 outw(index, addr + PCNET32_WIO_RAP);
354 static void pcnet32_wio_write_bcr(unsigned long addr, int index, u16 val)
356 outw(index, addr + PCNET32_WIO_RAP);
391 static u16 pcnet32_dwio_read_csr(unsigned long addr, int index)
393 outl(index, addr + PCNET32_DWIO_RAP);
397 static void pcnet32_dwio_write_csr(unsigned long addr, int index, u16 val)
399 outl(index, addr + PCNET32_DWIO_RAP);
403 static u16 pcnet32_dwio_read_bcr(unsigned long addr, int index)
405 outl(index, addr + PCNET32_DWIO_RAP);
409 static void pcnet32_dwio_write_bcr(unsigned long addr, int index, u16 val)
411 outl(index, addr + PCNET32_DWIO_RAP);