/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | msm_media_info.h | 5 #define MSM_MEDIA_ALIGN(__sz, __align) (((__align) & ((__align) - 1)) ?\ 6 ((((__sz) + (__align) - 1) / (__align)) * (__align)) :\ 7 (((__sz) + (__align) - 1) & (~((__align) - 1)))) 11 #define MSM_MEDIA_ROUNDUP(__sz, __r) (((__sz) + ((__r) - 1)) / (__r)) 24 * <-------- Y/UV_Stride --------> 25 * <------- Width -------> 44 * . . . . . . . . . . . . . . . . --> Buffer size alignment 50 * Extradata: Arbitrary (software-imposed) padding 62 * <-------- Y/UV_Stride --------> 63 * <------- Width -------> [all …]
|
/openbmc/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_mux.c | 1 // SPDX-License-Identifier: GPL-2.0 34 *vidtv_mux_get_pid_ctx(struct vidtv_mux *m, u16 pid) in vidtv_mux_get_pid_ctx() argument 38 hash_for_each_possible(m->pid_ctx, ctx, h, pid) in vidtv_mux_get_pid_ctx() 39 if (ctx->pid == pid) in vidtv_mux_get_pid_ctx() 45 *vidtv_mux_create_pid_ctx_once(struct vidtv_mux *m, u16 pid) in vidtv_mux_create_pid_ctx_once() argument 49 ctx = vidtv_mux_get_pid_ctx(m, pid); in vidtv_mux_create_pid_ctx_once() 57 ctx->pid = pid; in vidtv_mux_create_pid_ctx_once() 58 ctx->cc = 0; in vidtv_mux_create_pid_ctx_once() 59 hash_add(m->pid_ctx, &ctx->h, pid); in vidtv_mux_create_pid_ctx_once() 64 static void vidtv_mux_pid_ctx_destroy(struct vidtv_mux *m) in vidtv_mux_pid_ctx_destroy() argument [all …]
|
/openbmc/linux/net/tipc/ |
H A D | msg.h | 4 * Copyright (c) 2000-2007, 2014-2017 Ericsson AB 5 * Copyright (c) 2005-2008, 2010-2011, Wind River Systems 53 * - TIPC_LOW_IMPORTANCE 54 * - TIPC_MEDIUM_IMPORTANCE 55 * - TIPC_HIGH_IMPORTANCE 56 * - TIPC_CRITICAL_IMPORTANCE 92 #define SHORT_H_SIZE 24 /* In-cluster basic payload message */ 146 #define TIPC_SKB_CB(__skb) ((struct tipc_skb_cb *)&((__skb)->cb[0])) 152 /* struct tipc_gap_ack - TIPC Gap ACK block 158 * --> Gap ACK blocks: <4, 5>, <11, 1>, <15, 4>, <20, 0> [all …]
|
H A D | group.c | 102 static void tipc_group_proto_xmit(struct tipc_group *grp, struct tipc_member *m, 105 static void tipc_group_open(struct tipc_member *m, bool *wakeup) in tipc_group_open() argument 108 if (list_empty(&m->small_win)) in tipc_group_open() 110 list_del_init(&m->small_win); in tipc_group_open() 111 *m->group->open = true; in tipc_group_open() 116 struct tipc_member *m) in tipc_group_decr_active() argument 118 if (m->state == MBR_ACTIVE || m->state == MBR_RECLAIMING || in tipc_group_decr_active() 119 m->state == MBR_REMITTED) in tipc_group_decr_active() 120 grp->active_cnt--; in tipc_group_decr_active() 126 int mcnt = grp->member_cnt + 1; in tipc_group_rcvbuf_limit() [all …]
|
/openbmc/linux/kernel/irq/ |
H A D | matrix.c | 1 // SPDX-License-Identifier: GPL-2.0 43 * irq_alloc_matrix - Allocate a irq_matrix structure and initialize it 53 struct irq_matrix *m; in irq_alloc_matrix() local 58 m = kzalloc(sizeof(*m), GFP_KERNEL); in irq_alloc_matrix() 59 if (!m) in irq_alloc_matrix() 62 m->matrix_bits = matrix_bits; in irq_alloc_matrix() 63 m->alloc_start = alloc_start; in irq_alloc_matrix() 64 m->alloc_end = alloc_end; in irq_alloc_matrix() 65 m->alloc_size = alloc_end - alloc_start; in irq_alloc_matrix() 66 m->maps = alloc_percpu(*m->maps); in irq_alloc_matrix() [all …]
|
/openbmc/u-boot/tools/omap/ |
H A D | clocks_get_m_n.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Program for finding M & N values for DPLLs 17 * get_m_n_optimized() - Finds optimal DPLL multiplier(M) and divider(N) 21 * target_freq_khz - output frequency required in KHz 22 * ref_freq_khz - reference(input) frequency in KHz 23 * m - pointer to computed M value 24 * n - pointer to computed N value 25 * tolerance_khz - tolerance for the output frequency. When the algorithm 26 * succeeds in finding vialble M and N values the corresponding output 28 * [target_freq_khz - tolerance_khz, target_freq_khz] [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | pc_q35.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 34 #include "hw/char/parallel-isa.h" 41 #include "hw/pci-host/q35.h" 43 #include "hw/qdev-properties.h" 48 #include "hw/virtio/virtio-iommu.h" 51 #include "hw/ide/ahci-pci.h" 55 #include "hw/usb/hcd-uhci.h" 57 #include "qemu/error-report.h" 59 #include "hw/hyperv/vmbus-bridge.h" 61 #include "hw/i386/acpi-build.h" [all …]
|
H A D | pc_piix.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 29 #include "hw/char/parallel-isa.h" 35 #include "hw/pci-host/i440fx.h" 53 #include "qemu/error-report.h" 60 #include "hw/xen/xen-x86.h" 66 #include "hw/hyperv/vmbus-bridge.h" 68 #include "hw/i386/acpi-build.h" 86 slot_addend = PCI_SLOT(pci_dev->devfn) - 1; in pc_pci_slot_get_pirq() 125 * - Traditional split is 3.5G (lowmem = 0xe0000000). This is the in pc_init1() 128 * - Then, to gigabyte align the memory, we move the split to 3G in pc_init1() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_mqd_manager_v11.c | 47 struct v11_compute_mqd *m; in update_cu_mask() local 49 bool has_wa_flag = minfo && (minfo->update_flag & (UPDATE_FLAG_DBG_WA_ENABLE | in update_cu_mask() 52 if (!minfo || !(has_wa_flag || minfo->cu_mask.ptr)) in update_cu_mask() 55 m = get_mqd(mqd); in update_cu_mask() 58 uint32_t wa_mask = minfo->update_flag == UPDATE_FLAG_DBG_WA_ENABLE ? in update_cu_mask() 61 m->compute_static_thread_mgmt_se0 = wa_mask; in update_cu_mask() 62 m->compute_static_thread_mgmt_se1 = wa_mask; in update_cu_mask() 63 m->compute_static_thread_mgmt_se2 = wa_mask; in update_cu_mask() 64 m->compute_static_thread_mgmt_se3 = wa_mask; in update_cu_mask() 65 m->compute_static_thread_mgmt_se4 = wa_mask; in update_cu_mask() [all …]
|
H A D | kfd_mqd_manager_v10.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2018-2022 Advanced Micro Devices, Inc. 48 struct v10_compute_mqd *m; in update_cu_mask() local 51 if (!minfo || !minfo->cu_mask.ptr) in update_cu_mask() 55 minfo->cu_mask.ptr, minfo->cu_mask.count, se_mask, 0); in update_cu_mask() 57 m = get_mqd(mqd); in update_cu_mask() 58 m->compute_static_thread_mgmt_se0 = se_mask[0]; in update_cu_mask() 59 m->compute_static_thread_mgmt_se1 = se_mask[1]; in update_cu_mask() 60 m->compute_static_thread_mgmt_se2 = se_mask[2]; in update_cu_mask() 61 m->compute_static_thread_mgmt_se3 = se_mask[3]; in update_cu_mask() [all …]
|
H A D | kfd_mqd_manager_vi.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2014-2022 Advanced Micro Devices, Inc. 51 struct vi_mqd *m; in update_cu_mask() local 54 if (!minfo || !minfo->cu_mask.ptr) in update_cu_mask() 58 minfo->cu_mask.ptr, minfo->cu_mask.count, se_mask, 0); in update_cu_mask() 60 m = get_mqd(mqd); in update_cu_mask() 61 m->compute_static_thread_mgmt_se0 = se_mask[0]; in update_cu_mask() 62 m->compute_static_thread_mgmt_se1 = se_mask[1]; in update_cu_mask() 63 m->compute_static_thread_mgmt_se2 = se_mask[2]; in update_cu_mask() 64 m->compute_static_thread_mgmt_se3 = se_mask[3]; in update_cu_mask() [all …]
|
H A D | kfd_mqd_manager_cik.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2014-2022 Advanced Micro Devices, Inc. 48 struct cik_mqd *m; in update_cu_mask() local 51 if (!minfo || !minfo->cu_mask.ptr) in update_cu_mask() 55 minfo->cu_mask.ptr, minfo->cu_mask.count, se_mask, 0); in update_cu_mask() 57 m = get_mqd(mqd); in update_cu_mask() 58 m->compute_static_thread_mgmt_se0 = se_mask[0]; in update_cu_mask() 59 m->compute_static_thread_mgmt_se1 = se_mask[1]; in update_cu_mask() 60 m->compute_static_thread_mgmt_se2 = se_mask[2]; in update_cu_mask() 61 m->compute_static_thread_mgmt_se3 = se_mask[3]; in update_cu_mask() [all …]
|
H A D | kfd_mqd_manager_v9.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2016-2022 Advanced Micro Devices, Inc. 44 if (mm->dev->kfd->cwsr_enabled && in mqd_stride_v9() 45 q->type == KFD_QUEUE_TYPE_COMPUTE) in mqd_stride_v9() 46 return ALIGN(q->ctl_stack_size, PAGE_SIZE) + in mqd_stride_v9() 49 return mm->mqd_size; in mqd_stride_v9() 65 struct v9_mqd *m; in update_cu_mask() local 68 if (!minfo || !minfo->cu_mask.ptr) in update_cu_mask() 72 minfo->cu_mask.ptr, minfo->cu_mask.count, se_mask, inst); in update_cu_mask() 74 m = get_mqd(mqd); in update_cu_mask() [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | proc.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <asm/cpu-features.h> 36 static int show_cpuinfo(struct seq_file *m, void *v) in show_cpuinfo() argument 39 unsigned long n = (unsigned long) v - 1; in show_cpuinfo() 54 seq_printf(m, "system type\t\t: %s\n", get_system_type()); in show_cpuinfo() 56 seq_printf(m, "machine\t\t\t: %s\n", in show_cpuinfo() 60 seq_printf(m, "processor\t\t: %ld\n", n); in show_cpuinfo() 63 seq_printf(m, fmt, __cpu_name[n], in show_cpuinfo() 66 seq_printf(m, "BogoMIPS\t\t: %u.%02u\n", in show_cpuinfo() 69 seq_printf(m, "wait instruction\t: %s\n", cpu_wait ? "yes" : "no"); in show_cpuinfo() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-mpath.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. 9 #include <linux/device-mapper.h> 11 #include "dm-rq.h" 12 #include "dm-bio-record.h" 13 #include "dm-path-selector.h" 14 #include "dm-uevent.h" 29 #include <linux/blk-mq.h> 35 #define DM_PG_INIT_DELAY_DEFAULT ((unsigned int) -1) 62 struct multipath *m; /* Owning multipath instance */ member [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 064 | 4 # Test VHDX read/write from a sample image created with Hyper-V 44 _use_sample_img iotest-dynamic-1G.vhdx.bz2 47 echo "=== Verify pattern 0xa5, 0 - 33MB ===" 48 $QEMU_IO -r -c "read -pP 0xa5 0 33M" "$TEST_IMG" | _filter_qemu_io 51 echo "=== Verify pattern 0x96, 33M - 66M ===" 52 $QEMU_IO -r -c "read -pP 0x96 33M 33M" "$TEST_IMG" | _filter_qemu_io 55 echo "=== Verify pattern 0x00, 66M - 1024M ===" 56 $QEMU_IO -r -c "read -pP 0x00 66M 62M" \ 57 -c "read -pP 0x00 128M 128M" \ 58 -c "read -pP 0x00 256M 128M" \ [all …]
|
/openbmc/linux/fs/ |
H A D | seq_file.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * initial implementation -- AV, Oct 2001. 28 static void seq_set_overflow(struct seq_file *m) in seq_set_overflow() argument 30 m->count = m->size; in seq_set_overflow() 42 * seq_open - initialize sequential file 47 * by @op. @op->start() sets the iterator up and returns the first 48 * element of sequence. @op->stop() shuts it down. @op->next() 49 * returns the next element of sequence. @op->show() prints element 50 * into the buffer. In case of error ->start() and ->next() return 51 * ERR_PTR(error). In the end of sequence they return %NULL. ->show() [all …]
|
/openbmc/u-boot/include/ |
H A D | flash.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * (C) Copyright 2000-2005 14 /*----------------------------------------------------------------------- 45 const char *name; /* human-readable name */ 50 #ifdef CONFIG_CFI_FLASH /* DM-specific parts */ 120 /*----------------------------------------------------------------------- 134 /*----------------------------------------------------------------------- 140 /*----------------------------------------------------------------------- 145 /*----------------------------------------------------------------------- 153 #define STM_MANUFACT 0x00200020 /* STM (Thomson) manuf. ID in D23.. -"- */ [all …]
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | core_mcpcia.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * 16-May-96 25 /*------------------------------------------------------------------------** 39 **------------------------------------------------------------------------*/ 46 * ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- 48 * ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- 50 * | Byte Enable --+ | 51 * | Transfer Length --+ 52 * +-- IO space, not cached 57 * --------------------------------------------- [all …]
|
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/nikto/ |
H A D | nikto_2.1.6.bb | 6 LICENSE = "GPL-2.0-only" 7 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 16 install -d ${D}${bindir} 17 install -d ${D}${datadir} 18 install -d ${D}${datadir}/man/man1 19 install -d ${D}${datadir}/doc/nikto 20 install -d ${D}${sysconfdir}/nikto 21 install -d ${D}${sysconfdir}/nikto/databases 22 install -d ${D}${sysconfdir}/nikto/plugins 23 install -d ${D}${sysconfdir}/nikto/templates [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | pci.c | 86 { 0x1043, 0x202d, "GeForce GT 220M" }, 92 { 0x152d, 0x0850, "GeForce GT 240M LE" }, 98 { 0x1043, 0x14a2, "GeForce GT 320M" }, 99 { 0x1043, 0x14d2, "GeForce GT 320M" }, 143 { 0x103c, 0x360b, "GeForce 9200M GE" }, 161 { 0x106b, 0x00b1, "GeForce 9400M" }, 216 { 0x17aa, 0x3950, "GeForce 405M" }, 217 { 0x17aa, 0x397d, "GeForce 405M" }, 232 { 0x1025, 0x0692, "GeForce GT 620M" }, 233 { 0x1025, 0x0725, "GeForce GT 620M" }, [all …]
|
/openbmc/linux/net/9p/ |
H A D | trans_fd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2004-2005 by Latchesar Ionkov <lucho@ionkov.net> 7 * Copyright (C) 2004-2008 by Eric Van Hensbergen <ericvh@gmail.com> 8 * Copyright (C) 1997-2002 by Ron Minnich <rminnich@sarnoff.com> 41 * struct p9_fd_opts - per-transport options 57 * - a little lazy - parse all fd-transport options 89 * struct p9_conn - fd mux connection state information 136 * struct p9_trans_fd - transport state 158 static void p9_mux_poll_stop(struct p9_conn *m) in p9_mux_poll_stop() argument 163 for (i = 0; i < ARRAY_SIZE(m->poll_wait); i++) { in p9_mux_poll_stop() [all …]
|
/openbmc/linux/fs/proc/ |
H A D | array.c | 1 // SPDX-License-Identifier: GPL-2.0 28 * <haible@ma2s2.mathematik.uni-karlsruhe.de> 33 * Jerome Forissier : added per-CPU time information to /proc/stat 36 * - Incorporation and non-SMP safe operation 99 void proc_task_name(struct seq_file *m, struct task_struct *p, bool escape) in proc_task_name() argument 107 if (p->flags & PF_WQ_WORKER) in proc_task_name() 109 else if (p->flags & PF_KTHREAD) in proc_task_name() 115 seq_escape_str(m, tcomm, ESCAPE_SPACE | ESCAPE_SPECIAL, "\n\\"); in proc_task_name() 117 seq_printf(m, "%.64s", tcomm); in proc_task_name() 148 static inline void task_state(struct seq_file *m, struct pid_namespace *ns, in task_state() argument [all …]
|
/openbmc/linux/kernel/locking/ |
H A D | lockdep_proc.c | 1 // SPDX-License-Identifier: GPL-2.0 38 static void *l_next(struct seq_file *m, void *v, loff_t *pos) in l_next() argument 43 *pos = class - lock_classes; in l_next() 47 static void *l_start(struct seq_file *m, loff_t *pos) in l_start() argument 56 static void l_stop(struct seq_file *m, void *v) in l_stop() argument 60 static void print_name(struct seq_file *m, struct lock_class *class) in print_name() argument 63 const char *name = class->name; in print_name() 66 name = __get_key_name(class->key, str); in print_name() 67 seq_printf(m, "%s", name); in print_name() 69 seq_printf(m, "%s", name); in print_name() [all …]
|
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/ |
H A D | bastille_3.2.1.bb | 2 #consult the README file for the meta-security layer for additional information. 5 LICENSE = "GPL-2.0-only" 9 …-module-getopt-long perl-module-text-wrap lib-perl perl-module-file-path perl-module-mime-base64 p… 12 SRC_URI = "http://sourceforge.net/projects/bastille-linux/files/bastille-linux/3.2.1/Bastille-3.2.1… 41 install -d ${D}${sbindir} 42 install -d ${D}${libdir}/perl5/site_perl/Curses 44 install -d ${D}${libdir}/Bastille 45 install -d ${D}${libdir}/Bastille/API 46 install -d ${D}${datadir}/Bastille 47 install -d ${D}${datadir}/Bastille/OSMap [all …]
|