Home
last modified time | relevance | path

Searched refs:smi (Results 1 – 25 of 67) sorted by relevance

123

/linux-5.19.10/drivers/platform/x86/
Dserial-multi-instantiate.c42 struct smi { struct
72 static void smi_devs_unregister(struct smi *smi) in smi_devs_unregister() argument
74 while (smi->i2c_num > 0) in smi_devs_unregister()
75 i2c_unregister_device(smi->i2c_devs[--smi->i2c_num]); in smi_devs_unregister()
77 while (smi->spi_num > 0) in smi_devs_unregister()
78 spi_unregister_device(smi->spi_devs[--smi->spi_num]); in smi_devs_unregister()
90 static int smi_spi_probe(struct platform_device *pdev, struct acpi_device *adev, struct smi *smi, in smi_spi_probe() argument
107 smi->spi_devs = devm_kcalloc(dev, count, sizeof(*smi->spi_devs), GFP_KERNEL); in smi_spi_probe()
108 if (!smi->spi_devs) in smi_spi_probe()
147 smi->spi_devs[i] = spi_dev; in smi_spi_probe()
[all …]
/linux-5.19.10/drivers/char/ipmi/
Dipmi_powernv.c38 struct ipmi_smi_powernv *smi = send_info; in ipmi_powernv_start_processing() local
40 smi->intf = intf; in ipmi_powernv_start_processing()
44 static void send_error_reply(struct ipmi_smi_powernv *smi, in send_error_reply() argument
51 ipmi_smi_msg_received(smi->intf, msg); in send_error_reply()
56 struct ipmi_smi_powernv *smi = send_info; in ipmi_powernv_send() local
74 spin_lock_irqsave(&smi->msg_lock, flags); in ipmi_powernv_send()
76 if (smi->cur_msg) { in ipmi_powernv_send()
82 opal_msg = smi->opal_msg; in ipmi_powernv_send()
93 smi->interface_id, opal_msg, size); in ipmi_powernv_send()
94 rc = opal_ipmi_send(smi->interface_id, opal_msg, size); in ipmi_powernv_send()
[all …]
Dipmi_si_sm.h56 unsigned int (*init_data)(struct si_sm_data *smi,
65 int (*start_transaction)(struct si_sm_data *smi,
73 int (*get_result)(struct si_sm_data *smi,
84 enum si_sm_result (*event)(struct si_sm_data *smi, long time);
90 int (*detect)(struct si_sm_data *smi);
93 void (*cleanup)(struct si_sm_data *smi);
/linux-5.19.10/Documentation/devicetree/bindings/memory-controllers/
Dmediatek,smi-common.yaml5 $id: http://devicetree.org/schemas/memory-controllers/mediatek,smi-common.yaml#
23 for generation 1, the register is at smi ao base(smi always on register
24 base). Besides that, the smi async clock should be prepared and enabled for
25 SMI generation 1 to transform the smi clock into emi clock domain, but that is
32 - mediatek,mt2701-smi-common
33 - mediatek,mt2712-smi-common
34 - mediatek,mt6779-smi-common
35 - mediatek,mt8167-smi-common
36 - mediatek,mt8173-smi-common
37 - mediatek,mt8183-smi-common
[all …]
Dmediatek,smi-larb.yaml5 $id: http://devicetree.org/schemas/memory-controllers/mediatek,smi-larb.yaml#
20 - mediatek,mt2701-smi-larb
21 - mediatek,mt2712-smi-larb
22 - mediatek,mt6779-smi-larb
23 - mediatek,mt8167-smi-larb
24 - mediatek,mt8173-smi-larb
25 - mediatek,mt8183-smi-larb
26 - mediatek,mt8186-smi-larb
27 - mediatek,mt8192-smi-larb
28 - mediatek,mt8195-smi-larb
[all …]
/linux-5.19.10/arch/arm/boot/dts/
Dmt7623n.dtsi60 compatible = "mediatek,mt7623-smi-larb",
61 "mediatek,mt2701-smi-larb";
63 mediatek,smi = <&smi_common>;
67 clock-names = "apb", "smi";
72 compatible = "mediatek,mt7623-smi-larb",
73 "mediatek,mt2701-smi-larb";
75 mediatek,smi = <&smi_common>;
79 clock-names = "apb", "smi";
84 compatible = "mediatek,mt7623-smi-larb",
85 "mediatek,mt2701-smi-larb";
[all …]
Dmt2701.dtsi190 smi_common: smi@1000c000 {
191 compatible = "mediatek,mt2701-smi-common";
196 clock-names = "apb", "smi", "async";
531 compatible = "mediatek,mt2701-smi-larb";
533 mediatek,smi = <&smi_common>;
537 clock-names = "apb", "smi";
548 compatible = "mediatek,mt2701-smi-larb";
550 mediatek,smi = <&smi_common>;
554 clock-names = "apb", "smi";
564 clock-names = "jpgdec-smi",
[all …]
Dspear600-evb.dts50 &smi {
56 st,smi-fast-mode;
Dspear1310-evb.dts63 smi-pmx {
65 st,function = "smi";
171 smi: flash@ea000000 { label
179 st,smi-fast-mode;
Dspear320-evb.dts96 smi: flash@fc000000 { label
104 st,smi-fast-mode;
/linux-5.19.10/arch/arm64/boot/dts/mediatek/
Dmt8167.dtsi135 smi_common: smi@14017000 {
136 compatible = "mediatek,mt8167-smi-common";
140 clock-names = "apb", "smi";
145 compatible = "mediatek,mt8167-smi-larb";
147 mediatek,smi = <&smi_common>;
150 clock-names = "apb", "smi";
155 compatible = "mediatek,mt8167-smi-larb";
157 mediatek,smi = <&smi_common>;
160 clock-names = "apb", "smi";
165 compatible = "mediatek,mt8167-smi-larb";
[all …]
Dmt8192.dtsi1170 smi_common: smi@14002000 {
1171 compatible = "mediatek,mt8192-smi-common";
1177 clock-names = "apb", "smi", "gals0", "gals1";
1182 compatible = "mediatek,mt8192-smi-larb";
1185 mediatek,smi = <&smi_common>;
1187 clock-names = "apb", "smi";
1192 compatible = "mediatek,mt8192-smi-larb";
1195 mediatek,smi = <&smi_common>;
1197 clock-names = "apb", "smi";
1234 compatible = "mediatek,mt8192-smi-larb";
[all …]
Dmt2712e.dtsi999 compatible = "mediatek,mt2712-smi-larb";
1001 mediatek,smi = <&smi_common0>;
1006 clock-names = "apb", "smi";
1009 smi_common0: smi@14022000 {
1010 compatible = "mediatek,mt2712-smi-common";
1015 clock-names = "apb", "smi";
1019 compatible = "mediatek,mt2712-smi-larb";
1021 mediatek,smi = <&smi_common1>;
1026 clock-names = "apb", "smi";
1030 compatible = "mediatek,mt2712-smi-larb";
[all …]
Dmt8183.dtsi554 mediatek,smi = <&smi_common>;
573 mediatek,smi = <&smi_common>;
584 mediatek,smi = <&smi_common>;
590 mediatek,smi = <&smi_common>;
596 mediatek,smi = <&smi_common>;
613 mediatek,smi = <&smi_common>;
1514 compatible = "mediatek,mt8183-smi-larb";
1516 mediatek,smi = <&smi_common>;
1520 clock-names = "apb", "smi";
1523 smi_common: smi@14019000 {
[all …]
Dmt8173.dtsi1287 compatible = "mediatek,mt8173-smi-larb";
1289 mediatek,smi = <&smi_common>;
1293 clock-names = "apb", "smi";
1296 smi_common: smi@14022000 {
1297 compatible = "mediatek,mt8173-smi-common";
1302 clock-names = "apb", "smi";
1345 compatible = "mediatek,mt8173-smi-larb";
1347 mediatek,smi = <&smi_common>;
1351 clock-names = "apb", "smi";
1361 compatible = "mediatek,mt8173-smi-larb";
[all …]
/linux-5.19.10/Documentation/devicetree/bindings/mtd/
Dspear_smi.txt4 - compatible : "st,spear600-smi"
12 - st,smi-fast-mode : Flash supports read in fast mode
16 smi: flash@fc000000 {
17 compatible = "st,spear600-smi";
26 st,smi-fast-mode;
/linux-5.19.10/drivers/mmc/host/
Dcavium.c301 struct sg_mapping_iter *smi = &host->smi; in do_read() local
310 if (smi->consumed >= smi->length) { in do_read()
311 if (!sg_miter_next(smi)) in do_read()
313 smi->consumed = 0; in do_read()
321 while (smi->consumed < smi->length && shift >= 0) { in do_read()
322 ((u8 *)smi->addr)[smi->consumed] = (dat >> shift) & 0xff; in do_read()
324 smi->consumed++; in do_read()
329 sg_miter_stop(smi); in do_read()
709 sg_miter_start(&host->smi, mrq->data->sg, mrq->data->sg_len, in do_read_request()
716 struct sg_mapping_iter *smi = &host->smi; in do_write_request() local
[all …]
/linux-5.19.10/drivers/memory/
Dmtk-smi.c148 struct mtk_smi smi; member
382 dev_err(larb->smi.dev, "sleep ctrl is not ready(0x%x).\n", tmp); in mtk_smi_larb_sleep_ctrl_enable()
427 static int mtk_smi_dts_clk_init(struct device *dev, struct mtk_smi *smi, in mtk_smi_dts_clk_init() argument
435 smi->clks[i].id = clks[i]; in mtk_smi_dts_clk_init()
436 ret = devm_clk_bulk_get(dev, clk_nr_required, smi->clks); in mtk_smi_dts_clk_init()
441 smi->clks[i].id = clks[i]; in mtk_smi_dts_clk_init()
443 smi->clks + clk_nr_required); in mtk_smi_dts_clk_init()
444 smi->clk_num = clk_nr_required + clk_nr_optional; in mtk_smi_dts_clk_init()
463 ret = mtk_smi_dts_clk_init(dev, &larb->smi, mtk_smi_larb_clks, in mtk_smi_larb_probe()
468 larb->smi.dev = dev; in mtk_smi_larb_probe()
[all …]
/linux-5.19.10/Documentation/devicetree/bindings/pinctrl/
Dmarvell,armada-98dx3236-pinctrl.txt18 mpp4 4 gpio, spi0(cs1), smi(mdc), dev(cs0)
45 mpp31 31 gpio, slv_smi(mdc), smi(mdc), dev(we1)
46 mpp32 32 gpio, slv_smi(mdio), smi(mdio), dev(cs1)
Dmarvell,armada-39x-pinctrl.txt22 mpp4 4 gpio, ua1(txd), ua0(rts), smi(mdc)
23 mpp5 5 gpio, ua1(rxd), ua0(cts), smi(mdio)
35 mpp17 17 gpio, ua1(rxd), spi0(sck), sata1(prsnt) [1], sata0(prsnt) [1], smi(mdio)
38 mpp20 20 gpio, sata0(prsnt) [1], ua0(rts), ua1(txd), smi(mdc)
/linux-5.19.10/Documentation/devicetree/bindings/iommu/
Dmediatek,iommu.yaml54 smi local arbiter and smi common. It will control whether the Multimedia
65 smi-common and m4u, and additional GALS module between smi-larb and
66 smi-common. GALS can been seen as a "asynchronous fifo" which could help
112 Refer to bindings/memory-controllers/mediatek,smi-larb.yaml. It must sort
/linux-5.19.10/Documentation/devicetree/bindings/display/
Dsm501fb.txt7 - compatible : should be "smi,sm501".
26 compatible = "smi,sm501";
/linux-5.19.10/Documentation/devicetree/bindings/media/
Dmediatek-jpeg-decoder.yaml39 - const: jpgdec-smi
75 clock-names = "jpgdec-smi",
/linux-5.19.10/drivers/soc/mediatek/
Dmtk-pm-domains.c46 struct regmap *smi; member
152 return _scpsys_bus_protect_enable(pd->data->bp_smi, pd->smi); in scpsys_bus_protect_enable()
188 ret = _scpsys_bus_protect_disable(pd->data->bp_smi, pd->smi); in scpsys_bus_protect_disable()
360 pd->smi = device_node_to_regmap(smi_node); in scpsys_add_one_domain()
362 if (IS_ERR(pd->smi)) in scpsys_add_one_domain()
363 return ERR_CAST(pd->smi); in scpsys_add_one_domain()
/linux-5.19.10/drivers/net/dsa/realtek/
DMakefile3 obj-$(CONFIG_NET_DSA_REALTEK_SMI) += realtek-smi.o

123