Searched refs:hv_err (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/char/hw_random/ |
D | n2-drv.c | 88 static int n2rng_hv_err_trans(unsigned long hv_err) in n2rng_hv_err_trans() argument 90 switch (hv_err) { in n2rng_hv_err_trans() 112 unsigned long hv_err, state, ticks, watchdog_delta, watchdog_status; in n2rng_generic_read_control_v2() local 116 hv_err = sun4v_rng_ctl_read_v2(ra, unit, &state, in n2rng_generic_read_control_v2() 120 if (hv_err == HV_EOK) in n2rng_generic_read_control_v2() 123 if (hv_err == HV_EBUSY) { in n2rng_generic_read_control_v2() 128 } else if (hv_err == HV_EWOULDBLOCK) { in n2rng_generic_read_control_v2() 137 return hv_err; in n2rng_generic_read_control_v2() 160 unsigned long hv_err; in n2rng_write_ctl_one() local 163 hv_err = sun4v_rng_ctl_write_v1(control_ra, state, in n2rng_write_ctl_one() [all …]
|
/linux-5.19.10/arch/sparc/kernel/ |
D | ldc.c | 514 unsigned long hv_err; in ldc_abort() local 522 hv_err = sun4v_ldc_tx_qconf(lp->id, lp->tx_ra, lp->tx_num_entries); in ldc_abort() 523 if (hv_err) in ldc_abort() 526 lp->id, lp->tx_ra, lp->tx_num_entries, hv_err); in ldc_abort() 528 hv_err = sun4v_ldc_tx_get_state(lp->id, in ldc_abort() 532 if (hv_err) in ldc_abort() 535 lp->id, hv_err); in ldc_abort() 537 hv_err = sun4v_ldc_rx_qconf(lp->id, lp->rx_ra, lp->rx_num_entries); in ldc_abort() 538 if (hv_err) in ldc_abort() 541 lp->id, lp->rx_ra, lp->rx_num_entries, hv_err); in ldc_abort() [all …]
|
D | smp_64.c | 297 unsigned long hv_err; in ldom_startcpu_cpuid() local 333 hv_err = sun4v_cpu_start(cpu, trampoline_ra, in ldom_startcpu_cpuid() 336 if (hv_err) in ldom_startcpu_cpuid() 338 "gives error %lu\n", hv_err); in ldom_startcpu_cpuid() 1383 unsigned long hv_err; in __cpu_die() local 1387 hv_err = sun4v_cpu_stop(cpu); in __cpu_die() 1388 if (hv_err == HV_EOK) { in __cpu_die() 1395 hv_err); in __cpu_die() 1426 unsigned long hv_err; in send_cpu_poke() local 1429 hv_err = sun4v_cpu_poke(cpu); in send_cpu_poke() [all …]
|
D | irq_64.c | 257 unsigned long hv_err, cookie; in cookie_exists() local 261 hv_err = sun4v_vintr_get_cookie(devhandle, devino, &cookie); in cookie_exists() 262 if (hv_err) { in cookie_exists() 263 pr_err("HV get cookie failed hv_err = %ld\n", hv_err); in cookie_exists()
|