Searched refs:scm (Results 1 – 6 of 6) sorted by relevance
/drivers/scsi/csiostor/ |
D | csio_scsi.h | 202 csio_get_scsi_ioreq(struct csio_scsim *scm) in csio_get_scsi_ioreq() argument 206 if (likely(!list_empty(&scm->ioreq_freelist))) { in csio_get_scsi_ioreq() 207 req = list_first_entry(&scm->ioreq_freelist, in csio_get_scsi_ioreq() 210 CSIO_DEC_STATS(scm, n_free_ioreq); in csio_get_scsi_ioreq() 217 csio_put_scsi_ioreq(struct csio_scsim *scm, struct csio_ioreq *ioreq) in csio_put_scsi_ioreq() argument 219 list_add_tail(&ioreq->sm.sm_list, &scm->ioreq_freelist); in csio_put_scsi_ioreq() 220 CSIO_INC_STATS(scm, n_free_ioreq); in csio_put_scsi_ioreq() 224 csio_put_scsi_ioreq_list(struct csio_scsim *scm, struct list_head *reqlist, in csio_put_scsi_ioreq_list() argument 227 list_splice_init(reqlist, &scm->ioreq_freelist); in csio_put_scsi_ioreq_list() 228 scm->stats.n_free_ioreq += n; in csio_put_scsi_ioreq_list() [all …]
|
D | csio_scsi.c | 118 csio_scsi_gather_active_ios(struct csio_scsim *scm, in csio_scsi_gather_active_ios() argument 124 if (list_empty(&scm->active_q)) in csio_scsi_gather_active_ios() 129 list_splice_tail_init(&scm->active_q, dest); in csio_scsi_gather_active_ios() 133 list_for_each_safe(tmp, next, &scm->active_q) { in csio_scsi_gather_active_ios() 776 struct csio_scsim *scm = csio_hw_to_scsim(hw); in csio_scsis_io_active() local 781 CSIO_DEC_STATS(scm, n_active); in csio_scsis_io_active() 834 CSIO_DEC_STATS(scm, n_active); in csio_scsis_io_active() 848 struct csio_scsim *scm = csio_hw_to_scsim(hw); in csio_scsis_tm_active() local 852 CSIO_DEC_STATS(scm, n_tm_active); in csio_scsis_tm_active() 877 CSIO_DEC_STATS(scm, n_tm_active); in csio_scsis_tm_active() [all …]
|
D | csio_isr.c | 217 struct csio_scsim *scm; in csio_scsi_isr_handler() local 221 scm = csio_hw_to_scsim(hw); in csio_scsi_isr_handler() 234 csio_put_scsi_ddp_list_lock(hw, scm, &ioreq->gen_list, in csio_scsi_isr_handler() 240 csio_put_scsi_ioreq_list_lock(hw, scm, &cbfn_q, in csio_scsi_isr_handler()
|
/drivers/firmware/ |
D | qcom_scm.c | 1373 static int qcom_scm_waitq_wakeup(struct qcom_scm *scm, unsigned int wq_ctx) in qcom_scm_waitq_wakeup() argument 1389 struct qcom_scm *scm = data; in qcom_scm_irq_handler() local 1395 dev_err(scm->dev, "GET_WQ_CTX SMC call failed: %d\n", ret); in qcom_scm_irq_handler() 1401 dev_err(scm->dev, "Invalid flags found for wq_ctx: %u\n", flags); in qcom_scm_irq_handler() 1405 ret = qcom_scm_waitq_wakeup(scm, wq_ctx); in qcom_scm_irq_handler() 1416 struct qcom_scm *scm; in qcom_scm_probe() local 1419 scm = devm_kzalloc(&pdev->dev, sizeof(*scm), GFP_KERNEL); in qcom_scm_probe() 1420 if (!scm) in qcom_scm_probe() 1423 scm->dev = &pdev->dev; in qcom_scm_probe() 1424 ret = qcom_scm_find_dload_address(&pdev->dev, &scm->dload_mode_addr); in qcom_scm_probe() [all …]
|
D | Makefile | 21 obj-$(CONFIG_QCOM_SCM) += qcom-scm.o 22 qcom-scm-objs += qcom_scm.o qcom_scm-smc.o qcom_scm-legacy.o
|
/drivers/s390/cio/ |
D | Makefile | 17 obj-$(CONFIG_SCM_BUS) += scm.o
|