Lines Matching refs:print_name
269 const char *print_name,
498 static void dfx_register_res_alloc_err(const char *print_name, bool mmio, in dfx_register_res_alloc_err() argument
502 print_name, mmio ? "MMIO" : "I/O"); in dfx_register_res_alloc_err()
504 print_name, mmio ? 'n' : 'y'); in dfx_register_res_alloc_err()
507 print_name); in dfx_register_res_alloc_err()
510 static void dfx_register_res_err(const char *print_name, bool mmio, in dfx_register_res_err() argument
514 print_name, mmio ? "MMIO" : "I/O", len, start); in dfx_register_res_err()
552 const char *print_name = dev_name(bdev); in dfx_register() local
569 print_name); in dfx_register()
578 print_name); in dfx_register()
592 dfx_register_res_alloc_err(print_name, dfx_use_mmio, in dfx_register()
600 print_name); in dfx_register()
602 region = request_region(bar_start[0], bar_len[0], print_name); in dfx_register()
604 dfx_register_res_err(print_name, dfx_use_mmio, in dfx_register()
610 region = request_region(bar_start[1], bar_len[1], print_name); in dfx_register()
612 dfx_register_res_err(print_name, 0, in dfx_register()
619 region = request_region(bar_start[2], bar_len[2], print_name); in dfx_register()
621 dfx_register_res_err(print_name, 0, in dfx_register()
632 printk(KERN_ERR "%s: Cannot map MMIO\n", print_name); in dfx_register()
647 if (dfx_driver_init(dev, print_name, bar_start[0]) != DFX_K_SUCCESS) { in dfx_register()
656 printk("%s: registered as %s\n", print_name, dev->name); in dfx_register()
1049 static int dfx_driver_init(struct net_device *dev, const char *print_name, in dfx_driver_init() argument
1109 print_name); in dfx_driver_init()
1118 print_name); in dfx_driver_init()
1139 print_name, board_name, dfx_use_mmio ? "MMIO" : "I/O", in dfx_driver_init()
1217 print_name, bp->descr_block_virt, &bp->descr_block_phys); in dfx_driver_init()
1219 print_name, bp->cmd_req_virt, &bp->cmd_req_phys); in dfx_driver_init()
1221 print_name, bp->cmd_rsp_virt, &bp->cmd_rsp_phys); in dfx_driver_init()
1223 print_name, bp->rcv_block_virt, &bp->rcv_block_phys); in dfx_driver_init()
1225 print_name, bp->cons_block_virt, &bp->cons_block_phys); in dfx_driver_init()