/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | init.c | 31 #include <subdev/bios/init.h> 42 nvkm_printk(init->subdev, lvl, info, "0x%08x[%c]: "fmt, \ 43 init->offset, init_exec(init) ? \ 44 '0' + (init->nested - 1) : ' ', ##args); \ 47 if (init->subdev->debug >= NV_DBG_TRACE) \ 55 * init parser control flow helpers 59 init_exec(struct nvbios_init *init) in init_exec() argument 61 return (init->execute == 1) || ((init->execute & 5) == 5); in init_exec() 65 init_exec_set(struct nvbios_init *init, bool exec) in init_exec_set() argument 67 if (exec) init->execute &= 0xfd; in init_exec_set() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | base.c | 30 nvkm_devinit_mmio(struct nvkm_devinit *init, u32 addr) in nvkm_devinit_mmio() argument 32 if (init->func->mmio) in nvkm_devinit_mmio() 33 addr = init->func->mmio(init, addr); in nvkm_devinit_mmio() 38 nvkm_devinit_pll_set(struct nvkm_devinit *init, u32 type, u32 khz) in nvkm_devinit_pll_set() argument 40 return init->func->pll_set(init, type, khz); in nvkm_devinit_pll_set() 44 nvkm_devinit_meminit(struct nvkm_devinit *init) in nvkm_devinit_meminit() argument 46 if (init->func->meminit) in nvkm_devinit_meminit() 47 init->func->meminit(init); in nvkm_devinit_meminit() 51 nvkm_devinit_disable(struct nvkm_devinit *init) in nvkm_devinit_disable() argument 53 if (init && init->func->disable) in nvkm_devinit_disable() [all …]
|
H A D | gm200.c | 33 pmu_code(struct nv50_devinit *init, u32 pmu, u32 img, u32 len, bool sec) in pmu_code() argument 35 struct nvkm_device *device = init->base.subdev.device; in pmu_code() 36 struct nvkm_bios *bios = device->bios; in pmu_code() 53 pmu_data(struct nv50_devinit *init, u32 pmu, u32 img, u32 len) in pmu_data() argument 55 struct nvkm_device *device = init->base.subdev.device; in pmu_data() 56 struct nvkm_bios *bios = device->bios; in pmu_data() 65 pmu_args(struct nv50_devinit *init, u32 argp, u32 argi) in pmu_args() argument 67 struct nvkm_device *device = init->base.subdev.device; in pmu_args() 74 pmu_exec(struct nv50_devinit *init, u32 init_addr) in pmu_exec() argument 76 struct nvkm_device *device = init->base.subdev.device; in pmu_exec() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/ |
H A D | initramfs-framework_1.0.bb | 4 RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_base-utils}" 5 RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}" 10 SRC_URI = "file://init \ 27 install -d ${D}/init.d 30 install -m 0755 ${S}/init ${D}/init 31 install -m 0755 ${S}/nfsrootfs ${D}/init.d/85-nfsrootfs 32 install -m 0755 ${S}/rootfs ${D}/init.d/90-rootfs 33 install -m 0755 ${S}/finish ${D}/init.d/99-finish 36 install -m 0755 ${S}/exec ${D}/init.d/89-exec 39 install -m 0755 ${S}/mdev ${D}/init.d/01-mdev [all …]
|
/openbmc/linux/drivers/clk/socfpga/ |
H A D | clk-periph-s10.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 9 #include "stratix10-clk.h" 23 unsigned long shift = socfpgaclk->shift; in n5x_clk_peri_c_clk_recalc_rate() 26 val = readl(socfpgaclk->hw.reg); in n5x_clk_peri_c_clk_recalc_rate() 40 val = readl(socfpgaclk->hw.reg); in clk_peri_c_clk_recalc_rate() 41 val &= GENMASK(SWCTRLBTCLKSEN_SHIFT - 1, 0); in clk_peri_c_clk_recalc_rate() 53 if (socfpgaclk->fixed_div) { in clk_peri_cnt_clk_recalc_rate() 54 div = socfpgaclk->fixed_div; in clk_peri_cnt_clk_recalc_rate() 56 if (socfpgaclk->hw.reg) in clk_peri_cnt_clk_recalc_rate() [all …]
|
H A D | clk-pll-s10.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 9 #include "stratix10-clk.h" 48 reg = readl(socfpgaclk->hw.reg + 0x8); in n5x_clk_pll_recalc_rate() 55 qdiv--; in n5x_clk_pll_recalc_rate() 69 reg = readl(socfpgaclk->hw.reg); in agilex_clk_pll_recalc_rate() 75 reg = readl(socfpgaclk->hw.reg + 0x24); in agilex_clk_pll_recalc_rate() 92 reg = readl(socfpgaclk->hw.reg); in clk_pll_recalc_rate() 99 reg = readl(socfpgaclk->hw.reg + 0x4); in clk_pll_recalc_rate() 112 div = ((readl(socfpgaclk->hw.reg) & in clk_boot_clk_recalc_rate() [all …]
|
H A D | clk-gate-s10.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/clk-provider.h> 8 #include "stratix10-clk.h" 27 if (socfpgaclk->fixed_div) { in socfpga_gate_clk_recalc_rate() 28 div = socfpgaclk->fixed_div; in socfpga_gate_clk_recalc_rate() 29 } else if (socfpgaclk->div_reg) { in socfpga_gate_clk_recalc_rate() 30 val = readl(socfpgaclk->div_reg) >> socfpgaclk->shift; in socfpga_gate_clk_recalc_rate() 31 val &= GENMASK(socfpgaclk->width - 1, 0); in socfpga_gate_clk_recalc_rate() 43 val = readl(socfpgaclk->div_reg) >> socfpgaclk->shift; in socfpga_dbg_clk_recalc_rate() 44 val &= GENMASK(socfpgaclk->width - 1, 0); in socfpga_dbg_clk_recalc_rate() [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | umcast_kern.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * user-mode-linux networking multicast transport 5 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 7 * based on the existing uml-networking code, which is 14 #include <linux/init.h> 31 struct umcast_init *init = data; in umcast_init() local 34 dpri = (struct umcast_data *) pri->user; in umcast_init() 35 dpri->addr = init->addr; in umcast_init() 36 dpri->lport = init->lport; in umcast_init() 37 dpri->rport = init->rport; in umcast_init() [all …]
|
H A D | pcap_kern.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 6 #include <linux/init.h> 22 struct pcap_init *init = data; in pcap_init_kern() local 25 ppri = (struct pcap_data *) pri->user; in pcap_init_kern() 26 ppri->host_if = init->host_if; in pcap_init_kern() 27 ppri->promisc = init->promisc; in pcap_init_kern() 28 ppri->optimize = init->optimize; in pcap_init_kern() 29 ppri->filter = init->filter; in pcap_init_kern() 31 printk("pcap backend, host interface %s\n", ppri->host_if); in pcap_init_kern() [all …]
|
H A D | vde_kern.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/init.h> 18 struct vde_init *init = data; in vde_init() local 23 vpri = (struct vde_data *) pri->user; in vde_init() 25 vpri->vde_switch = init->vde_switch; in vde_init() 26 vpri->descr = init->descr ? init->descr : "UML vde_transport"; in vde_init() 27 vpri->args = NULL; in vde_init() 28 vpri->conn = NULL; in vde_init() 29 vpri->dev = dev; in vde_init() 31 printk("vde backend - %s, ", vpri->vde_switch ? in vde_init() [all …]
|
/openbmc/linux/Documentation/arch/ia64/ |
H A D | mca.rst | 2 An ad-hoc collection of notes on IA64 MCA and INIT processing 7 --- 9 MCA/INIT are completely asynchronous. They can occur at any time, when 11 holding a spinlock. Trying to get any lock from MCA/INIT state is 15 --- 32 sends an unmaskable INIT event to the slave cpus that have not 35 * Because MCA/INIT can be delivered at any time, including when the cpu 37 event are _completely_ undefined. In particular the MCA/INIT 40 TP on return. However MCA/INIT events expose us to these PAL 43 * If an MCA/INIT event occurs while the kernel was running (not user [all …]
|
/openbmc/sdbusplus/include/sdbusplus/async/ |
H A D | callback.hpp | 3 #include <systemd/sd-bus.h> 20 template <takes_msg_handler Init> 25 /** Create a sd_bus-callback Sender. 31 * The `Init` function is a simple indirect so that the library sd_bus 44 * @param[in] i - A function which calls the underlying sd_bus library 47 * @returns A Sender which completes when sd-bus calls the callback and yields 50 template <callback_ns::takes_msg_handler Init> 51 auto callback(Init i) in callback() 53 return callback_ns::callback_sender<Init>(std::move(i)); in callback() 60 template <takes_msg_handler Init, execution::receiver R> [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | gf100.c | 28 #define pack_for_each_init(init, pack, head) \ argument 29 for (pack = head; pack && pack->init; pack++) \ 30 for (init = pack->init; init && init->count; init++) 35 struct nvkm_device *device = therm->subdev.device; in gf100_clkgate_init() 37 const struct nvkm_therm_clkgate_init *init; in gf100_clkgate_init() local 40 pack_for_each_init(init, pack, p) { in gf100_clkgate_init() 41 next = init->addr + init->count * 8; in gf100_clkgate_init() 42 addr = init->addr; in gf100_clkgate_init() 44 nvkm_trace(&therm->subdev, "{ 0x%06x, %d, 0x%08x }\n", in gf100_clkgate_init() 45 init->addr, init->count, init->data); in gf100_clkgate_init() [all …]
|
/openbmc/linux/drivers/clk/ti/ |
H A D | apll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * J Keerthy <j-keerthy@ti.com> 11 #include <linux/clk-provider.h> 41 ad = clk->dpll_data; in dra7_apll_enable() 43 return -EINVAL; in dra7_apll_enable() 45 clk_name = clk_hw_get_name(&clk->hw); in dra7_apll_enable() 47 state <<= __ffs(ad->idlest_mask); in dra7_apll_enable() 50 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable() 52 if ((v & ad->idlest_mask) == state) in dra7_apll_enable() 55 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_enable() [all …]
|
/openbmc/linux/drivers/clk/at91/ |
H A D | clk-main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <linux/clk-provider.h> 74 struct regmap *regmap = osc->regmap; in clk_main_osc_prepare() 97 struct regmap *regmap = osc->regmap; in clk_main_osc_unprepare() 114 struct regmap *regmap = osc->regmap; in clk_main_osc_is_prepared() 130 osc->pms.status = clk_main_osc_is_prepared(hw); in clk_main_osc_save_context() 139 if (osc->pms.status) in clk_main_osc_restore_context() 159 struct clk_init_data init = {}; in at91_clk_register_main_osc() local 164 return ERR_PTR(-EINVAL); in at91_clk_register_main_osc() 168 return ERR_PTR(-ENOMEM); in at91_clk_register_main_osc() [all …]
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | comminit.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Copyright (c) 2000-2010 Adaptec, Inc. 10 * 2010-2015 PMC-Sierra, Inc. (aacraid@pmc-sierra.com) 11 * 2016-2017 Microsemi Corp. (aacraid@microsemi.com) 21 #include <linux/init.h> 59 const unsigned long fibsize = dev->max_fib_size; in aac_alloc_comm() 62 union aac_init *init; in aac_alloc_comm() local 66 if ((dev->comm_interface == AAC_COMM_MESSAGE_TYPE1) || in aac_alloc_comm() 67 (dev->comm_interface == AAC_COMM_MESSAGE_TYPE2) || in aac_alloc_comm() 68 (dev->comm_interface == AAC_COMM_MESSAGE_TYPE3 && in aac_alloc_comm() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ippool/ippool/ |
H A D | ippool_init.d.patch | 1 Fix start error if lsb init-functions doesn't exist 3 Upstream-Status: Inappropriate [embedded specific] 5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 7 diff --git a/debian/init.d b/debian/init.d 9 --- a/debian/init.d 10 +++ b/debian/init.d 11 @@ -10,6 +10,9 @@ 13 ### END INIT INFO 16 +. /etc/init.d/functions 21 @@ -18,7 +21,23 @@ MODULE=pppol2tp [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/initscripts/ |
H A D | initscripts_1.0.bb | 1 SUMMARY = "SysV init scripts" 2 HOMEPAGE = "https://github.com/fedora-sysv/initscripts" 5 LICENSE = "GPL-2.0-only" 29 file://populate-volatile.sh \ 30 file://read-only-rootfs-hook.sh \ 32 file://save-rtc.sh \ 34 file://logrotate-dmesg.conf \ 46 DEPENDS:append = " update-rc.d-native" 47 PACKAGE_WRITE_DEPS:append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-n… 49 PACKAGES =+ "${PN}-functions ${PN}-sushell" [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_module.c | 2 * SPDX-License-Identifier: MIT 35 if (drm_firmware_drivers_only() && i915_modparams.modeset == -1) in i915_check_nomodeset() 48 int (*init)(void); member 51 { .init = i915_check_nomodeset }, 52 { .init = i915_active_module_init, 54 { .init = i915_context_module_init, 56 { .init = i915_gem_context_module_init, 58 { .init = i915_objects_module_init, 60 { .init = i915_request_module_init, 62 { .init = i915_scheduler_module_init, [all …]
|
/openbmc/openbmc/meta-security/recipes-ids/ossec/ |
H A D | ossec-hids_3.7.0.bb | 2 LICENSE = "GPL-2.0-only" 7 SRC_URI = "git://github.com/ossec/ossec-hids;branch=master;protocol=https \ 8 file://0001-Makefile-drop-running-scrips-install.patch \ 9 file://0002-Makefile-don-t-set-uid-gid.patch \ 16 inherit autotools-brokensep useradd 28 GROUPADD_PARAM:${PN} = "--system ${OSSEC_UID}" 29 USERADD_PARAM:${PN} = "--system -g ${OSSEC_GID} --home-dir \ 30 ${OSSEC_DIR} --no-create-home \ 31 --shell /sbin/nologin ${BPN}" 41 install -d ${D}${sysconfdir} [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-versaclock5.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * - Use spread spectrum 11 * - Use integer divider in FOD if applicable 15 #include <linux/clk-provider.h> 26 #include <dt-bindings/clock/versaclock.h> 31 /* Factory-reserved register block */ 139 /* chip has built-in oscilator */ 206 /* Factory reserved regs, make them read-only */ in vc5_regmap_is_writeable() 210 /* Factory reserved regs, make them read-only */ in vc5_regmap_is_writeable() 236 ret = regmap_read(vc5->regmap, VC5_PRIM_SRC_SHDN, &src); in vc5_mux_get_parent() [all …]
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | clock_data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/clock_data.c 5 * Copyright (C) 2004 - 2005, 2009-2010 Nokia Corporation 10 * - Clocks that are only available on some chips should be marked with the 18 #include <linux/clk-provider.h> 21 #include <linux/soc/ti/omap1-io.h> 23 #include <asm/mach-types.h> /* for machine_is_* */ 32 /* Some ARM_IDLECT1 bit shifts - used in struct arm_idlect1_clk */ 43 /* Some MOD_CONF_CTRL_0 bit shifts - used in struct clk.enable_bit */ 50 /* Some MOD_CONF_CTRL_1 bit shifts - used in struct clk.enable_bit */ [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/kmod/ |
H A D | kmod_33.bb | 8 LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" 9 LICENSE:libkmod = "LGPL-2.1-or-later" 16 inherit autotools bash-completion gtk-doc pkgconfig update-alternatives 21 file://depmod-search.conf \ 28 EXTRA_OECONF += "--enable-tools" 31 PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" 32 PACKAGECONFIG[logging] = " --enable-logging,--disable-logging" 33 PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, scdoc-native" 34 PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" 35 PACKAGECONFIG[xz] = "--with-xz,--without-xz,xz" [all …]
|
/openbmc/linux/drivers/clk/stm32/ |
H A D | clk-stm32mp13.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) STMicroelectronics 2022 - All Rights Reserved 11 #include <dt-bindings/clock/stm32mp13-clks.h> 12 #include "clk-stm32-core.h" 472 .scmi_id = -1,\ 640 "ck_hse", "pll4_r", "clk-hse-div2" 646 .hw.init = CLK_HW_INIT("tim2_k", "timg1_ck", &clk_stm32_gate_ops, CLK_SET_RATE_PARENT), 651 .hw.init = CLK_HW_INIT("tim3_k", "timg1_ck", &clk_stm32_gate_ops, CLK_SET_RATE_PARENT), 656 .hw.init = CLK_HW_INIT("tim4_k", "timg1_ck", &clk_stm32_gate_ops, CLK_SET_RATE_PARENT), 661 .hw.init = CLK_HW_INIT("tim5_k", "timg1_ck", &clk_stm32_gate_ops, CLK_SET_RATE_PARENT), [all …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_qp.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 21 if (cap->max_send_wr > rxe->attr.max_qp_wr) { in rxe_qp_chk_cap() 23 cap->max_send_wr, rxe->attr.max_qp_wr); in rxe_qp_chk_cap() 27 if (cap->max_send_sge > rxe->attr.max_send_sge) { in rxe_qp_chk_cap() 29 cap->max_send_sge, rxe->attr.max_send_sge); in rxe_qp_chk_cap() 34 if (cap->max_recv_wr > rxe->attr.max_qp_wr) { in rxe_qp_chk_cap() 36 cap->max_recv_wr, rxe->attr.max_qp_wr); in rxe_qp_chk_cap() 40 if (cap->max_recv_sge > rxe->attr.max_recv_sge) { in rxe_qp_chk_cap() 42 cap->max_recv_sge, rxe->attr.max_recv_sge); in rxe_qp_chk_cap() 47 if (cap->max_inline_data > rxe->max_inline_data) { in rxe_qp_chk_cap() [all …]
|