Home
last modified time | relevance | path

Searched refs:sci (Results 1 – 19 of 19) sorted by relevance

/drivers/reset/
Dreset-ti-sci.c47 const struct ti_sci_handle *sci; member
74 const struct ti_sci_handle *sci = data->sci; in ti_sci_reset_set() local
75 const struct ti_sci_dev_ops *dev_ops = &sci->ops.dev_ops; in ti_sci_reset_set()
86 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_set()
95 ret = dev_ops->set_device_resets(sci, control->dev_id, reset_state); in ti_sci_reset_set()
155 const struct ti_sci_handle *sci = data->sci; in ti_sci_reset_status() local
156 const struct ti_sci_dev_ops *dev_ops = &sci->ops.dev_ops; in ti_sci_reset_status()
165 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_status()
229 data->sci = devm_ti_sci_get_handle(&pdev->dev); in ti_sci_reset_probe()
230 if (IS_ERR(data->sci)) in ti_sci_reset_probe()
[all …]
DMakefile26 obj-$(CONFIG_RESET_TI_SCI) += reset-ti-sci.o
/drivers/irqchip/
Dirq-ti-sci-intr.c40 const struct ti_sci_handle *sci; member
100 intr->sci->ops.rm_irq_ops.free_irq(intr->sci, dev_id, irq_index, in ti_sci_intr_irq_domain_free()
141 err = intr->sci->ops.rm_irq_ops.set_irq(intr->sci, dev_id, irq_index, in ti_sci_intr_alloc_gic_irq()
224 intr->sci = devm_ti_sci_get_by_phandle(dev, "ti,sci"); in ti_sci_intr_irq_domain_probe()
225 if (IS_ERR(intr->sci)) { in ti_sci_intr_irq_domain_probe()
226 ret = PTR_ERR(intr->sci); in ti_sci_intr_irq_domain_probe()
229 intr->sci = NULL; in ti_sci_intr_irq_domain_probe()
240 intr->dst_irq = devm_ti_sci_get_of_resource(intr->sci, dev, in ti_sci_intr_irq_domain_probe()
Dirq-ti-sci-inta.c87 const struct ti_sci_handle *sci; member
202 err = inta->sci->ops.rm_irq_ops.set_event_map(inta->sci, in ti_sci_inta_alloc_event()
297 inta->sci->ops.rm_irq_ops.free_event_map(inta->sci, in ti_sci_inta_free_irq()
541 inta->sci = devm_ti_sci_get_by_phandle(dev, "ti,sci"); in ti_sci_inta_irq_domain_probe()
542 if (IS_ERR(inta->sci)) { in ti_sci_inta_irq_domain_probe()
543 ret = PTR_ERR(inta->sci); in ti_sci_inta_irq_domain_probe()
546 inta->sci = NULL; in ti_sci_inta_irq_domain_probe()
556 inta->vint = devm_ti_sci_get_of_resource(inta->sci, dev, pdev->id, in ti_sci_inta_irq_domain_probe()
563 inta->global_event = devm_ti_sci_get_of_resource(inta->sci, dev, pdev->id, in ti_sci_inta_irq_domain_probe()
DMakefile104 obj-$(CONFIG_TI_SCI_INTR_IRQCHIP) += irq-ti-sci-intr.o
105 obj-$(CONFIG_TI_SCI_INTA_IRQCHIP) += irq-ti-sci-inta.o
/drivers/spi/
Dspi-s3c64xx.c928 struct s3c64xx_spi_info *sci = sdd->cntrlr_info; in s3c64xx_spi_hwinit() local
934 if (sci->no_cs) in s3c64xx_spi_hwinit()
943 writel(sci->src_clk_nr << S3C64XX_SPI_CLKSEL_SRCSHFT, in s3c64xx_spi_hwinit()
970 struct s3c64xx_spi_info *sci; in s3c64xx_spi_parse_dt() local
973 sci = devm_kzalloc(dev, sizeof(*sci), GFP_KERNEL); in s3c64xx_spi_parse_dt()
974 if (!sci) in s3c64xx_spi_parse_dt()
979 sci->src_clk_nr = 0; in s3c64xx_spi_parse_dt()
981 sci->src_clk_nr = temp; in s3c64xx_spi_parse_dt()
986 sci->num_cs = 1; in s3c64xx_spi_parse_dt()
988 sci->num_cs = temp; in s3c64xx_spi_parse_dt()
[all …]
DMakefile98 obj-$(CONFIG_SPI_SH_SCI) += spi-sh-sci.o
/drivers/net/
Dmacsec.c75 sci_t sci; member
167 sci_t sci; member
240 sci_t sci; member
409 sci_t sci; in make_sci() local
411 memcpy(&sci, addr, ETH_ALEN); in make_sci()
412 memcpy(((char *)&sci) + ETH_ALEN, &port, sizeof(port)); in make_sci()
414 return sci; in make_sci()
419 sci_t sci; in macsec_frame_sci() local
422 memcpy(&sci, hdr->secure_channel_id, in macsec_frame_sci()
425 sci = make_sci(hdr->eth.h_source, MACSEC_PORT_ES); in macsec_frame_sci()
[all …]
/drivers/clk/keystone/
Dsci-clk.c41 const struct ti_sci_handle *sci; member
83 return clk->provider->ops->get_clock(clk->provider->sci, clk->dev_id, in sci_clk_prepare()
100 ret = clk->provider->ops->put_clock(clk->provider->sci, clk->dev_id, in sci_clk_unprepare()
121 ret = clk->provider->ops->is_on(clk->provider->sci, clk->dev_id, in sci_clk_is_prepared()
149 ret = clk->provider->ops->get_freq(clk->provider->sci, clk->dev_id, in sci_clk_recalc_rate()
178 ret = clk->provider->ops->get_best_match_freq(clk->provider->sci, in sci_clk_determine_rate()
211 return clk->provider->ops->set_freq(clk->provider->sci, clk->dev_id, in sci_clk_set_rate()
227 ret = clk->provider->ops->get_parent(clk->provider->sci, clk->dev_id, in sci_clk_get_parent()
252 return clk->provider->ops->set_parent(clk->provider->sci, clk->dev_id, in sci_clk_set_parent()
427 ret = provider->ops->get_num_parents(provider->sci, dev_id, in ti_sci_scan_clocks_from_fw()
[all …]
DMakefile3 obj-$(CONFIG_TI_SCI_CLK) += sci-clk.o
/drivers/infiniband/hw/hfi1/
Dpio.c476 struct send_context_info *sci = in init_send_contexts() local
478 sci->type = i; in init_send_contexts()
479 sci->base = base; in init_send_contexts()
480 sci->credits = scs->size; in init_send_contexts()
498 struct send_context_info *sci; in sc_hw_alloc() local
502 for (index = 0, sci = &dd->send_contexts[0]; in sc_hw_alloc()
503 index < dd->num_send_contexts; index++, sci++) { in sc_hw_alloc()
504 if (sci->type == type && sci->allocated == 0) { in sc_hw_alloc()
505 sci->allocated = 1; in sc_hw_alloc()
525 struct send_context_info *sci; in sc_hw_free() local
[all …]
Ddebugfs.c441 struct send_context_info *sci; in _pios_seq_show() local
447 sci = &dd->send_contexts[i]; in _pios_seq_show()
448 if (sci && sci->type != SC_USER && sci->allocated && sci->sc) in _pios_seq_show()
449 seqfile_dump_sci(s, i, sci); in _pios_seq_show()
Dpio.h335 struct send_context_info *sci);
Dchip.c5796 struct send_context_info *sci; in sc_to_vl() local
5800 sci = &dd->send_contexts[sw_index]; in sc_to_vl()
5803 if ((sci->type != SC_KERNEL) && (sci->type != SC_VL15)) in sc_to_vl()
5806 sc = sci->sc; in sc_to_vl()
5960 struct send_context_info *sci; in is_sendctxt_err_int() local
5975 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int()
5977 sc = sci->sc; in is_sendctxt_err_int()
/drivers/crypto/caam/
Dpdb.h310 u64 sci; member
323 u64 sci; member
/drivers/tty/serial/
Dsh-sci.c1099 struct sci_port *sci = to_sci_port(port); in rx_fifo_trigger_show() local
1101 return sprintf(buf, "%d\n", sci->rx_trigger); in rx_fifo_trigger_show()
1109 struct sci_port *sci = to_sci_port(port); in rx_fifo_trigger_store() local
1117 sci->rx_trigger = scif_set_rtrg(port, r); in rx_fifo_trigger_store()
1131 struct sci_port *sci = to_sci_port(port); in rx_fifo_timeout_show() local
1135 v = sci->hscif_tot >> HSSCR_TOT_SHIFT; in rx_fifo_timeout_show()
1137 v = sci->rx_fifo_timeout; in rx_fifo_timeout_show()
1148 struct sci_port *sci = to_sci_port(port); in rx_fifo_timeout_store() local
1159 sci->hscif_tot = r << HSSCR_TOT_SHIFT; in rx_fifo_timeout_store()
1161 sci->rx_fifo_timeout = r; in rx_fifo_timeout_store()
[all …]
DMakefile43 obj-$(CONFIG_SERIAL_SH_SCI) += sh-sci.o
/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c611 NPCM7XX_GRP(sci), \
754 NPCM7XX_SFUNC(sci);
872 NPCM7XX_MKFUNC(sci),
1100 NPCM7XX_PINCFG(170, sci, MFSEL1, 22, none, NONE, 0, none, NONE, 0, 0),
/drivers/usb/serial/
Dcp210x.c443 u8 sci; member
1535 if (mode.sci == CP210X_PIN_MODE_MODEM) { in cp2105_gpioconf_init()