• Home
  • Raw
  • Download

Lines Matching refs:bar_len

432 			 resource_size_t *bar_start, resource_size_t *bar_len)  in dfx_get_bars()  argument
443 bar_len[0] = pci_resource_len(to_pci_dev(bdev), num); in dfx_get_bars()
445 bar_len[2] = bar_len[1] = 0; in dfx_get_bars()
466 bar_len[0] = ((bar_hi - bar_lo) | PI_MEM_ADD_MASK_M) + in dfx_get_bars()
470 bar_len[0] = PI_ESIC_K_CSR_IO_LEN; in dfx_get_bars()
473 bar_len[1] = PI_ESIC_K_BURST_HOLDOFF_LEN; in dfx_get_bars()
475 bar_len[2] = PI_ESIC_K_ESIC_CSR_LEN; in dfx_get_bars()
480 bar_len[0] = PI_TC_K_CSR_LEN; in dfx_get_bars()
482 bar_len[2] = bar_len[1] = 0; in dfx_get_bars()
539 resource_size_t bar_len[3] = {0}; /* resource length */ in dfx_register() local
574 dfx_get_bars(bp, bar_start, bar_len); in dfx_register()
575 if (bar_len[0] == 0 || in dfx_register()
578 dfx_get_bars(bp, bar_start, bar_len); in dfx_register()
582 region = request_mem_region(bar_start[0], bar_len[0], in dfx_register()
586 dfx_get_bars(bp, bar_start, bar_len); in dfx_register()
590 region = request_region(bar_start[0], bar_len[0], in dfx_register()
594 bar_start[0], bar_len[0]); in dfx_register()
599 region = request_region(bar_start[1], bar_len[1], in dfx_register()
603 bar_start[1], bar_len[1]); in dfx_register()
609 region = request_region(bar_start[2], bar_len[2], in dfx_register()
613 bar_start[2], bar_len[2]); in dfx_register()
621 bp->base.mem = ioremap(bar_start[0], bar_len[0]); in dfx_register()
668 release_region(bar_start[2], bar_len[2]); in dfx_register()
672 release_region(bar_start[1], bar_len[1]); in dfx_register()
676 release_mem_region(bar_start[0], bar_len[0]); in dfx_register()
678 release_region(bar_start[0], bar_len[0]); in dfx_register()
3701 resource_size_t bar_len[3] = {0}; /* resource lengths */ in dfx_unregister() local
3719 dfx_get_bars(bp, bar_start, bar_len); in dfx_unregister()
3721 release_region(bar_start[2], bar_len[2]); in dfx_unregister()
3723 release_region(bar_start[1], bar_len[1]); in dfx_unregister()
3726 release_mem_region(bar_start[0], bar_len[0]); in dfx_unregister()
3728 release_region(bar_start[0], bar_len[0]); in dfx_unregister()