Home
last modified time | relevance | path

Searched refs:ssr (Results 1 – 18 of 18) sorted by relevance

/drivers/rpmsg/
Dqcom_glink_ssr.c75 struct glink_ssr *ssr = dev_get_drvdata(&rpdev->dev); in qcom_glink_ssr_callback() local
78 dev_err(ssr->dev, "message too short\n"); in qcom_glink_ssr_callback()
88 if (le32_to_cpu(msg->seq_num) != ssr->seq_num) { in qcom_glink_ssr_callback()
89 dev_err(ssr->dev, "invalid sequence number of response\n"); in qcom_glink_ssr_callback()
93 complete(&ssr->completion); in qcom_glink_ssr_callback()
102 struct glink_ssr *ssr = container_of(nb, struct glink_ssr, nb); in qcom_glink_ssr_notifier_call() local
107 ssr->seq_num++; in qcom_glink_ssr_notifier_call()
108 reinit_completion(&ssr->completion); in qcom_glink_ssr_notifier_call()
112 msg.seq_num = cpu_to_le32(ssr->seq_num); in qcom_glink_ssr_notifier_call()
116 ret = rpmsg_send(ssr->ept, &msg, sizeof(msg)); in qcom_glink_ssr_notifier_call()
[all …]
/drivers/remoteproc/
Dqcom_common.c431 struct qcom_rproc_ssr *ssr = to_ssr_subdev(subdev); in ssr_notify_prepare() local
433 .name = ssr->info->name, in ssr_notify_prepare()
437 srcu_notifier_call_chain(&ssr->info->notifier_list, in ssr_notify_prepare()
444 struct qcom_rproc_ssr *ssr = to_ssr_subdev(subdev); in ssr_notify_start() local
446 .name = ssr->info->name, in ssr_notify_start()
450 srcu_notifier_call_chain(&ssr->info->notifier_list, in ssr_notify_start()
457 struct qcom_rproc_ssr *ssr = to_ssr_subdev(subdev); in ssr_notify_stop() local
459 .name = ssr->info->name, in ssr_notify_stop()
463 srcu_notifier_call_chain(&ssr->info->notifier_list, in ssr_notify_stop()
469 struct qcom_rproc_ssr *ssr = to_ssr_subdev(subdev); in ssr_notify_unprepare() local
[all …]
Dqcom_common.h51 void qcom_add_ssr_subdev(struct rproc *rproc, struct qcom_rproc_ssr *ssr,
53 void qcom_remove_ssr_subdev(struct rproc *rproc, struct qcom_rproc_ssr *ssr);
/drivers/scsi/arm/
Dacornscsi.c457 void print_scsi_status(unsigned int ssr) in print_scsi_status() argument
459 if (acornscsi_map[ssr] != -1) in print_scsi_status()
461 acornscsi_interrupttype[(ssr >> 4)], in print_scsi_status()
462 acornscsi_interruptcode[acornscsi_map[ssr]]); in print_scsi_status()
464 printk("%X:%X", ssr >> 4, ssr & 0x0f); in print_scsi_status()
469 void print_sbic_status(int asr, int ssr, int cmdphase) in print_sbic_status() argument
480 print_scsi_status(ssr); in print_sbic_status()
484 asr, (ssr & 0xf0)>>4, ssr & 0x0f, cmdphase); in print_sbic_status()
516 printk(" %02X", host->status[target][ptr].ssr); in acornscsi_dumplogline()
1875 unsigned int asr, ssr; in acornscsi_sbicintr() local
[all …]
Dacornscsi.h255 unsigned char ssr; member
264 host->status[(_q)][host->status_ptr[(_q)]].ssr = (_ssr); \
Dfas216.c352 static struct { int stat, ssr, isr, ph; } ph_list[PH_SIZE]; member
355 static void add_debug_list(int stat, int ssr, int isr, int ph) in add_debug_list() argument
358 ph_list[ph_ptr].ssr = ssr; in add_debug_list()
387 ph_list[i].stat, ph_list[i].ssr, in print_debug_list()
/drivers/net/ethernet/ibm/emac/
Drgmii.c113 u32 ssr; in rgmii_set_speed() local
117 ssr = in_be32(&p->ssr) & ~RGMII_SSR_MASK(input); in rgmii_set_speed()
122 ssr |= RGMII_SSR_1000(input); in rgmii_set_speed()
124 ssr |= RGMII_SSR_100(input); in rgmii_set_speed()
126 ssr |= RGMII_SSR_10(input); in rgmii_set_speed()
128 out_be32(&p->ssr, ssr); in rgmii_set_speed()
255 in_be32(&dev->base->fer), in_be32(&dev->base->ssr)); in rgmii_probe()
Dzmii.c175 u32 ssr; in zmii_set_speed() local
179 ssr = in_be32(&dev->base->ssr); in zmii_set_speed()
184 ssr |= ZMII_SSR_SP(input); in zmii_set_speed()
186 ssr &= ~ZMII_SSR_SP(input); in zmii_set_speed()
188 out_be32(&dev->base->ssr, ssr); in zmii_set_speed()
Drgmii.h32 u32 ssr; /* Speed select register */ member
Dzmii.h25 u32 ssr; /* Speed select reg */ member
/drivers/hsi/controllers/
Domap_ssi_port.c351 if (omap_port->ssr.mode != SSI_MODE_FRAME) { in ssi_async_break()
390 BUG_ON(msg->channel >= omap_port->ssr.channels); in ssi_async()
455 void __iomem *ssr = omap_port->ssr_base; in ssi_setup() local
473 writel_relaxed(SSI_MODE_SLEEP, ssr + SSI_SSR_MODE_REG); in ssi_setup()
475 val = readl(ssr + SSI_SSR_MODE_REG); in ssi_setup()
483 writel_relaxed(31, ssr + SSI_SSR_FRAMESIZE_REG); in ssi_setup()
484 writel_relaxed(cl->rx_cfg.num_hw_channels, ssr + SSI_SSR_CHANNELS_REG); in ssi_setup()
485 writel_relaxed(0, ssr + SSI_SSR_TIMEOUT_REG); in ssi_setup()
487 if ((omap_port->ssr.mode == SSI_MODE_FRAME) && in ssi_setup()
490 writel_relaxed(cl->rx_cfg.mode, ssr + SSI_SSR_MODE_REG); in ssi_setup()
[all …]
Domap_ssi.h100 struct omap_ssm_ctx ssr; member
/drivers/mmc/core/
Dsd_ops.h22 int mmc_app_sd_status(struct mmc_card *card, void *ssr);
Dsd_ops.c328 int mmc_app_sd_status(struct mmc_card *card, void *ssr) in mmc_app_sd_status() argument
355 sg_init_one(&sg, ssr, 64); in mmc_app_sd_status()
Dcore.c1473 if (mmc_card_sd(card) && card->ssr.au) { in mmc_init_erase()
1474 card->pref_erase = card->ssr.au; in mmc_init_erase()
1475 card->erase_shift = ffs(card->ssr.au) - 1; in mmc_init_erase()
1578 if (card->ssr.erase_timeout) { in mmc_sd_erase_timeout()
1580 erase_timeout = card->ssr.erase_timeout * qty + in mmc_sd_erase_timeout()
1581 card->ssr.erase_offset; in mmc_sd_erase_timeout()
Dsd.c297 card->ssr.au = sd_au_size[au]; in mmc_read_ssr()
302 card->ssr.erase_timeout = (et * 1000) / es; in mmc_read_ssr()
303 card->ssr.erase_offset = eo * 1000; in mmc_read_ssr()
698 MMC_DEV_ATTR(ssr,
/drivers/media/common/saa7146/
Dsaa7146_core.c310 u32 ssr = saa7146_read(dev, SSR); in interrupt_hw() local
312 dev->name, isr, psr, ssr); in interrupt_hw()
/drivers/tty/serial/
Dsh-sci.c1724 u16 ssr = serial_port_in(port, SCxSR); in sci_rx_interrupt() local
1745 ssr & ~(SCIF_DR | SCxSR_RDxF(port))); in sci_rx_interrupt()