Home
last modified time | relevance | path

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

1234

/linux/fs/nilfs2/
H A Dsegment.c90 static inline void nilfs_sc_cstage_inc(struct nilfs_sc_info *sci) in nilfs_sc_cstage_inc() argument
92 sci->sc_stage.scnt++; in nilfs_sc_cstage_inc()
93 trace_nilfs2_collection_stage_transition(sci); in nilfs_sc_cstage_inc()
96 static inline void nilfs_sc_cstage_set(struct nilfs_sc_info *sci, int next_scnt) in nilfs_sc_cstage_set() argument
98 sci->sc_stage.scnt = next_scnt; in nilfs_sc_cstage_set()
99 trace_nilfs2_collection_stage_transition(sci); in nilfs_sc_cstage_set()
102 static inline int nilfs_sc_cstage_get(struct nilfs_sc_info *sci) in nilfs_sc_cstage_get() argument
104 return sci->sc_stage.scnt; in nilfs_sc_cstage_get()
271 struct nilfs_sc_info *sci = nilfs->ns_writer; in nilfs_transaction_commit() local
274 nilfs_segctor_start_timer(sci); in nilfs_transaction_commit()
[all …]
/linux/drivers/net/netdevsim/
H A Dmacsec.c6 static int nsim_macsec_find_secy(struct netdevsim *ns, sci_t sci) in nsim_macsec_find_secy() argument
11 if (ns->macsec.nsim_secy[i].sci == sci) in nsim_macsec_find_secy()
18 static int nsim_macsec_find_rxsc(struct nsim_secy *ns_secy, sci_t sci) in nsim_macsec_find_rxsc() argument
23 if (ns_secy->nsim_rxsc[i].sci == sci) in nsim_macsec_find_rxsc()
50 __func__, sci_to_cpu(ctx->secy->sci), idx); in nsim_macsec_add_secy()
53 ns->macsec.nsim_secy[idx].sci = ctx->secy->sci; in nsim_macsec_add_secy()
64 idx = nsim_macsec_find_secy(ns, ctx->secy->sci); in nsim_macsec_upd_secy()
67 __func__, sci_to_cpu(ctx->secy->sci)); in nsim_macsec_upd_secy()
72 __func__, sci_to_cpu(ctx->secy->sci), idx); in nsim_macsec_upd_secy()
82 idx = nsim_macsec_find_secy(ns, ctx->secy->sci); in nsim_macsec_del_secy()
[all …]
/linux/drivers/remoteproc/
H A Dti_sci_proc.h24 const struct ti_sci_handle *sci; member
33 const struct ti_sci_handle *sci) in ti_sci_proc_of_get_tsp() argument
49 tsp->sci = sci; in ti_sci_proc_of_get_tsp()
50 tsp->ops = &sci->ops.proc_ops; in ti_sci_proc_of_get_tsp()
61 ret = tsp->ops->request(tsp->sci, tsp->proc_id); in ti_sci_proc_request()
72 ret = tsp->ops->release(tsp->sci, tsp->proc_id); in ti_sci_proc_release()
83 ret = tsp->ops->handover(tsp->sci, tsp->proc_id, tsp->host_id); in ti_sci_proc_handover()
96 ret = tsp->ops->set_config(tsp->sci, tsp->proc_id, boot_vector, in ti_sci_proc_set_config()
109 ret = tsp->ops->set_control(tsp->sci, tsp->proc_id, ctrl_set, ctrl_clr); in ti_sci_proc_set_control()
122 ret = tsp->ops->get_status(tsp->sci, tsp->proc_id, boot_vector, in ti_sci_proc_get_status()
/linux/drivers/reset/
H A Dreset-ti-sci.c39 const struct ti_sci_handle *sci; member
66 const struct ti_sci_handle *sci = data->sci; in ti_sci_reset_set() local
67 const struct ti_sci_dev_ops *dev_ops = &sci->ops.dev_ops; in ti_sci_reset_set()
78 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_set()
87 ret = dev_ops->set_device_resets(sci, control->dev_id, reset_state); in ti_sci_reset_set()
147 const struct ti_sci_handle *sci = data->sci; in ti_sci_reset_status() local
148 const struct ti_sci_dev_ops *dev_ops = &sci->ops.dev_ops; in ti_sci_reset_status()
157 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_status()
221 data->sci = devm_ti_sci_get_handle(&pdev->dev); in ti_sci_reset_probe()
222 if (IS_ERR(data->sci)) in ti_sci_reset_probe()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c65 sci_t sci; member
82 sci_t sci; member
135 __be64 sci; member
268 MLX5_SET64(macsec_offload_obj, obj, sci, (__force u64)attrs->ssci); in mlx5e_macsec_create_object()
273 MLX5_SET64(macsec_offload_obj, obj, sci, (__force u64)(attrs->sci)); in mlx5e_macsec_create_object()
351 rule_attrs.sci = sa->sci; in mlx5e_macsec_init_sa_fs()
376 obj_attrs.sci = cpu_to_be64((__force u64)sa->sci); in mlx5e_macsec_init_sa()
409 mlx5e_macsec_get_rx_sc_from_sc_list(const struct list_head *list, sci_t sci) in mlx5e_macsec_get_rx_sc_from_sc_list() argument
414 if (iter->sci == sci) in mlx5e_macsec_get_rx_sc_from_sc_list()
541 tx_sa->sci = secy->sci; in mlx5e_macsec_add_txsa()
[all …]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am65-wakeup.dtsi10 compatible = "ti,am654-sci";
22 compatible = "ti,sci-pm-domain";
28 compatible = "ti,k2g-sci-clk";
34 compatible = "ti,sci-reset";
83 compatible = "ti,sci-intr";
89 ti,sci = <&dmsc>;
90 ti,sci-dev-id = <156>;
H A Dk3-j721s2-mcu-wakeup.dtsi10 compatible = "ti,k2g-sci";
22 compatible = "ti,sci-pm-domain";
28 compatible = "ti,k2g-sci-clk";
34 compatible = "ti,sci-reset";
137 compatible = "ti,sci-intr";
143 ti,sci = <&sms>;
144 ti,sci-dev-id = <125>;
470 ti,sci-dev-id = <267>;
482 ti,sci-rm-range-gp-rings = <0x1>;
483 ti,sci = <&sms>;
[all …]
H A Dk3-j784s4-j742s2-mcu-wakeup-common.dtsi10 compatible = "ti,k2g-sci";
23 compatible = "ti,sci-pm-domain";
29 compatible = "ti,k2g-sci-clk";
35 compatible = "ti,sci-reset";
115 compatible = "ti,sci-intr";
121 ti,sci = <&sms>;
122 ti,sci-dev-id = <177>;
465 ti,sci-dev-id = <323>;
479 ti,sci-rm-range-gp-rings = <0x1>;
480 ti,sci = <&sms>;
[all …]
H A Dk3-j7200-mcu-wakeup.dtsi10 compatible = "ti,k2g-sci";
22 compatible = "ti,sci-pm-domain";
28 compatible = "ti,k2g-sci-clk";
34 compatible = "ti,sci-reset";
296 compatible = "ti,sci-intr";
302 ti,sci = <&dmsc>;
303 ti,sci-dev-id = <137>;
348 ti,sci-dev-id = <232>;
361 ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
362 ti,sci = <&dmsc>;
[all …]
H A Dk3-j721e-mcu-wakeup.dtsi10 compatible = "ti,k2g-sci";
22 compatible = "ti,sci-pm-domain";
28 compatible = "ti,k2g-sci-clk";
34 compatible = "ti,sci-reset";
273 compatible = "ti,sci-intr";
279 ti,sci = <&dmsc>;
280 ti,sci-dev-id = <137>;
469 ti,sci-dev-id = <232>;
481 ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
482 ti,sci = <&dmsc>;
[all …]
H A Dk3-am62p-j722s-common-main.dtsi88 ti,sci-dev-id = <25>;
103 compatible = "ti,sci-inta";
109 ti,sci = <&dmsc>;
110 ti,sci-dev-id = <28>;
130 ti,sci = <&dmsc>;
131 ti,sci-dev-id = <26>;
132 ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */
133 ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
134 ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */
154 ti,sci = <&dmsc>;
[all …]
H A Dk3-am62a-main.dtsi89 ti,sci-dev-id = <25>;
104 compatible = "ti,sci-inta";
110 ti,sci = <&dmsc>;
111 ti,sci-dev-id = <28>;
131 ti,sci = <&dmsc>;
132 ti,sci-dev-id = <26>;
133 ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */
134 ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
135 ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */
155 ti,sci = <&dmsc>;
[all …]
H A Dk3-am65-mcu.dtsi198 ti,sci-dev-id = <119>;
210 ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
211 ti,sci = <&dmsc>;
212 ti,sci-dev-id = <195>;
229 ti,sci = <&dmsc>;
230 ti,sci-dev-id = <194>;
233 ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */
235 ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */
237 ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */
420 ti,sci = <&dmsc>;
[all …]
H A Dk3-am64-main.dtsi114 ti,sci-dev-id = <25>;
129 compatible = "ti,sci-inta";
135 ti,sci = <&dmsc>;
136 ti,sci-dev-id = <28>;
157 ti,sci = <&dmsc>;
158 ti,sci-dev-id = <26>;
159 ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */
160 ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
161 ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */
179 ti,sci = <&dmsc>;
[all …]
H A Dk3-am64-mcu.dtsi121 compatible = "ti,sci-intr";
127 ti,sci = <&dmsc>;
128 ti,sci-dev-id = <5>;
172 ti,sci = <&dmsc>;
173 ti,sci-dev-id = <9>;
174 ti,sci-proc-ids = <0x18 0xff>;
H A Dk3-j722s-main.dtsi365 ti,sci = <&dmsc>;
366 ti,sci-dev-id = <262>;
367 ti,sci-proc-ids = <0x04 0xff>;
381 ti,sci = <&dmsc>;
382 ti,sci-dev-id = <208>;
383 ti,sci-proc-ids = <0x30 0xff>;
393 ti,sci = <&dmsc>;
394 ti,sci-dev-id = <268>;
395 ti,sci-proc-ids = <0x31 0xff>;
417 ti,sci-rm-range-tchan = <0x22>;
H A Dk3-am62a-mcu.dtsi115 compatible = "ti,sci-intr";
121 ti,sci = <&dmsc>;
122 ti,sci-dev-id = <5>;
197 ti,sci = <&dmsc>;
198 ti,sci-dev-id = <9>;
199 ti,sci-proc-ids = <0x03 0xff>;
H A Dk3-am62-mcu.dtsi116 compatible = "ti,sci-intr";
122 ti,sci = <&dmsc>;
123 ti,sci-dev-id = <5>;
185 ti,sci = <&dmsc>;
186 ti,sci-dev-id = <9>;
187 ti,sci-proc-ids = <0x18 0xff>;
/linux/drivers/net/phy/
H A Dnxp-c45-tja11xx-macsec.c373 sci_t sci) in nxp_c45_find_secy() argument
378 if (pos->secy->sci == sci) in nxp_c45_find_secy()
590 sci_t sci) in nxp_c45_set_sci() argument
592 u64 lsci = sci_to_cpu(sci); in nxp_c45_set_sci()
598 static bool nxp_c45_port_is_1(sci_t sci) in nxp_c45_port_is_1() argument
600 u16 port = sci_to_cpu(sci); in nxp_c45_port_is_1()
622 if (!nxp_c45_port_is_1(phy_secy->secy->sci)) in nxp_c45_secy_valid()
626 return nxp_c45_port_is_1(phy_secy->rx_sc->sci); in nxp_c45_secy_valid()
930 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_dev_open()
955 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_dev_stop()
[all …]
/linux/include/trace/events/
H A Dnilfs2.h27 TP_PROTO(struct nilfs_sc_info *sci),
29 TP_ARGS(sci),
32 __field(void *, sci)
37 __entry->sci = sci;
38 __entry->stage = sci->sc_stage.scnt;
42 __entry->sci,
/linux/drivers/clk/keystone/
H A Dsci-clk.c32 const struct ti_sci_handle *sci; member
78 return clk->provider->ops->get_clock(clk->provider->sci, clk->dev_id, in sci_clk_prepare()
95 ret = clk->provider->ops->put_clock(clk->provider->sci, clk->dev_id, in sci_clk_unprepare()
116 ret = clk->provider->ops->is_on(clk->provider->sci, clk->dev_id, in sci_clk_is_prepared()
144 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()
214 return clk->provider->ops->set_freq(clk->provider->sci, clk->dev_id, in sci_clk_set_rate()
231 ret = clk->provider->ops->get_parent(clk->provider->sci, clk->dev_id, in sci_clk_get_parent()
258 return clk->provider->ops->set_parent(clk->provider->sci, clk->dev_id, in sci_clk_set_parent()
435 ret = provider->ops->get_num_parents(provider->sci, dev_id, in ti_sci_scan_clocks_from_fw()
[all …]
/linux/drivers/spi/
H A Dspi-s3c64xx.c1120 struct s3c64xx_spi_info *sci = sdd->cntrlr_info; in s3c64xx_spi_hwinit() local
1126 if (sci->no_cs) in s3c64xx_spi_hwinit()
1135 writel(sci->src_clk_nr << S3C64XX_SPI_CLKSEL_SRCSHFT, in s3c64xx_spi_hwinit()
1161 struct s3c64xx_spi_info *sci; in s3c64xx_spi_parse_dt() local
1164 sci = devm_kzalloc(dev, sizeof(*sci), GFP_KERNEL); in s3c64xx_spi_parse_dt()
1165 if (!sci) in s3c64xx_spi_parse_dt()
1170 sci->src_clk_nr = 0; in s3c64xx_spi_parse_dt()
1172 sci->src_clk_nr = temp; in s3c64xx_spi_parse_dt()
1177 sci->num_cs = 1; in s3c64xx_spi_parse_dt()
1179 sci->num_cs = temp; in s3c64xx_spi_parse_dt()
[all …]
/linux/drivers/net/
H A Dmacsec.c76 sci_t sci; member
242 sci_t sci; in make_sci() local
244 memcpy(&sci, addr, ETH_ALEN); in make_sci()
245 memcpy(((char *)&sci) + ETH_ALEN, &port, sizeof(port)); in make_sci()
247 return sci; in make_sci()
256 return (rx_sc->active) ? rx_sc->sci : 0; in macsec_active_sci()
266 sci_t sci = 0; in macsec_frame_sci() local
270 memcpy(&sci, hdr->secure_channel_id, in macsec_frame_sci()
281 sci = make_sci(hdr->eth.h_source, MACSEC_PORT_ES); in macsec_frame_sci()
284 return sci; in macsec_frame_sci()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dpio.c433 struct send_context_info *sci = in init_send_contexts() local
435 sci->type = i; in init_send_contexts()
436 sci->base = base; in init_send_contexts()
437 sci->credits = scs->size; in init_send_contexts()
455 struct send_context_info *sci; in sc_hw_alloc() local
459 for (index = 0, sci = &dd->send_contexts[0]; in sc_hw_alloc()
460 index < dd->num_send_contexts; index++, sci++) { in sc_hw_alloc()
461 if (sci->type == type && sci->allocated == 0) { in sc_hw_alloc()
462 sci->allocated = 1; in sc_hw_alloc()
482 struct send_context_info *sci; in sc_hw_free() local
[all …]
/linux/drivers/irqchip/
H A Dirq-ti-sci-inta.c101 const struct ti_sci_handle *sci; member
298 err = inta->sci->ops.rm_irq_ops.set_event_map(inta->sci, in ti_sci_inta_alloc_event()
396 inta->sci->ops.rm_irq_ops.free_event_map(inta->sci, in ti_sci_inta_free_irq()
671 inta->sci = devm_ti_sci_get_by_phandle(dev, "ti,sci"); in ti_sci_inta_irq_domain_probe()
672 if (IS_ERR(inta->sci)) in ti_sci_inta_irq_domain_probe()
673 return dev_err_probe(dev, PTR_ERR(inta->sci), in ti_sci_inta_irq_domain_probe()
682 inta->vint = devm_ti_sci_get_resource(inta->sci, dev, inta->ti_sci_id, in ti_sci_inta_irq_domain_probe()
689 inta->global_event = devm_ti_sci_get_resource(inta->sci, dev, inta->ti_sci_id, in ti_sci_inta_irq_domain_probe()

1234