Searched defs:tmr (Results 1 - 11 of 11) sorted by relevance

/drivers/target/
H A Dtarget_core_tmr.c49 struct se_tmr_req *tmr; local
51 tmr = kmem_cache_zalloc(se_tmr_req_cache, gfp_flags);
52 if (!tmr) {
56 tmr->task_cmd = se_cmd;
57 tmr->fabric_tmr_ptr = fabric_tmr_ptr;
58 tmr->function = function;
59 INIT_LIST_HEAD(&tmr->tmr_list);
61 return tmr;
66 struct se_tmr_req *tmr)
68 struct se_device *dev = tmr
65 core_tmr_release_req( struct se_tmr_req *tmr) argument
118 core_tmr_drain_tmr_list( struct se_device *dev, struct se_tmr_req *tmr, struct list_head *preempt_and_abort_list) argument
362 core_tmr_lun_reset( struct se_device *dev, struct se_tmr_req *tmr, struct list_head *preempt_and_abort_list, struct se_cmd *prout_cmd) argument
[all...]
H A Dtarget_core_transport.c4652 struct se_tmr_req *tmr = cmd->se_tmr_req; local
4655 switch (tmr->function) {
4657 tmr->response = TMR_FUNCTION_REJECTED;
4662 tmr->response = TMR_TASK_MGMT_FUNCTION_NOT_SUPPORTED;
4665 ret = core_tmr_lun_reset(dev, tmr, NULL, NULL);
4666 tmr->response = (!ret) ? TMR_FUNCTION_COMPLETE :
4670 tmr->response = TMR_FUNCTION_REJECTED;
4673 tmr->response = TMR_FUNCTION_REJECTED;
4677 tmr->function);
4678 tmr
[all...]
/drivers/scsi/isci/
H A Dport_config.c325 struct sci_timer *tmr = (struct sci_timer *)data; local
331 port_agent = container_of(tmr, typeof(*port_agent), timer);
336 if (tmr->cancel)
671 struct sci_timer *tmr = (struct sci_timer *)data; local
677 port_agent = container_of(tmr, typeof(*port_agent), timer);
682 if (tmr->cancel)
H A Dphy.c297 struct sci_timer *tmr = (struct sci_timer *)data; local
298 struct isci_phy *iphy = container_of(tmr, typeof(*iphy), sata_timer);
304 if (tmr->cancel)
H A Disci.h501 void sci_init_timer(struct sci_timer *tmr, void (*fn)(unsigned long)) argument
503 tmr->timer.function = fn;
504 tmr->timer.data = (unsigned long) tmr;
505 tmr->cancel = 0;
506 init_timer(&tmr->timer);
509 static inline void sci_mod_timer(struct sci_timer *tmr, unsigned long msec) argument
511 tmr->cancel = 0;
512 mod_timer(&tmr->timer, jiffies + msecs_to_jiffies(msec));
515 static inline void sci_del_timer(struct sci_timer *tmr) argument
[all...]
H A Dport.c811 struct sci_timer *tmr = (struct sci_timer *)data; local
812 struct isci_port *iport = container_of(tmr, typeof(*iport), timer);
819 if (tmr->cancel)
H A Dhost.c961 struct sci_timer *tmr = (struct sci_timer *)data; local
962 struct isci_host *ihost = container_of(tmr, typeof(*ihost), phy_timer);
968 if (tmr->cancel)
1707 struct sci_timer *tmr = (struct sci_timer *)data; local
1708 struct isci_host *ihost = container_of(tmr, typeof(*ihost), timer);
1714 if (tmr->cancel)
1876 struct sci_timer *tmr = (struct sci_timer *)data; local
1877 struct isci_host *ihost = container_of(tmr, typeof(*ihost), power_control.timer);
1884 if (tmr->cancel)
1941 sci_mod_timer(tmr, SCIC_SDS_CONTROLLER_POWER_CONTROL_INTERVA
[all...]
/drivers/target/tcm_fc/
H A Dtfc_cmd.c361 struct se_tmr_req *tmr; local
400 tmr = core_tmr_alloc_req(&cmd->se_cmd, cmd, tm_func, GFP_KERNEL);
401 if (!tmr) {
406 cmd->se_cmd.se_tmr_req = tmr;
445 struct se_tmr_req *tmr = se_cmd->se_tmr_req; local
448 switch (tmr->response) {
467 pr_debug("tmr fn %d resp %d fcp code %d\n",
468 tmr->function, tmr->response, code);
/drivers/tty/serial/
H A Daltera_uart.c83 struct timer_list tmr; member in struct:altera_uart
293 mod_timer(&pp->tmr, jiffies + uart_poll_timeout(port));
313 setup_timer(&pp->tmr, altera_uart_timer, (unsigned long)port);
314 mod_timer(&pp->tmr, jiffies + uart_poll_timeout(port));
353 del_timer_sync(&pp->tmr);
/drivers/video/
H A Dcg14.c108 u32 tmr; /* Test Mode Read Back */ member in struct:cg14_regs
/drivers/net/tokenring/
H A Dibmtr.c203 static void ibmtr_reset_timer(struct timer_list*tmr,struct net_device *dev);
1840 static void ibmtr_reset_timer(struct timer_list *tmr, struct net_device *dev) argument
1842 tmr->expires = jiffies + TR_RETRY_INTERVAL;
1843 tmr->data = (unsigned long) dev;
1844 tmr->function = tok_rerun;
1845 init_timer(tmr);
1846 add_timer(tmr);

Completed in 107 milliseconds