/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
D | base.c | 27 nvkm_timer_read(struct nvkm_timer *tmr) in nvkm_timer_read() argument 29 return tmr->func->read(tmr); in nvkm_timer_read() 33 nvkm_timer_alarm_trigger(struct nvkm_timer *tmr) in nvkm_timer_alarm_trigger() argument 40 spin_lock_irqsave(&tmr->lock, flags); in nvkm_timer_alarm_trigger() 41 list_for_each_entry_safe(alarm, atemp, &tmr->alarms, head) { in nvkm_timer_alarm_trigger() 43 if (alarm->timestamp > nvkm_timer_read(tmr)) { in nvkm_timer_alarm_trigger() 45 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm_trigger() 46 if (alarm->timestamp > nvkm_timer_read(tmr)) in nvkm_timer_alarm_trigger() 58 if (list_empty(&tmr->alarms)) in nvkm_timer_alarm_trigger() 59 tmr->func->alarm_fini(tmr); in nvkm_timer_alarm_trigger() [all …]
|
D | nv04.c | 28 nv04_timer_time(struct nvkm_timer *tmr, u64 time) in nv04_timer_time() argument 30 struct nvkm_subdev *subdev = &tmr->subdev; in nv04_timer_time() 43 nv04_timer_read(struct nvkm_timer *tmr) in nv04_timer_read() argument 45 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_read() 57 nv04_timer_alarm_fini(struct nvkm_timer *tmr) in nv04_timer_alarm_fini() argument 59 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_alarm_fini() 64 nv04_timer_alarm_init(struct nvkm_timer *tmr, u32 time) in nv04_timer_alarm_init() argument 66 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_alarm_init() 72 nv04_timer_intr(struct nvkm_timer *tmr) in nv04_timer_intr() argument 74 struct nvkm_subdev *subdev = &tmr->subdev; in nv04_timer_intr() [all …]
|
D | nv40.c | 28 nv40_timer_init(struct nvkm_timer *tmr) in nv40_timer_init() argument 30 struct nvkm_subdev *subdev = &tmr->subdev; in nv40_timer_init()
|
D | nv41.c | 28 nv41_timer_init(struct nvkm_timer *tmr) in nv41_timer_init() argument 30 struct nvkm_subdev *subdev = &tmr->subdev; in nv41_timer_init()
|
/drivers/target/ |
D | target_core_tmr.c | 45 struct se_tmr_req *tmr; in core_tmr_alloc_req() local 47 tmr = kzalloc(sizeof(struct se_tmr_req), gfp_flags); in core_tmr_alloc_req() 48 if (!tmr) { in core_tmr_alloc_req() 54 se_cmd->se_tmr_req = tmr; in core_tmr_alloc_req() 55 tmr->task_cmd = se_cmd; in core_tmr_alloc_req() 56 tmr->fabric_tmr_ptr = fabric_tmr_ptr; in core_tmr_alloc_req() 57 tmr->function = function; in core_tmr_alloc_req() 58 INIT_LIST_HEAD(&tmr->tmr_list); in core_tmr_alloc_req() 64 void core_tmr_release_req(struct se_tmr_req *tmr) in core_tmr_release_req() argument 66 struct se_device *dev = tmr->tmr_dev; in core_tmr_release_req() [all …]
|
D | target_core_transport.c | 3117 struct se_tmr_req *tmr = cmd->se_tmr_req; in target_tmr_work() local 3123 tmr->response = TMR_FUNCTION_REJECTED; in target_tmr_work() 3129 switch (tmr->function) { in target_tmr_work() 3131 core_tmr_abort_task(dev, tmr, cmd->se_sess); in target_tmr_work() 3136 tmr->response = TMR_TASK_MGMT_FUNCTION_NOT_SUPPORTED; in target_tmr_work() 3139 ret = core_tmr_lun_reset(dev, tmr, NULL, NULL); in target_tmr_work() 3140 tmr->response = (!ret) ? TMR_FUNCTION_COMPLETE : in target_tmr_work() 3142 if (tmr->response == TMR_FUNCTION_COMPLETE) { in target_tmr_work() 3149 tmr->response = TMR_FUNCTION_REJECTED; in target_tmr_work() 3152 tmr->response = TMR_FUNCTION_REJECTED; in target_tmr_work() [all …]
|
/drivers/scsi/isci/ |
D | isci.h | 501 void sci_init_timer(struct sci_timer *tmr, void (*fn)(unsigned long)) in sci_init_timer() argument 503 tmr->timer.function = fn; in sci_init_timer() 504 tmr->timer.data = (unsigned long) tmr; in sci_init_timer() 505 tmr->cancel = 0; in sci_init_timer() 506 init_timer(&tmr->timer); in sci_init_timer() 509 static inline void sci_mod_timer(struct sci_timer *tmr, unsigned long msec) in sci_mod_timer() argument 511 tmr->cancel = 0; in sci_mod_timer() 512 mod_timer(&tmr->timer, jiffies + msecs_to_jiffies(msec)); in sci_mod_timer() 515 static inline void sci_del_timer(struct sci_timer *tmr) in sci_del_timer() argument 517 tmr->cancel = 1; in sci_del_timer() [all …]
|
D | port_config.c | 325 struct sci_timer *tmr = (struct sci_timer *)data; in mpc_agent_timeout() local 331 port_agent = container_of(tmr, typeof(*port_agent), timer); in mpc_agent_timeout() 336 if (tmr->cancel) in mpc_agent_timeout() 660 struct sci_timer *tmr = (struct sci_timer *)data; in apc_agent_timeout() local 666 port_agent = container_of(tmr, typeof(*port_agent), timer); in apc_agent_timeout() 671 if (tmr->cancel) in apc_agent_timeout()
|
D | host.c | 963 struct sci_timer *tmr = (struct sci_timer *)data; in phy_startup_timeout() local 964 struct isci_host *ihost = container_of(tmr, typeof(*ihost), phy_timer); in phy_startup_timeout() 970 if (tmr->cancel) in phy_startup_timeout() 1597 struct sci_timer *tmr = (struct sci_timer *)data; in controller_timeout() local 1598 struct isci_host *ihost = container_of(tmr, typeof(*ihost), timer); in controller_timeout() 1604 if (tmr->cancel) in controller_timeout() 1742 struct sci_timer *tmr = (struct sci_timer *)data; in power_control_timeout() local 1743 struct isci_host *ihost = container_of(tmr, typeof(*ihost), power_control.timer); in power_control_timeout() 1750 if (tmr->cancel) in power_control_timeout() 1807 sci_mod_timer(tmr, SCIC_SDS_CONTROLLER_POWER_CONTROL_INTERVAL); in power_control_timeout()
|
D | phy.c | 320 struct sci_timer *tmr = (struct sci_timer *)data; in phy_sata_timeout() local 321 struct isci_phy *iphy = container_of(tmr, typeof(*iphy), sata_timer); in phy_sata_timeout() 327 if (tmr->cancel) in phy_sata_timeout()
|
D | port.c | 774 struct sci_timer *tmr = (struct sci_timer *)data; in port_timeout() local 775 struct isci_port *iport = container_of(tmr, typeof(*iport), timer); in port_timeout() 782 if (tmr->cancel) in port_timeout()
|
/drivers/thermal/ |
D | qoriq_thermal.c | 37 u32 tmr; /* Mode Register */ member 188 tmu_write(data, TMR_DISABLE, &data->regs->tmr); in qoriq_tmu_init_device() 250 tmu_write(data, site | TMR_ME | TMR_ALPF, &data->regs->tmr); in qoriq_tmu_probe() 270 tmu_write(data, TMR_DISABLE, &data->regs->tmr); in qoriq_tmu_remove() 281 u32 tmr; in qoriq_tmu_suspend() local 285 tmr = tmu_read(data, &data->regs->tmr); in qoriq_tmu_suspend() 286 tmr &= ~TMR_ME; in qoriq_tmu_suspend() 287 tmu_write(data, tmr, &data->regs->tmr); in qoriq_tmu_suspend() 294 u32 tmr; in qoriq_tmu_resume() local 298 tmr = tmu_read(data, &data->regs->tmr); in qoriq_tmu_resume() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | fan.c | 36 struct nvkm_timer *tmr = subdev->device->timer; in nvkm_fan_update() local 98 nvkm_timer_alarm(tmr, delay * 1000 * 1000, &fan->alarm); in nvkm_fan_update() 127 struct nvkm_timer *tmr = device->timer; in nvkm_therm_fan_sense() local 142 start = nvkm_timer_read(tmr); in nvkm_therm_fan_sense() 153 start = nvkm_timer_read(tmr); in nvkm_therm_fan_sense() 157 } while (cycles < 5 && nvkm_timer_read(tmr) - start < 250000000); in nvkm_therm_fan_sense() 158 end = nvkm_timer_read(tmr); in nvkm_therm_fan_sense() 216 struct nvkm_timer *tmr = therm->subdev.device->timer; in nvkm_therm_fan_fini() local 218 nvkm_timer_alarm_cancel(tmr, &therm->fan->alarm); in nvkm_therm_fan_fini()
|
D | temp.c | 167 struct nvkm_timer *tmr = therm->subdev.device->timer; in alarm_timer_callback() local 189 nvkm_timer_alarm(tmr, 1000000000ULL, alarm); in alarm_timer_callback() 221 struct nvkm_timer *tmr = therm->subdev.device->timer; in nvkm_therm_sensor_fini() local 223 nvkm_timer_alarm_cancel(tmr, &therm->sensor.therm_poll_alarm); in nvkm_therm_sensor_fini()
|
D | base.c | 92 struct nvkm_timer *tmr = subdev->device->timer; in nvkm_therm_update() local 105 nvkm_timer_alarm_cancel(tmr, &therm->alarm); in nvkm_therm_update() 129 nvkm_timer_alarm_cancel(tmr, &therm->alarm); in nvkm_therm_update() 134 nvkm_timer_alarm(tmr, 1000000000ULL, &therm->alarm); in nvkm_therm_update()
|
D | fantog.c | 43 struct nvkm_timer *tmr = device->timer; in nvkm_fantog_update() local 60 nvkm_timer_alarm(tmr, next_change * 1000, &fan->alarm); in nvkm_fantog_update()
|
/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | g84.c | 118 struct nvkm_timer *tmr = device->timer; in g84_gr_tlb_flush() local 128 start = nvkm_timer_read(tmr); in g84_gr_tlb_flush() 147 !(timeout = nvkm_timer_read(tmr) - start > 2000000000)); in g84_gr_tlb_flush()
|
/drivers/tty/ |
D | n_r3964.c | 398 mod_timer(&pInfo->tmr, jiffies + R3964_TO_QVZ); in trigger_transmit() 422 mod_timer(&pInfo->tmr, jiffies + R3964_TO_QVZ); in retry_transmit() 472 mod_timer(&pInfo->tmr, jiffies + R3964_TO_QVZ); in transmit_block() 504 mod_timer(&pInfo->tmr, jiffies + R3964_TO_RX_PANIC); in on_receive_block() 515 del_timer_sync(&pInfo->tmr); in on_receive_block() 588 mod_timer(&pInfo->tmr, jiffies + R3964_TO_ZVZ); in receive_char() 612 mod_timer(&pInfo->tmr, in receive_char() 623 mod_timer(&pInfo->tmr, jiffies + R3964_TO_ZVZ); in receive_char() 644 mod_timer(&pInfo->tmr, in receive_char() 653 mod_timer(&pInfo->tmr, jiffies + R3964_TO_ZVZ); in receive_char() [all …]
|
/drivers/infiniband/hw/qib/ |
D | qib_keys.c | 62 struct rvt_mregion *tmr; in qib_alloc_lkey() local 64 tmr = rcu_access_pointer(dev->dma_mr); in qib_alloc_lkey() 65 if (!tmr) { in qib_alloc_lkey()
|
/drivers/tty/serial/ |
D | altera_uart.c | 83 struct timer_list tmr; member 297 mod_timer(&pp->tmr, jiffies + uart_poll_timeout(port)); in altera_uart_timer() 317 setup_timer(&pp->tmr, altera_uart_timer, (unsigned long)port); in altera_uart_startup() 318 mod_timer(&pp->tmr, jiffies + uart_poll_timeout(port)); in altera_uart_startup() 357 del_timer_sync(&pp->tmr); in altera_uart_shutdown()
|
/drivers/target/tcm_fc/ |
D | tfc_cmd.c | 406 struct se_tmr_req *tmr = se_cmd->se_tmr_req; in ft_queue_tm_resp() local 411 switch (tmr->response) { in ft_queue_tm_resp() 428 tmr->function, tmr->response, code); in ft_queue_tm_resp()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | gk20a.c | 127 struct nvkm_timer *tmr = device->timer; in gk20a_pmu_dvfs_work() local 166 nvkm_timer_alarm(tmr, 100000000, alarm); in gk20a_pmu_dvfs_work()
|
/drivers/infiniband/sw/rdmavt/ |
D | mr.c | 175 struct rvt_mregion *tmr; in rvt_alloc_lkey() local 177 tmr = rcu_access_pointer(dev->dma_mr); in rvt_alloc_lkey() 178 if (!tmr) { in rvt_alloc_lkey()
|
/drivers/target/loopback/ |
D | tcm_loop.c | 217 u64 lun, int task, enum tcm_tmreq_table tmr) in tcm_loop_issue_tmr() argument 260 rc = core_tmr_alloc_req(se_cmd, tl_tmr, tmr, GFP_KERNEL); in tcm_loop_issue_tmr() 264 if (tmr == TMR_ABORT_TASK) in tcm_loop_issue_tmr()
|
/drivers/video/fbdev/ |
D | cg14.c | 108 u32 tmr; /* Test Mode Read Back */ member
|