• Home
  • Raw
  • Download

Lines Matching refs:bar_len

435 			 resource_size_t *bar_start, resource_size_t *bar_len)  in dfx_get_bars()  argument
446 bar_len[0] = pci_resource_len(to_pci_dev(bdev), num); in dfx_get_bars()
448 bar_len[2] = bar_len[1] = 0; in dfx_get_bars()
469 bar_len[0] = ((bar_hi - bar_lo) | PI_MEM_ADD_MASK_M) + in dfx_get_bars()
473 bar_len[0] = PI_ESIC_K_CSR_IO_LEN; in dfx_get_bars()
476 bar_len[1] = PI_ESIC_K_BURST_HOLDOFF_LEN; in dfx_get_bars()
478 bar_len[2] = PI_ESIC_K_ESIC_CSR_LEN; in dfx_get_bars()
483 bar_len[0] = PI_TC_K_CSR_LEN; in dfx_get_bars()
485 bar_len[2] = bar_len[1] = 0; in dfx_get_bars()
556 resource_size_t bar_len[3]; /* resource length */ in dfx_register() local
589 dfx_get_bars(bdev, bar_start, bar_len); in dfx_register()
590 if (bar_len[0] == 0 || in dfx_register()
599 region = request_mem_region(bar_start[0], bar_len[0], in dfx_register()
602 region = request_region(bar_start[0], bar_len[0], print_name); in dfx_register()
605 bar_start[0], bar_len[0]); in dfx_register()
610 region = request_region(bar_start[1], bar_len[1], print_name); in dfx_register()
613 bar_start[1], bar_len[1]); in dfx_register()
619 region = request_region(bar_start[2], bar_len[2], print_name); in dfx_register()
622 bar_start[2], bar_len[2]); in dfx_register()
630 bp->base.mem = ioremap_nocache(bar_start[0], bar_len[0]); in dfx_register()
677 release_region(bar_start[2], bar_len[2]); in dfx_register()
681 release_region(bar_start[1], bar_len[1]); in dfx_register()
685 release_mem_region(bar_start[0], bar_len[0]); in dfx_register()
687 release_region(bar_start[0], bar_len[0]); in dfx_register()
3714 resource_size_t bar_len[3]; /* resource lengths */ in dfx_unregister() local
3732 dfx_get_bars(bdev, bar_start, bar_len); in dfx_unregister()
3734 release_region(bar_start[2], bar_len[2]); in dfx_unregister()
3736 release_region(bar_start[1], bar_len[1]); in dfx_unregister()
3739 release_mem_region(bar_start[0], bar_len[0]); in dfx_unregister()
3741 release_region(bar_start[0], bar_len[0]); in dfx_unregister()