Lines Matching refs:bar

341                       u8_t          bar)  in mm_map_io_base()  argument
357 bar++; in mm_map_io_base()
361 ddi_dev_regsize(pUM->pDev, bar, &regSize); in mm_map_io_base()
363 if ((size > regSize) || BnxeIsBarUsed(pUM, bar, 0, size)) in mm_map_io_base()
366 bar, 0, (int)regSize); in mm_map_io_base()
373 bar, 0, (int)regSize); in mm_map_io_base()
378 bar, // bar number in mm_map_io_base()
386 bar, 0, size, rc); in mm_map_io_base()
392 pMem->regNumber = bar; in mm_map_io_base()
400 bar--; in mm_map_io_base()
401 pLM->vars.reg_handle[bar] = pMem->regAccess; in mm_map_io_base()
409 u8_t bar, in mm_map_io_space_solaris() argument
420 bar++; in mm_map_io_space_solaris()
422 ddi_dev_regsize(pUM->pDev, bar, &regSize); in mm_map_io_space_solaris()
424 if ((size > regSize) || BnxeIsBarUsed(pUM, bar, offset, size)) in mm_map_io_space_solaris()
427 bar, offset, (int)regSize); in mm_map_io_space_solaris()
434 bar, offset, (int)regSize); in mm_map_io_space_solaris()
439 bar, // bar number in mm_map_io_space_solaris()
447 bar, offset, size, rc); in mm_map_io_space_solaris()
453 pMem->regNumber = bar; in mm_map_io_space_solaris()
1548 u8_t bar, in mm_bar_read_byte() argument
1553 *ret = ddi_get8(pdev->vars.reg_handle[bar], in mm_bar_read_byte()
1554 (uint8_t *)((caddr_t)pdev->vars.mapped_bar_addr[bar] + in mm_bar_read_byte()
1560 u8_t bar, in mm_bar_read_word() argument
1565 *ret = ddi_get16(pdev->vars.reg_handle[bar], in mm_bar_read_word()
1566 (uint16_t *)((caddr_t)pdev->vars.mapped_bar_addr[bar] + in mm_bar_read_word()
1572 u8_t bar, in mm_bar_read_dword() argument
1577 *ret = ddi_get32(pdev->vars.reg_handle[bar], in mm_bar_read_dword()
1578 (uint32_t *)((caddr_t)pdev->vars.mapped_bar_addr[bar] + in mm_bar_read_dword()
1584 u8_t bar, in mm_bar_read_ddword() argument
1589 *ret = ddi_get64(pdev->vars.reg_handle[bar], in mm_bar_read_ddword()
1590 (uint64_t *)((caddr_t)pdev->vars.mapped_bar_addr[bar] + in mm_bar_read_ddword()
1596 u8_t bar, in mm_bar_write_byte() argument
1600 ddi_put8(pdev->vars.reg_handle[bar], in mm_bar_write_byte()
1601 (uint8_t *)((caddr_t)pdev->vars.mapped_bar_addr[bar] + offset), in mm_bar_write_byte()
1608 u8_t bar, in mm_bar_write_word() argument
1612 ddi_put16(pdev->vars.reg_handle[bar], in mm_bar_write_word()
1613 (uint16_t *)((caddr_t)pdev->vars.mapped_bar_addr[bar] + offset), in mm_bar_write_word()
1620 u8_t bar, in mm_bar_write_dword() argument
1624 ddi_put32(pdev->vars.reg_handle[bar], in mm_bar_write_dword()
1625 (uint32_t *)((caddr_t)pdev->vars.mapped_bar_addr[bar] + offset), in mm_bar_write_dword()
1632 u8_t bar, in mm_bar_write_ddword() argument
1636 ddi_put64(pdev->vars.reg_handle[bar], in mm_bar_write_ddword()
1637 (uint64_t *)((caddr_t)pdev->vars.mapped_bar_addr[bar] + offset), in mm_bar_write_ddword()
1644 u8_t bar, in mm_bar_copy_buffer() argument
1653 ddi_put32(pdev->vars.reg_handle[bar], in mm_bar_copy_buffer()
1654 (uint32_t *)((caddr_t)pdev->vars.mapped_bar_addr[bar] + in mm_bar_copy_buffer()