/openbmc/phosphor-debug-collector/ |
H A D | .shellcheck-ignore | 2 tools/dreport.d/dreport 3 tools/dreport.d/ibm.d/gendumpheader 4 tools/dreport.d/ibm.d/plugins.d/vpd_data 5 tools/dreport.d/include.d/functions 6 tools/dreport.d/openpower.d/plugins.d/obmcconsole1 7 tools/dreport.d/plugins.d/altfwprintenv 8 tools/dreport.d/plugins.d/bmcstate 9 tools/dreport.d/plugins.d/chassisstate 10 tools/dreport.d/plugins.d/corefile 11 tools/dreport.d/plugins.d/cpuinfo [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | data.py | 42 self.d = bb.data.init() 43 self.d["foo"] = "value_of_foo" 44 self.d["bar"] = "value_of_bar" 45 self.d["value_of_foo"] = "value_of_'value_of_foo'" 48 val = self.d.expand("${foo}") 52 val = self.d.expand("${${foo}}") 56 val = self.d.expand("${${foo}} ${bar}") 60 val = self.d.expand("${@5*12}") 64 val = self.d.expand("${@{ 'green': 1, 'blue': 2 }['green']}") 68 self.d.setVar("bar", "${unsetvar}") [all …]
|
H A D | parse.py | 35 self.d = bb.data.init() 36 bb.parse.siggen = bb.siggen.init(self.d) 51 d = bb.parse.handle(f.name, self.d)[''] 52 self.assertEqual(d.getVar("A"), "1") 53 self.assertEqual(d.getVar("B"), "2") 54 self.assertEqual(d.getVar("C"), "3") 60 d = bb.parse.handle(f.name, self.d)[''] 73 d = bb.parse.handle(f.name, self.d)[''] 74 self.assertEqual(d.getVar("A"), None) 75 self.assertEqual(d.getVarFlag("A","flag"), None) [all …]
|
/openbmc/linux/lib/raid6/ |
H A D | avx2.c | 38 int d, z, z0; in raid6_avx21_gen_syndrome() local 49 for (d = 0; d < bytes; d += 32) { in raid6_avx21_gen_syndrome() 50 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_avx21_gen_syndrome() 51 asm volatile("vmovdqa %0,%%ymm2" : : "m" (dptr[z0][d]));/* P[0] */ in raid6_avx21_gen_syndrome() 52 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_avx21_gen_syndrome() 54 asm volatile("vmovdqa %0,%%ymm6" : : "m" (dptr[z0-1][d])); in raid6_avx21_gen_syndrome() 56 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome() 63 asm volatile("vmovdqa %0,%%ymm6" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome() 72 asm volatile("vmovntdq %%ymm2,%0" : "=m" (p[d])); in raid6_avx21_gen_syndrome() 74 asm volatile("vmovntdq %%ymm4,%0" : "=m" (q[d])); in raid6_avx21_gen_syndrome() [all …]
|
H A D | sse2.c | 40 int d, z, z0; in raid6_sse21_gen_syndrome() local 51 for ( d = 0 ; d < bytes ; d += 16 ) { in raid6_sse21_gen_syndrome() 52 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_sse21_gen_syndrome() 53 asm volatile("movdqa %0,%%xmm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_sse21_gen_syndrome() 54 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome() 56 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome() 58 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 66 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 76 asm volatile("movntdq %%xmm2,%0" : "=m" (p[d])); in raid6_sse21_gen_syndrome() 78 asm volatile("movntdq %%xmm4,%0" : "=m" (q[d])); in raid6_sse21_gen_syndrome() [all …]
|
H A D | avx512.c | 48 int d, z, z0; in raid6_avx5121_gen_syndrome() local 61 for (d = 0; d < bytes; d += 64) { in raid6_avx5121_gen_syndrome() 68 : "m" (dptr[z0][d]), "m" (dptr[z0-1][d])); in raid6_avx5121_gen_syndrome() 80 : "m" (dptr[z][d])); in raid6_avx5121_gen_syndrome() 94 : "m" (p[d]), "m" (q[d])); in raid6_avx5121_gen_syndrome() 106 int d, z, z0; in raid6_avx5121_xor_syndrome() local 117 for (d = 0 ; d < bytes ; d += 64) { in raid6_avx5121_xor_syndrome() 122 : "m" (dptr[z0][d]), "m" (p[d])); in raid6_avx5121_xor_syndrome() 135 : "m" (dptr[z][d])); in raid6_avx5121_xor_syndrome() 153 : "m" (q[d]), "m" (p[d])); in raid6_avx5121_xor_syndrome() [all …]
|
H A D | loongarch_simd.c | 37 int d, z, z0; in raid6_lsx_gen_syndrome() local 52 for (d = 0; d < bytes; d += NSIZE*4) { in raid6_lsx_gen_syndrome() 54 asm volatile("vld $vr0, %0" : : "m"(dptr[z0][d+0*NSIZE])); in raid6_lsx_gen_syndrome() 55 asm volatile("vld $vr1, %0" : : "m"(dptr[z0][d+1*NSIZE])); in raid6_lsx_gen_syndrome() 56 asm volatile("vld $vr2, %0" : : "m"(dptr[z0][d+2*NSIZE])); in raid6_lsx_gen_syndrome() 57 asm volatile("vld $vr3, %0" : : "m"(dptr[z0][d+3*NSIZE])); in raid6_lsx_gen_syndrome() 64 asm volatile("vld $vr8, %0" : : "m"(dptr[z][d+0*NSIZE])); in raid6_lsx_gen_syndrome() 65 asm volatile("vld $vr9, %0" : : "m"(dptr[z][d+1*NSIZE])); in raid6_lsx_gen_syndrome() 66 asm volatile("vld $vr10, %0" : : "m"(dptr[z][d+2*NSIZE])); in raid6_lsx_gen_syndrome() 67 asm volatile("vld $vr11, %0" : : "m"(dptr[z][d+3*NSIZE])); in raid6_lsx_gen_syndrome() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | dev.c | 31 void ast_vhub_dev_irq(struct ast_vhub_dev *d) in ast_vhub_dev_irq() argument 33 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 35 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 38 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq() 40 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq() 42 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq() 45 static void ast_vhub_dev_enable(struct ast_vhub_dev *d) in ast_vhub_dev_enable() argument 49 if (d->enabled) in ast_vhub_dev_enable() 53 ast_vhub_reset_ep0(d); in ast_vhub_dev_enable() 60 if (d->gadget.speed == USB_SPEED_HIGH) in ast_vhub_dev_enable() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | tco-test.c | 51 static void test_end(TestData *d) in test_end() argument 53 g_free(d->dev); in test_end() 54 qpci_free_pc(d->bus); in test_end() 55 qtest_quit(d->qts); in test_end() 58 static void test_init(TestData *d) in test_init() argument 63 d->noreboot ? "-global ICH9-LPC.noreboot=true" : "", in test_init() 64 !d->args ? "" : d->args); in test_init() 67 d->bus = qpci_new_pc(qs, NULL); in test_init() 68 d->dev = qpci_device_find(d->bus, QPCI_DEVFN(0x1f, 0x00)); in test_init() 69 g_assert(d->dev != NULL); in test_init() [all …]
|
/openbmc/linux/drivers/block/aoe/ |
H A D | aoedev.c | 18 static void freetgt(struct aoedev *d, struct aoetgt *t); 19 static void skbpoolfree(struct aoedev *d); 138 aoedev_put(struct aoedev *d) in aoedev_put() argument 143 d->ref--; in aoedev_put() 150 struct aoedev *d; in dummy_timer() local 152 d = from_timer(d, t, timer); in dummy_timer() 153 if (d->flags & DEVFL_TKILL) in dummy_timer() 155 d->timer.expires = jiffies + HZ; in dummy_timer() 156 add_timer(&d->timer); in dummy_timer() 160 aoe_failip(struct aoedev *d) in aoe_failip() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/mcde/ |
H A D | mcde_dsi.c | 69 struct mcde_dsi *d; in mcde_dsi_irq() local 73 d = host_to_mcde_dsi(mdsi->host); in mcde_dsi_irq() 75 dev_dbg(d->dev, "%s called\n", __func__); in mcde_dsi_irq() 77 val = readl(d->regs + DSI_DIRECT_CMD_STS_FLAG); in mcde_dsi_irq() 79 dev_dbg(d->dev, "DSI_DIRECT_CMD_STS_FLAG = %08x\n", val); in mcde_dsi_irq() 81 dev_dbg(d->dev, "direct command write completed\n"); in mcde_dsi_irq() 84 dev_dbg(d->dev, "direct command TE received\n"); in mcde_dsi_irq() 87 dev_err(d->dev, "direct command ACK ERR received\n"); in mcde_dsi_irq() 89 dev_err(d->dev, "direct command read ERR received\n"); in mcde_dsi_irq() 91 writel(val, d->regs + DSI_DIRECT_CMD_STS_CLR); in mcde_dsi_irq() [all …]
|
/openbmc/linux/scripts/dtc/ |
H A D | data.c | 8 void data_free(struct data d) in data_free() argument 12 m = d.markers; in data_free() 20 if (d.val) in data_free() 21 free(d.val); in data_free() 24 struct data data_grow_for(struct data d, unsigned int xlen) in data_grow_for() argument 30 return d; in data_grow_for() 32 nd = d; in data_grow_for() 36 while ((d.len + xlen) > newsize) in data_grow_for() 39 nd.val = xrealloc(d.val, newsize); in data_grow_for() 46 struct data d; in data_copy_mem() local [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | btf_dump.c | 131 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() argument 133 return btf__name_by_offset(d->btf, name_off); in btf_name_of() 136 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf() argument 141 d->printf_fn(d->cb_ctx, fmt, args); in btf_dump_printf() 145 static int btf_dump_mark_referenced(struct btf_dump *d); 146 static int btf_dump_resize(struct btf_dump *d); 153 struct btf_dump *d; in btf_dump__new() local 162 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new() 163 if (!d) in btf_dump__new() 166 d->btf = btf; in btf_dump__new() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/ |
H A D | 0002-interface-remove-C-reserved-keyword.patch | 39 static int timed_ioctl(cdrom_drive *d, int fd, int command, void *arg){ 42 - int ret1=clock_gettime(d->private->clock,&tv1); 43 + int ret1=clock_gettime(d->priv->clock,&tv1); 45 - int ret3=clock_gettime(d->private->clock,&tv2); 46 + int ret3=clock_gettime(d->priv->clock,&tv2); 48 - d->private->last_milliseconds=-1; 49 + d->priv->last_milliseconds=-1; 51 - d->private->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000. + (tv2.tv_nsec-tv1.tv_nsec)/1000… 52 + d->priv->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000. + (tv2.tv_nsec-tv1.tv_nsec)/1000000… 60 @@ -39,9 +39,9 @@ int cdda_close(cdrom_drive *d){ [all …]
|
/openbmc/u-boot/scripts/dtc/ |
H A D | data.c | 23 void data_free(struct data d) in data_free() argument 27 m = d.markers; in data_free() 35 if (d.val) in data_free() 36 free(d.val); in data_free() 39 struct data data_grow_for(struct data d, int xlen) in data_grow_for() argument 45 return d; in data_grow_for() 47 nd = d; in data_grow_for() 51 while ((d.len + xlen) > newsize) in data_grow_for() 54 nd.val = xrealloc(d.val, newsize); in data_grow_for() 61 struct data d; in data_copy_mem() local [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | dvb_usb_core.c | 22 static int dvb_usbv2_download_firmware(struct dvb_usb_device *d, in dvb_usbv2_download_firmware() argument 27 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_download_firmware() 29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware() 34 ret = request_firmware(&fw, name, &d->udev->dev); in dvb_usbv2_download_firmware() 36 dev_err(&d->udev->dev, in dvb_usbv2_download_firmware() 42 dev_info(&d->udev->dev, "%s: downloading firmware from file '%s'\n", in dvb_usbv2_download_firmware() 45 ret = d->props->download_firmware(d, fw); in dvb_usbv2_download_firmware() 52 dev_dbg(&d->udev->dev, "%s: failed=%d\n", __func__, ret); in dvb_usbv2_download_firmware() 56 static int dvb_usbv2_i2c_init(struct dvb_usb_device *d) in dvb_usbv2_i2c_init() argument 59 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_i2c_init() [all …]
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdswap.c | 160 #define TREE_ROOT(d, name) (&d->trees[MTDSWAP_ ## name].root) argument 161 #define TREE_EMPTY(d, name) (TREE_ROOT(d, name)->rb_node == NULL) argument 162 #define TREE_NONEMPTY(d, name) (!TREE_EMPTY(d, name)) argument 163 #define TREE_COUNT(d, name) (d->trees[MTDSWAP_ ## name].count) argument 182 static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background); 184 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset() argument 186 return (loff_t)(eb - d->eb_data) * d->mtd->erasesize; in mtdswap_eb_offset() 189 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_detach() argument 196 oldidx = tp - &d->trees[0]; in mtdswap_eb_detach() 198 d->trees[oldidx].count--; in mtdswap_eb_detach() [all …]
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-irq.c | 74 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_lock() local 76 mutex_lock(&d->lock); in regmap_irq_lock() 81 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_sync_unlock() local 82 struct regmap *map = d->map; in regmap_irq_sync_unlock() 87 if (d->chip->runtime_pm) { in regmap_irq_sync_unlock() 94 if (d->clear_status) { in regmap_irq_sync_unlock() 95 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock() 96 reg = d->get_irq_reg(d, d->chip->status_base, i); in regmap_irq_sync_unlock() 100 dev_err(d->map->dev, in regmap_irq_sync_unlock() 104 d->clear_status = false; in regmap_irq_sync_unlock() [all …]
|
/openbmc/linux/drivers/clk/ti/ |
H A D | adpll.c | 173 static const char *ti_adpll_clk_get_name(struct ti_adpll_data *d, in ti_adpll_clk_get_name() argument 181 err = of_property_read_string_index(d->np, in ti_adpll_clk_get_name() 188 name = devm_kasprintf(d->dev, GFP_KERNEL, "%08lx.adpll.%s", in ti_adpll_clk_get_name() 189 d->pa, postfix); in ti_adpll_clk_get_name() 197 static int ti_adpll_setup_clock(struct ti_adpll_data *d, struct clk *clock, in ti_adpll_setup_clock() argument 205 d->clocks[index].clk = clock; in ti_adpll_setup_clock() 206 d->clocks[index].unregister = unregister; in ti_adpll_setup_clock() 212 dev_warn(d->dev, "clock %s con_id lookup may fail\n", in ti_adpll_setup_clock() 214 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock() 218 d->clocks[index].cl = cl; in ti_adpll_setup_clock() [all …]
|
/openbmc/linux/drivers/sh/intc/ |
H A D | core.c | 74 struct intc_desc_int *d, in intc_register_irq() argument 84 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); in intc_register_irq() 95 data[0] = intc_get_mask_handle(desc, d, enum_id, 0); in intc_register_irq() 96 data[1] = intc_get_prio_handle(desc, d, enum_id, 0); in intc_register_irq() 106 data[0] = data[0] ? data[0] : intc_get_mask_handle(desc, d, enum_id, 1); in intc_register_irq() 107 data[1] = data[1] ? data[1] : intc_get_prio_handle(desc, d, enum_id, 1); in intc_register_irq() 117 irq_set_chip_and_handler_name(irq, &d->chip, handle_level_irq, in intc_register_irq() 132 hp = d->prio + d->nr_prio; in intc_register_irq() 144 d->nr_prio++; in intc_register_irq() 148 data[0] = intc_get_sense_handle(desc, d, enum_id); in intc_register_irq() [all …]
|
/openbmc/qemu/hw/9pfs/ |
H A D | trace-events | 4 v9fs_rcancel(uint16_t tag, uint8_t id) "tag %d id %d" 5 v9fs_rerror(uint16_t tag, uint8_t id, int err) "tag %d id %d err %d" 6 v9fs_version(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version… 7 v9fs_version_return(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d … 8 …int32_t fid, int32_t afid, char* uname, char* aname) "tag %u id %u fid %d afid %d uname %s aname %… 10 v9fs_stat(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d" 11 …ode, int32_t atime, int32_t mtime, int64_t length) "tag %d id %d stat={mode %d atime %d mtime %d l… 12 v9fs_getattr(uint16_t tag, uint8_t id, int32_t fid, uint64_t request_mask) "tag %d id %d fid %d req… 13 …, uint64_t result_mask, uint32_t mode, uint32_t uid, uint32_t gid) "tag %d id %d getattr={result_m… 14 …nt8_t id, int32_t fid, int32_t newfid, uint16_t nwnames) "tag %d id %d fid %d newfid %d nwnames %d" [all …]
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | page.S | 14 add.d t0, t0, a0 16 st.d zero, a0, 0 17 st.d zero, a0, 8 18 st.d zero, a0, 16 19 st.d zero, a0, 24 20 st.d zero, a0, 32 21 st.d zero, a0, 40 22 st.d zero, a0, 48 23 st.d zero, a0, 56 24 addi.d a0, a0, 128 [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | dlfilter.c | 71 static struct addr_location *get_al(struct dlfilter *d) in get_al() argument 73 struct addr_location *al = d->al; in get_al() 75 if (!al->thread && machine__resolve(d->machine, al, d->sample) < 0) in get_al() 80 static struct thread *get_thread(struct dlfilter *d) in get_thread() argument 82 struct addr_location *al = get_al(d); in get_thread() 89 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__resolve_ip() local 90 struct perf_dlfilter_al *d_al = d->d_ip_al; in dlfilter__resolve_ip() 93 if (!d->ctx_valid) in dlfilter__resolve_ip() 100 al = get_al(d); in dlfilter__resolve_ip() 106 d_al->is_kernel_ip = machine__kernel_ip(d->machine, d->sample->ip); in dlfilter__resolve_ip() [all …]
|
/openbmc/linux/drivers/thermal/intel/int340x_thermal/ |
H A D | int3406_thermal.c | 37 #define ACPI_TO_RAW(v, d) (d->raw_bd->props.max_brightness * v / 100) argument 38 #define RAW_TO_ACPI(v, d) (v * 100 / d->raw_bd->props.max_brightness) argument 44 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_max_state() local 46 *state = d->upper_limit - d->lower_limit; in int3406_thermal_get_max_state() 54 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_set_cur_state() local 57 if (state > d->upper_limit - d->lower_limit) in int3406_thermal_set_cur_state() 60 acpi_level = d->br->levels[d->upper_limit - state]; in int3406_thermal_set_cur_state() 62 raw_level = ACPI_TO_RAW(acpi_level, d); in int3406_thermal_set_cur_state() 64 return backlight_device_set_brightness(d->raw_bd, raw_level); in int3406_thermal_set_cur_state() 71 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_cur_state() local [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-init.c | 26 static int dvb_usb_adapter_init(struct dvb_usb_device *d, short *adapter_nrs) in dvb_usb_adapter_init() argument 31 for (n = 0; n < d->props.num_adapters; n++) { in dvb_usb_adapter_init() 32 adap = &d->adapter[n]; in dvb_usb_adapter_init() 33 adap->dev = d; in dvb_usb_adapter_init() 36 memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties)); in dvb_usb_adapter_init() 41 if (d->udev->speed == USB_SPEED_FULL && !(props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) { in dvb_usb_adapter_init() 46 if ((d->udev->speed == USB_SPEED_FULL && props->caps & DVB_USB_ADAP_HAS_PID_FILTER) || in dvb_usb_adapter_init() 98 d->num_adapters_initialized++; in dvb_usb_adapter_init() 99 d->state |= DVB_USB_STATE_DVB; in dvb_usb_adapter_init() 106 if (d->props.generic_bulk_ctrl_endpoint != 0) { in dvb_usb_adapter_init() [all …]
|