/linux/fs/nilfs2/ |
H A D | segment.c | 90 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 D | macsec.c | 6 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() 49 netdev_dbg(ctx->netdev, "%s: adding new secy with sci %08llx at index %d\n", in nsim_macsec_add_secy() 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() 66 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_upd_secy() 67 __func__, sci_to_cpu(ctx->secy->sci)); in nsim_macsec_upd_secy() [all …]
|
/linux/drivers/remoteproc/ |
H A D | ti_sci_proc.h | 3 * Texas Instruments TI-SCI Processor Controller Helper Functions 16 * @sci: cached TI-SCI protocol handle 17 * @ops: cached TI-SCI proc ops 24 const struct ti_sci_handle *sci; member 33 const struct ti_sci_handle *sci) in ti_sci_proc_of_get_tsp() argument 39 ret = of_property_read_u32_array(dev_of_node(dev), "ti,sci-proc-ids", in ti_sci_proc_of_get_tsp() 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() 63 dev_err(tsp->dev, "ti-sci processor request failed: %d\n", in ti_sci_proc_request() [all …]
|
/linux/drivers/clk/keystone/ |
H A D | sci-clk.c | 3 * SCI Clock driver for keystone based devices 24 * struct sci_clk_provider - TI SCI clock provider representation 25 * @sci: Handle to the System Control Interface protocol handler 26 * @ops: Pointer to the SCI ops to be used by the clocks 32 const struct ti_sci_handle *sci; member 40 * struct sci_clk - TI SCI clock representation 66 * sci_clk_prepare - Prepare (enable) a TI SCI clock 69 * Prepares a clock to be actively used. Returns the SCI protocol status. 78 return clk->provider->ops->get_clock(clk->provider->sci, clk->dev_id, in sci_clk_prepare() 85 * sci_clk_unprepare - Un-prepares (disables) a TI SCI clock [all …]
|
/linux/drivers/reset/ |
H A D | reset-ti-sci.c | 3 * Texas Instrument's System Control Interface (TI-SCI) reset driver 33 * @sci: TI SCI handle used for communication with system controller 39 const struct ti_sci_handle *sci; member 53 * reset using the TI SCI protocol. The device's reset is asserted if the 56 * reset register is read using a TI SCI device operation, the new value is 58 * using another TI SCI device operation. 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() [all …]
|
/linux/Documentation/devicetree/bindings/arm/keystone/ |
H A D | ti,sci.yaml | 4 $id: http://devicetree.org/schemas/arm/keystone/ti,sci.yaml# 7 title: TI-SCI controller 25 The TI-SCI node describes the Texas Instrument's System Controller entity node. 29 relationship between the TI-SCI parent node to the child node. 39 - const: ti,k2g-sci 42 - const: ti,am654-sci 47 made available from TI-SCI controller. 55 Specifies the mailboxes used to communicate with TI-SCI Controller 56 made available from TI-SCI controller. 72 $ref: /schemas/soc/ti/sci-pm-domain.yaml# [all …]
|
H A D | ti,k3-sci-common.yaml | 4 $id: http://devicetree.org/schemas/arm/keystone/ti,k3-sci-common.yaml# 7 title: Common K3 TI-SCI 16 through the TI-SCI protocol. 21 over the TI-SCI protocol. The following are some of the common properties 26 ti,sci: 29 Should be a phandle to the TI-SCI System Controller node 31 ti,sci-dev-id: 34 Should contain the TI-SCI device id corresponding to the device. Please 38 ti,sci-proc-ids: 42 - description: TI-SCI processor id for the remote processor device [all …]
|
/linux/Documentation/devicetree/bindings/serial/ |
H A D | renesas,sci.yaml | 4 $id: http://devicetree.org/schemas/serial/renesas,sci.yaml# 20 - renesas,r9a07g043-sci # RZ/G2UL and RZ/Five 21 - renesas,r9a07g044-sci # RZ/G2{L,LC} 22 - renesas,r9a07g054-sci # RZ/V2L 23 - const: renesas,sci # generic SCI compatible UART 26 - const: renesas,sci # generic SCI compatible UART 71 - renesas,r9a07g043-sci 72 - renesas,r9a07g044-sci 73 - renesas,r9a07g054-sci 98 compatible = "renesas,r9a07g044-sci", "renesas,sci";
|
/linux/Documentation/devicetree/bindings/dma/ti/ |
H A D | k3-bcdma.yaml | 86 ti,sci-rm-range-bchan: 97 ti,sci-rm-range-tchan: 108 ti,sci-rm-range-rchan: 125 - ti,sci 126 - ti,sci-dev-id 127 - ti,sci-rm-range-rchan 131 - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 140 ti,sci-rm-range-bchan: false 141 ti,sci-rm-range-tchan: false 192 - ti,sci-rm-range-bchan [all …]
|
H A D | k3-pktdma.yaml | 28 - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 73 ti,sci-rm-range-tchan: 84 ti,sci-rm-range-tflow: 95 ti,sci-rm-range-rchan: 106 ti,sci-rm-range-rflow: 123 - ti,sci 124 - ti,sci-dev-id 125 - ti,sci-rm-range-tchan 126 - ti,sci-rm-range-tflow 127 - ti,sci-rm-range-rchan [all …]
|
H A D | k3-udma.yaml | 47 - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 97 ti,sci-rm-range-tchan: 106 ti,sci-rm-range-rchan: 115 ti,sci-rm-range-rflow: 130 - ti,sci 131 - ti,sci-dev-id 133 - ti,sci-rm-range-tchan 134 - ti,sci-rm-range-rchan 135 - ti,sci-rm-range-rflow 166 ti,sci-dev-id = <118>; [all …]
|
/linux/Documentation/devicetree/bindings/soc/ti/ |
H A D | sci-pm-domain.yaml | 4 $id: http://devicetree.org/schemas/soc/ti/sci-pm-domain.yaml# 7 title: TI-SCI generic power domain 20 through a protocol called TI System Control Interface (TI-SCI protocol). 22 This PM domain node represents the global PM domain managed by the TI-SCI 23 controller. Since this relies on the TI SCI protocol to communicate with 24 the TI-SCI controller, it must be a child of the TI-SCI controller node. 28 const: ti,sci-pm-domain 33 The two cells represent values that the TI-SCI controller defines. 51 compatible = "ti,sci-pm-domain"; 57 compatible = "ti,sci-pm-domain";
|
H A D | k3-ringacc.yaml | 29 - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 60 ti,sci-rm-range-gp-rings: 62 description: TI-SCI RM subtype for GP ring range 70 - ti,sci-rm-range-gp-rings 71 - ti,sci 72 - ti,sci-dev-id 91 ti,sci-rm-range-gp-rings = <0x2>; /* GP ring range */ 92 ti,sci = <&dmsc>; 93 ti,sci-dev-id = <187>;
|
/linux/drivers/irqchip/ |
H A D | irq-ti-sci-intr.c | 23 * @sci: Pointer to TISCI handle 26 * @ti_sci_id: TI-SCI device identifier 30 const struct ti_sci_handle *sci; member 118 intr->sci->ops.rm_irq_ops.free_irq(intr->sci, in ti_sci_intr_irq_domain_free() 170 err = intr->sci->ops.rm_irq_ops.set_irq(intr->sci, in ti_sci_intr_alloc_parent_irq() 257 intr->sci = devm_ti_sci_get_by_phandle(dev, "ti,sci"); in ti_sci_intr_irq_domain_probe() 258 if (IS_ERR(intr->sci)) in ti_sci_intr_irq_domain_probe() 259 return dev_err_probe(dev, PTR_ERR(intr->sci), in ti_sci_intr_irq_domain_probe() 260 "ti,sci read fail\n"); in ti_sci_intr_irq_domain_probe() 262 ret = of_property_read_u32(dev_of_node(dev), "ti,sci-dev-id", in ti_sci_intr_irq_domain_probe() [all …]
|
H A D | irq-ti-sci-inta.c | 80 * @sci: Pointer to TISCI handle 87 * @ti_sci_id: TI-SCI device identifier 89 * @unmapped_dev_ids: Pointer to an array of TI-SCI device identifiers of 95 * generating Unmapped Event, we must use the INTA's TI-SCI 101 const struct ti_sci_handle *sci; member 127 * For devices sending Unmapped Events we must use the INTA's TI-SCI in ti_sci_inta_get_dev_id() 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() 633 ret = of_property_read_u32(it.node, "ti,sci-dev-id", &dev_id); in ti_sci_inta_get_unmapped_sources() 635 dev_err(dev, "ti,sci-dev-id read failure for %pOFf\n", it.node); in ti_sci_inta_get_unmapped_sources() [all …]
|
/linux/Documentation/devicetree/bindings/reset/ |
H A D | ti,sci-reset.yaml | 4 $id: http://devicetree.org/schemas/reset/ti,sci-reset.yaml# 7 title: TI-SCI reset controller 17 through a protocol called TI System Control Interface (TI-SCI protocol). 19 This reset controller node uses the TI SCI protocol to perform the reset 21 node of the associated TI-SCI system controller node. 28 const: ti,sci-reset 33 The two cells represent values that the TI-SCI controller defines. 49 compatible = "ti,sci-reset";
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | ti,sci-clk.yaml | 4 $id: http://devicetree.org/schemas/clock/ti,sci-clk.yaml# 7 title: TI-SCI clock controller 17 through a protocol called TI System Control Interface (TI-SCI protocol). 19 This clock controller node uses the TI SCI protocol to perform various clock 21 node must be a child node of the associated TI-SCI system controller node. 28 const: ti,k2g-sci-clk 33 The two cells represent values that the TI-SCI controller defines. 47 compatible = "ti,k2g-sci-clk";
|
/linux/drivers/net/phy/ |
H A D | nxp-c45-tja11xx-macsec.c | 373 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() 735 phydev_dbg(phydev, "send sci %s\n", in nxp_c45_tx_sc_update() 931 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_dev_open() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | macsec.c | 64 sci_t sci; member 81 sci_t sci; member 134 __be64 sci; member 267 MLX5_SET64(macsec_offload_obj, obj, sci, (__force u64)attrs->ssci); in mlx5e_macsec_create_object() 272 MLX5_SET64(macsec_offload_obj, obj, sci, (__force u64)(attrs->sci)); in mlx5e_macsec_create_object() 346 rule_attrs.sci = sa->sci; in mlx5e_macsec_init_sa_fs() 371 obj_attrs.sci = cpu_to_be64((__force u64)sa->sci); in mlx5e_macsec_init_sa() 404 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 409 if (iter->sci == sci) in mlx5e_macsec_get_rx_sc_from_sc_list() 536 tx_sa->sci = secy->sci; in mlx5e_macsec_add_txsa() [all …]
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | ti,sci-intr.yaml | 4 $id: http://devicetree.org/schemas/interrupt-controller/ti,sci-intr.yaml# 13 - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 51 const: ti,sci-intr 90 - ti,sci 91 - ti,sci-dev-id 99 compatible = "ti,sci-intr"; 104 ti,sci = <&dmsc>; 105 ti,sci-dev-id = <131>;
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | ti,k3-dsp-rproc.yaml | 139 - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 145 - ti,sci 146 - ti,sci-dev-id 147 - ti,sci-proc-ids 185 ti,sci = <&dmsc>; 186 ti,sci-dev-id = <142>; 187 ti,sci-proc-ids = <0x03 0xFF>; 201 ti,sci = <&dmsc>; 202 ti,sci-dev-id = <15>; 203 ti,sci-proc-ids = <0x30 0xFF>;
|
H A D | ti,k3-m4f-rproc.yaml | 20 $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 76 - ti,sci 77 - ti,sci-dev-id 78 - ti,sci-proc-ids 121 ti,sci = <&dmsc>; 122 ti,sci-dev-id = <9>; 123 ti,sci-proc-ids = <0x18 0xff>;
|
/linux/drivers/acpi/acpica/ |
H A D | evsci.c | 27 * DESCRIPTION: Dispatch the SCI to all host-installed SCI handlers. 39 /* Are there any host-installed SCI handlers? */ in acpi_ev_sci_dispatch() 47 /* Invoke all host-installed SCI handlers */ in acpi_ev_sci_dispatch() 72 * control method to call to deal with a SCI. 100 /* Invoke all host-installed SCI handlers */ in acpi_ev_sci_xrupt_handler() 146 * DESCRIPTION: Installs SCI handler. 172 * DESCRIPTION: Remove the SCI interrupt handler. No further SCIs will be 173 * taken. Remove all host-installed SCI handlers. 177 * the SCI interrupt level when the handler is removed, so no more 202 /* Free all host-installed SCI handlers */ in acpi_ev_remove_all_sci_handlers()
|
/linux/arch/x86/platform/olpc/ |
H A D | olpc-xo1-sci.c | 3 * Support for OLPC XO-1 System Control Interrupts (SCI) 27 #define DRV_NAME "olpc-xo1-sci" 166 * Process all items in the EC's SCI queue. 184 pr_debug(PFX "SCI 0x%x received\n", data); in process_sci_queue() 203 pr_err(PFX "Failed to clear SCI queue"); in process_sci_queue() 323 dev_info(&pdev->dev, "SCI is mapped to IRQ %d\n", sci_irq); in setup_sci_interrupt() 326 dev_info(&pdev->dev, "SCI unmapped. Mapping to IRQ 3\n"); in setup_sci_interrupt() 343 /* Enable interesting SCI events, and clear pending interrupts */ in setup_sci_interrupt() 365 /* Clear pending EC SCI events */ in setup_ec_sci() 370 * Enable EC SCI events, and map them to both a PME and the SCI in setup_ec_sci() [all …]
|
/linux/include/trace/events/ |
H A D | nilfs2.h | 27 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; 41 TP_printk("sci = %p stage = %s", 42 __entry->sci,
|