Home
last modified time | relevance | path

Searched refs:recover (Results 1 – 25 of 150) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/ata/
Dlibata-pata-timings.c68 q->recover = EZ(t->recover, T); in ata_timing_quantize()
88 m->recover = max(a->recover, b->recover); in ata_timing_merge()
177 if (t->active + t->recover < t->cycle) { in ata_timing_compute()
178 t->active += (t->cycle - (t->active + t->recover)) / 2; in ata_timing_compute()
179 t->recover = t->cycle - t->active; in ata_timing_compute()
187 if (t->active + t->recover > t->cycle) in ata_timing_compute()
188 t->cycle = t->active + t->recover; in ata_timing_compute()
Dpata_cmd640.c77 if (t.recover > 16) { in cmd640_set_piomode()
78 t.active += t.recover - 16; in cmd640_set_piomode()
79 t.recover = 16; in cmd640_set_piomode()
87 if (t.recover > 1) in cmd640_set_piomode()
88 t.recover--; /* 640B only */ in cmd640_set_piomode()
90 t.recover = 15; in cmd640_set_piomode()
107 pci_write_config_byte(pdev, arttim + 1, (t.active << 4) | t.recover); in cmd640_set_piomode()
116 timing->reg58[adev->devno] = (t.active << 4) | t.recover; in cmd640_set_piomode()
Dpata_cmd64x.c134 t.active, t.recover, t.setup); in cmd64x_set_timing()
135 if (t.recover > 16) { in cmd64x_set_timing()
136 t.active += t.recover - 16; in cmd64x_set_timing()
137 t.recover = 16; in cmd64x_set_timing()
145 if (t.recover == 16) in cmd64x_set_timing()
146 t.recover = 0; in cmd64x_set_timing()
147 else if (t.recover > 1) in cmd64x_set_timing()
148 t.recover--; in cmd64x_set_timing()
150 t.recover = 15; in cmd64x_set_timing()
166 pci_write_config_byte(pdev, drwtim, (t.active << 4) | t.recover); in cmd64x_set_timing()
Dpata_legacy.c351 u8 active, recover; in ht6560a_set_piomode() local
358 recover = clamp_val(t.recover, 4, 15); in ht6560a_set_piomode()
365 iowrite8(recover << 4 | active, ap->ioaddr.device_addr); in ht6560a_set_piomode()
385 u8 active, recover; in ht6560b_set_piomode() local
392 recover = clamp_val(t.recover, 2, 16) & 0x0F; in ht6560b_set_piomode()
399 iowrite8(recover << 4 | active, ap->ioaddr.device_addr); in ht6560b_set_piomode()
449 u8 active, recover, setup; in opti82c611a_set_piomode() local
476 recover = clamp_val(t.recover, 1, 16) - 1; in opti82c611a_set_piomode()
486 iowrite8(active << 4 | recover, ap->ioaddr.error_addr); in opti82c611a_set_piomode()
497 iowrite8(active << 4 | recover, ap->ioaddr.data_addr); in opti82c611a_set_piomode()
[all …]
Dpata_ns87410.c81 at.recover = clamp_val(at.recover, 1, 12) - 1; in ns87410_set_piomode()
83 idetcr = (at.setup << 6) | (recoverbits[at.recover] << 3) | activebits[at.active]; in ns87410_set_piomode()
Dpata_icside.c205 if (t.active <= 50 && t.recover <= 375 && t.cycle <= 425) in pata_icside_set_dmamode()
207 else if (t.active <= 125 && t.recover <= 375 && t.cycle <= 500) in pata_icside_set_dmamode()
209 else if (t.active <= 200 && t.recover <= 550 && t.cycle <= 750) in pata_icside_set_dmamode()
215 t.active, t.recover, t.cycle, iomd_type); in pata_icside_set_dmamode()
/kernel/linux/linux-5.10/drivers/ide/
Dide-timings.c104 q->recover = EZ(t->recover, T); in ide_timing_quantize()
123 m->recover = max(a->recover, b->recover); in ide_timing_merge()
191 if (t->active + t->recover < t->cycle) { in ide_timing_compute()
192 t->active += (t->cycle - (t->active + t->recover)) / 2; in ide_timing_compute()
193 t->recover = t->cycle - t->active; in ide_timing_compute()
Dcmd64x.c78 if (t.recover > 16) { in cmd64x_program_timings()
79 t.active += t.recover - 16; in cmd64x_program_timings()
80 t.recover = 16; in cmd64x_program_timings()
88 t.recover = recovery_values[t.recover]; in cmd64x_program_timings()
93 (t.active << 4) | t.recover); in cmd64x_program_timings()
Dalim15x3.c86 t->recover = clamp_val(t->recover, 1, 16) & 15; in ali_program_timings()
91 (t->active << 4) | t->recover); in ali_program_timings()
/kernel/linux/linux-5.10/arch/ia64/lib/
Dstrlen.S132 (p6) br.cond.spnt .recover // jump to recovery if val1 is NaT
139 (p7) br.cond.spnt .recover // jump to recovery if val2 is NaT
170 .recover: label
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh385 devlink health recover $DL_HANDLE reporter empty
411 local recover=`echo $show | jq -r ".recover"`
412 [ "$recover" == "$expected_recover" ]
413 check_err $? "Unexpected \"recover\" value (got $recover, expected $expected_recover)"
452 devlink health recover $DL_HANDLE reporter dummy
487 devlink health recover $DL_HANDLE reporter dummy
493 devlink health recover $DL_HANDLE reporter dummy
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/mellanox/
Dmlx5.rst204 - Show number of tx errors indicated, number of recover flows ended successfully,
205 is autorecover enabled and graceful period from last recover::
231 - Show number of rx errors indicated, number of recover flows ended successfully,
232 is autorecover enabled and graceful period from last recover::
259 The fw fatal reporter implements dump and recover callbacks.
260 It follows fatal errors indications by CR-space dump and recover flow.
263 The recover function runs recover flow which reloads the driver and triggers fw
268 - Run fw recover flow manually::
270 $ devlink health recover pci/0000:82:00.0 reporter fw_fatal
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgk104.c277 struct gk104_fifo *fifo = container_of(w, typeof(*fifo), recover.work); in gk104_fifo_recover_work()
285 runm = fifo->recover.runm; in gk104_fifo_recover_work()
286 engm = fifo->recover.engm; in gk104_fifo_recover_work()
287 fifo->recover.engm = 0; in gk104_fifo_recover_work()
288 fifo->recover.runm = 0; in gk104_fifo_recover_work()
317 if (fifo->recover.runm & runm) in gk104_fifo_recover_runl()
319 fifo->recover.runm |= runm; in gk104_fifo_recover_runl()
326 schedule_work(&fifo->recover.work); in gk104_fifo_recover_runl()
407 if (fifo->recover.engm & engm) in gk104_fifo_recover_engn()
409 fifo->recover.engm |= engm; in gk104_fifo_recover_engn()
[all …]
Dgf100.c147 struct gf100_fifo *fifo = container_of(w, typeof(*fifo), recover.work); in gf100_fifo_recover_work()
155 mask = fifo->recover.mask; in gf100_fifo_recover_work()
156 fifo->recover.mask = 0ULL; in gf100_fifo_recover_work()
192 fifo->recover.mask |= 1ULL << engine->subdev.index; in gf100_fifo_recover()
193 schedule_work(&fifo->recover.work); in gf100_fifo_recover()
617 flush_work(&fifo->recover.work); in gf100_fifo_fini()
692 INIT_WORK(&fifo->recover.work, gf100_fifo_recover_work); in gf100_fifo_new()
Dgf100.h18 } recover; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_rx.c100 rq->stats->recover++; in mlx5e_rx_reporter_err_icosq_cqe_recover()
140 rq->stats->recover++; in mlx5e_rx_reporter_err_rq_cqe_recover()
166 return err_ctx->recover(err_ctx->ctx); in mlx5e_rx_reporter_recover_from_ctx()
566 err_ctx.recover = mlx5e_rx_reporter_timeout_recover; in mlx5e_reporter_rx_timeout()
582 err_ctx.recover = mlx5e_rx_reporter_err_rq_cqe_recover; in mlx5e_reporter_rq_cqe_err()
596 err_ctx.recover = mlx5e_rx_reporter_err_icosq_cqe_recover; in mlx5e_reporter_icosq_cqe_err()
605 .recover = mlx5e_rx_reporter_recover,
Dreporter_tx.c76 sq->stats->recover++; in mlx5e_tx_reporter_err_cqe_recover()
129 return err_ctx->recover(err_ctx->ctx); in mlx5e_tx_reporter_recover_from_ctx()
412 err_ctx.recover = mlx5e_tx_reporter_err_cqe_recover; in mlx5e_reporter_tx_err_cqe()
428 err_ctx.recover = mlx5e_tx_reporter_timeout_recover; in mlx5e_reporter_tx_timeout()
441 .recover = mlx5e_tx_reporter_recover,
/kernel/linux/linux-5.10/Documentation/networking/devlink/
Ddevlink-health.rst52 - Grace period vs. time passed since last recover
96 mlx5_core devlink |recover,
106 | | | | (recover, dump) |
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Drcar-fdp1.rst27 recover missing lines. This method is also known as blending or Line
30 - The previous and next fields are averaged to recover lines missing from
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target_erl0.c363 goto recover; in iscsit_dataout_check_datasn()
373 recover: in iscsit_dataout_check_datasn()
410 goto recover; in iscsit_dataout_pre_datapduinorder_yes()
420 goto recover; in iscsit_dataout_pre_datapduinorder_yes()
433 recover: in iscsit_dataout_pre_datapduinorder_yes()
653 goto recover; in iscsit_dataout_post_crc_failed()
672 recover: in iscsit_dataout_post_crc_failed()
/kernel/linux/linux-5.10/fs/btrfs/
Dscrub.c81 struct scrub_recover *recover; member
261 return page->recover && in scrub_is_page_on_raid56()
262 (page->recover->bbio->map_type & BTRFS_BLOCK_GROUP_RAID56_MASK); in scrub_is_page_on_raid56()
798 static inline void scrub_get_recover(struct scrub_recover *recover) in scrub_get_recover() argument
800 refcount_inc(&recover->refs); in scrub_get_recover()
804 struct scrub_recover *recover) in scrub_put_recover() argument
806 if (refcount_dec_and_test(&recover->refs)) { in scrub_put_recover()
808 btrfs_put_bbio(recover->bbio); in scrub_put_recover()
809 kfree(recover); in scrub_put_recover()
1033 struct scrub_recover *r = sblock_bad->pagev[0]->recover; in scrub_handle_errored_block()
[all …]
/kernel/linux/linux-5.10/fs/dlm/
DMakefile16 recover.o \
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Deeh_pe.c405 bool keep, recover; in eeh_pe_tree_remove() local
437 recover = !!(pe->state & EEH_PE_RECOVERING); in eeh_pe_tree_remove()
438 WARN_ON(keep && !recover); in eeh_pe_tree_remove()
440 if (!keep && !recover) { in eeh_pe_tree_remove()
/kernel/linux/linux-5.10/Documentation/PCI/
Dpci-error-recovery.rst100 PCI_ERS_RESULT_CAN_RECOVER, /* Device driver can recover without slot reset */
114 The actual steps taken by a platform to recover from a PCI error
144 Driver returns this if it thinks it might be able to recover
149 Driver returns this if it can't recover without a
152 Driver returns this if it doesn't want to recover at all.
165 If the platform is unable to recover the slot, the next step
198 all drivers on a segment agree that they can try to recover and if no automatic
349 A "permanent failure" has occurred, and the platform cannot recover
375 recover (disconnect them) and try to let other cards on the same segment
376 recover. Keep in mind that in most real life cases, though, there will
/kernel/linux/linux-5.10/include/linux/
Dsuspend.h187 void (*recover)(void); member
428 void (*recover)(void); member

123456