Lines Matching refs:ehea_bcmc_regs
88 static struct ehea_bcmc_reg_array ehea_bcmc_regs; variable
242 spin_lock_irqsave(&ehea_bcmc_regs.lock, flags); in ehea_update_bcmc_registrations()
314 kfree(ehea_bcmc_regs.arr); in ehea_update_bcmc_registrations()
315 ehea_bcmc_regs.arr = arr; in ehea_update_bcmc_registrations()
316 ehea_bcmc_regs.num_entries = i; in ehea_update_bcmc_registrations()
318 spin_unlock_irqrestore(&ehea_bcmc_regs.lock, flags); in ehea_update_bcmc_registrations()
3298 if (ehea_bcmc_regs.arr) in ehea_crash_handler()
3299 for (i = 0; i < ehea_bcmc_regs.num_entries; i++) in ehea_crash_handler()
3300 ehea_h_reg_dereg_bcmc(ehea_bcmc_regs.arr[i].adh, in ehea_crash_handler()
3301 ehea_bcmc_regs.arr[i].port_id, in ehea_crash_handler()
3302 ehea_bcmc_regs.arr[i].reg_type, in ehea_crash_handler()
3303 ehea_bcmc_regs.arr[i].macaddr, in ehea_crash_handler()
3537 memset(&ehea_bcmc_regs, 0, sizeof(ehea_bcmc_regs)); in ehea_module_init()
3540 spin_lock_init(&ehea_bcmc_regs.lock); in ehea_module_init()
3574 kfree(ehea_bcmc_regs.arr); in ehea_module_exit()