Home
last modified time | relevance | path

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

123

/drivers/ata/
Dpata_cmd640.c76 if (t.recover > 16) { in cmd640_set_piomode()
77 t.active += t.recover - 16; in cmd640_set_piomode()
78 t.recover = 16; in cmd640_set_piomode()
86 if (t.recover > 1) in cmd640_set_piomode()
87 t.recover--; /* 640B only */ in cmd640_set_piomode()
89 t.recover = 15; in cmd640_set_piomode()
106 pci_write_config_byte(pdev, arttim + 1, (t.active << 4) | t.recover); in cmd640_set_piomode()
115 timing->reg58[adev->devno] = (t.active << 4) | t.recover; in cmd640_set_piomode()
Dpata_legacy.c364 u8 active, recover; in ht6560a_set_piomode() local
371 recover = clamp_val(t.recover, 4, 15); in ht6560a_set_piomode()
378 iowrite8(recover << 4 | active, ap->ioaddr.device_addr); in ht6560a_set_piomode()
398 u8 active, recover; in ht6560b_set_piomode() local
405 recover = clamp_val(t.recover, 2, 16) & 0x0F; in ht6560b_set_piomode()
412 iowrite8(recover << 4 | active, ap->ioaddr.device_addr); in ht6560b_set_piomode()
462 u8 active, recover, setup; in opti82c611a_set_piomode() local
489 recover = clamp_val(t.recover, 1, 16) - 1; in opti82c611a_set_piomode()
499 iowrite8(active << 4 | recover, ap->ioaddr.error_addr); in opti82c611a_set_piomode()
510 iowrite8(active << 4 | recover, ap->ioaddr.data_addr); in opti82c611a_set_piomode()
[all …]
Dpata_cmd64x.c133 t.active, t.recover, t.setup); in cmd64x_set_timing()
134 if (t.recover > 16) { in cmd64x_set_timing()
135 t.active += t.recover - 16; in cmd64x_set_timing()
136 t.recover = 16; in cmd64x_set_timing()
144 if (t.recover == 16) in cmd64x_set_timing()
145 t.recover = 0; in cmd64x_set_timing()
146 else if (t.recover > 1) in cmd64x_set_timing()
147 t.recover--; in cmd64x_set_timing()
149 t.recover = 15; in cmd64x_set_timing()
165 pci_write_config_byte(pdev, drwtim, (t.active << 4) | t.recover); in cmd64x_set_timing()
Dpata_ns87410.c94 at.recover = clamp_val(at.recover, 1, 12) - 1; in ns87410_set_piomode()
96 idetcr = (at.setup << 6) | (recoverbits[at.recover] << 3) | activebits[at.active]; in ns87410_set_piomode()
Dpata_at32.c99 int recover; in pata_at32_setup_timing() local
118 recover = smc->read_cycle - active; in pata_at32_setup_timing()
121 if (recover < 2) in pata_at32_setup_timing()
Dpata_icside.c204 if (t.active <= 50 && t.recover <= 375 && t.cycle <= 425) in pata_icside_set_dmamode()
206 else if (t.active <= 125 && t.recover <= 375 && t.cycle <= 500) in pata_icside_set_dmamode()
208 else if (t.active <= 200 && t.recover <= 550 && t.cycle <= 750) in pata_icside_set_dmamode()
214 t.active, t.recover, t.cycle, iomd_type); in pata_icside_set_dmamode()
Dpata_ali.c185 t->recover = clamp_val(t->recover, 1, 16) & 15; in ali_program_modes()
189 pci_write_config_byte(pdev, drwt, (t->active << 4) | t->recover); in ali_program_modes()
Dpata_cypress.c64 time_16 = clamp_val(t.recover - 1, 0, 15) | in cy82c693_set_piomode()
/drivers/ide/
Dide-timings.c117 q->recover = EZ(t->recover, T); in ide_timing_quantize()
136 m->recover = max(a->recover, b->recover); in ide_timing_merge()
204 if (t->active + t->recover < t->cycle) { in ide_timing_compute()
205 t->active += (t->cycle - (t->active + t->recover)) / 2; in ide_timing_compute()
206 t->recover = t->cycle - t->active; in ide_timing_compute()
Dcmd64x.c77 if (t.recover > 16) { in cmd64x_program_timings()
78 t.active += t.recover - 16; in cmd64x_program_timings()
79 t.recover = 16; in cmd64x_program_timings()
87 t.recover = recovery_values[t.recover]; in cmd64x_program_timings()
92 (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()
Dcy82c693.c105 time_16 = clamp_val(t.recover - 1, 0, 15) | in cy82c693_set_pio_mode()
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgk104.c186 struct gk104_fifo *fifo = container_of(w, typeof(*fifo), recover.work); in gk104_fifo_recover_work()
194 runm = fifo->recover.runm; in gk104_fifo_recover_work()
195 engm = fifo->recover.engm; in gk104_fifo_recover_work()
196 fifo->recover.engm = 0; in gk104_fifo_recover_work()
197 fifo->recover.runm = 0; in gk104_fifo_recover_work()
226 if (fifo->recover.runm & runm) in gk104_fifo_recover_runl()
228 fifo->recover.runm |= runm; in gk104_fifo_recover_runl()
235 schedule_work(&fifo->recover.work); in gk104_fifo_recover_runl()
293 if (fifo->recover.engm & engm) in gk104_fifo_recover_engn()
295 fifo->recover.engm |= engm; in gk104_fifo_recover_engn()
[all …]
Dgf100.c146 struct gf100_fifo *fifo = container_of(w, typeof(*fifo), recover.work); in gf100_fifo_recover_work()
154 mask = fifo->recover.mask; in gf100_fifo_recover_work()
155 fifo->recover.mask = 0ULL; in gf100_fifo_recover_work()
191 fifo->recover.mask |= 1ULL << engine->subdev.index; in gf100_fifo_recover()
192 schedule_work(&fifo->recover.work); in gf100_fifo_recover()
599 flush_work(&fifo->recover.work); in gf100_fifo_fini()
672 INIT_WORK(&fifo->recover.work, gf100_fifo_recover_work); in gf100_fifo_new()
Dgf100.h18 } recover; member
Dgk104.h19 } recover; member
/drivers/target/iscsi/
Discsi_target_erl0.c371 goto recover; in iscsit_dataout_check_datasn()
381 recover: in iscsit_dataout_check_datasn()
418 goto recover; in iscsit_dataout_pre_datapduinorder_yes()
428 goto recover; in iscsit_dataout_pre_datapduinorder_yes()
441 recover: in iscsit_dataout_pre_datapduinorder_yes()
661 goto recover; in iscsit_dataout_post_crc_failed()
680 recover: in iscsit_dataout_post_crc_failed()
/drivers/usb/musb/
Dmusb_core.h211 int (*recover)(struct musb *musb); member
616 if (!musb->ops->recover) in musb_platform_recover()
619 return musb->ops->recover(musb); in musb_platform_recover()
/drivers/md/
Ddm-raid1.c329 static int recover(struct mirror_set *ms, struct dm_region *reg) in recover() function
402 r = recover(ms, reg); in do_recovery()
690 struct bio_list sync, nosync, recover, *this_list = NULL; in do_writes() local
703 bio_list_init(&recover); in do_writes()
733 this_list = &recover; in do_writes()
778 while ((bio = bio_list_pop(&recover))) in do_writes()
/drivers/staging/lustre/lustre/ptlrpc/
DMakefile15 ptlrpc_objs := client.o recover.o connection.o niobuf.o pack_generic.o
/drivers/scsi/cxlflash/
Dsuperpipe.c1641 struct dk_cxlflash_recover_afu *recover) in cxlflash_afu_recover() argument
1651 u64 ctxid = DECODE_CTXID(recover->context_id), in cxlflash_afu_recover()
1652 rctxid = recover->context_id; in cxlflash_afu_recover()
1676 __func__, recover->reason, rctxid); in cxlflash_afu_recover()
1718 recover->hdr.return_flags = flags; in cxlflash_afu_recover()
1719 recover->context_id = ctxi->ctxid; in cxlflash_afu_recover()
1720 recover->adap_fd = new_adap_fd; in cxlflash_afu_recover()
1721 recover->mmio_size = sizeof(afu->afu_map->hosts[0].harea); in cxlflash_afu_recover()
/drivers/net/usb/
Dcdc_subset.c105 .recover = m5632_recover,
/drivers/gpu/drm/msm/
Dmsm_gpu.h63 void (*recover)(struct msm_gpu *gpu); member
/drivers/media/pci/ttpci/
Dav7110.c229 if (av7110->recover) in recover_arm()
230 av7110->recover(av7110); in recover_arm()
2132 av7110->recover = dvb_s_recover; in frontend_init()
2145 av7110->recover = dvb_s_recover; in frontend_init()
2156 av7110->recover = dvb_s_recover; in frontend_init()
2218 av7110->recover = dvb_s_recover; in frontend_init()
2230 av7110->recover = dvb_s_recover; in frontend_init()
2264 av7110->recover = dvb_s_recover; in frontend_init()
Dav7110.h281 void (*recover)(struct av7110* av7110); member

123