/openbmc/linux/sound/usb/ |
H A D | validate.c | 30 return d->bLength >= sizeof(*d) && in validate_uac1_header() 31 d->bLength >= sizeof(*d) + d->bInCollection; in validate_uac1_header() 41 if (d->bLength < sizeof(*d) || !d->bNrInPins) in validate_mixer_unit() 43 len = sizeof(*d) + d->bNrInPins; in validate_mixer_unit() 76 if (d->bLength < sizeof(*d)) in validate_processing_unit() 173 if (d->bLength < sizeof(*d)) in validate_selector_unit() 196 if (d->bLength < sizeof(*d) || !d->bControlSize) in validate_uac1_feature_unit() 199 return d->bLength >= sizeof(*d) + d->bControlSize + 1; in validate_uac1_feature_unit() 207 if (d->bLength < sizeof(*d)) in validate_uac2_feature_unit() 218 if (d->bLength < sizeof(*d)) in validate_uac3_feature_unit() [all …]
|
/openbmc/linux/arch/loongarch/lib/ |
H A D | memcpy.S | 43 addi.d a0, a0, 1 44 addi.d a1, a1, 1 56 slli.d a2, a2, 5 108 st.d t0, a0, 0 126 ld.d a6, a1, 0 141 ld.d t0, a1, 0 142 ld.d t1, a1, 8 150 st.d t0, a5, 0 151 st.d t1, a5, 8 165 ld.d t0, a1, 0 [all …]
|
/openbmc/qemu/hw/audio/ |
H A D | intel-hda.c | 240 if (d->state_sts & d->wake_en) { in intel_hda_update_int_sts() 314 intel_hda_send_command(d, d->icw); in intel_hda_corb_run() 323 if ((d->corb_rp & 0xff) == d->corb_wp) { in intel_hda_corb_run() 327 if (d->rirb_count == d->rirb_cnt) { in intel_hda_corb_run() 380 if (d->rirb_count == d->rirb_cnt) { in intel_hda_response() 388 d->rirb_count, d->rirb_cnt); in intel_hda_response() 407 st = output ? d->st + 4 : d->st; in intel_hda_xfer() 939 if (d->last_write && d->last_reg == reg && d->last_val == val) { in intel_hda_reg_write() 1003 if (!d->last_write && d->last_reg == reg && d->last_val == ret) { in intel_hda_reg_read() 1097 d->name = object_get_typename(OBJECT(d)); in intel_hda_realize() [all …]
|
/openbmc/qemu/chardev/ |
H A D | char-mux.c | 141 mux_chr_send_event(d, d->focus, event); in mux_chr_be_event() 173 mux_set_focus(chr, (d->focus + 1) % d->mux_cnt); in mux_proc_byte() 176 d->timestamps = !d->timestamps; in mux_proc_byte() 196 while (be && d->prod[m] != d->cons[m] && in mux_chr_accept_input() 199 &d->buffer[m][d->cons[m]++ & MUX_BUFFER_MASK], 1); in mux_chr_accept_input() 209 if ((d->prod[m] - d->cons[m]) < MUX_BUFFER_SIZE) { in mux_chr_can_read() 232 if (d->prod[m] == d->cons[m] && in mux_chr_read() 237 d->buffer[m][d->prod[m]++ & MUX_BUFFER_MASK] = buf[i]; in mux_chr_read() 311 mux_chr_send_event(d, d->focus, CHR_EVENT_MUX_OUT); in mux_set_focus() 316 mux_chr_send_event(d, d->focus, CHR_EVENT_MUX_IN); in mux_set_focus() [all …]
|
/openbmc/linux/arch/loongarch/power/ |
H A D | suspend_asm.S | 18 st.d $r1, sp, PT_R1 19 st.d $r2, sp, PT_R2 20 st.d $r3, sp, PT_R3 21 st.d $r4, sp, PT_R4 35 st.d sp, t0, 0 39 ld.d $r1, sp, PT_R1 40 ld.d $r2, sp, PT_R2 41 ld.d $r3, sp, PT_R3 65 addi.d a1, sp, 0 68 ld.d t0, t0, 0 [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | pnfs_dev.c | 86 if (d->ld == ld && d->nfs_client == clp && in _lookup_deviceid() 163 return d; in nfs4_get_device_info() 181 if (d != NULL && !atomic_inc_not_zero(&d->ref)) in __nfs4_find_get_deviceid() 184 return d; in __nfs4_find_get_deviceid() 196 if (d) in nfs4_find_get_deviceid() 207 if (d) { in nfs4_find_get_deviceid() 214 d = new; in nfs4_find_get_deviceid() 218 return d; in nfs4_find_get_deviceid() 240 if (!d) { in nfs4_delete_deviceid() 283 nfs4_delete_deviceid(d->ld, d->nfs_client, &d->deviceid); in nfs4_put_deviceid_node() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | trace-events | 8 …nt dx, int dy, int dz, int button_state, int abs_pointer_wanted) "%p x %d y %d z %d bs 0x%x abs %d" 36 …32_t res, uint32_t w, uint32_t h, uint32_t x, uint32_t y) "id %d, res 0x%x, w %d, h %d, x %d, y %d" 37 …32_t res, uint32_t w, uint32_t h, uint32_t x, uint32_t y) "id %d, res 0x%x, w %d, h %d, x %d, y %d" 39 …t32_t res, uint32_t fmt, uint32_t w, uint32_t h, uint32_t d) "res 0x%x, fmt 0x%x, w %d, h %d, d %d" 47 …sh(uint32_t res, uint32_t w, uint32_t h, uint32_t x, uint32_t y) "res 0x%x, w %d, h %d, x %d, y %d" 60 qxl_create_guest_primary_rest(int qid, int32_t stride, uint32_t type, uint32_t flags) "%d %d,%d,%d" 69 …eft, uint32_t dirty_right, uint32_t dirty_top, uint32_t dirty_bottom) "%d surface=%d [%d,%d,%d,%d]" 90 …t qid, uint32_t ring_has, uint32_t ring_size, uint32_t prod, uint32_t cons) "%d ring %d/%d [%d,%d]" 105 …surface_id, uint32_t left, uint32_t right, uint32_t top, uint32_t bottom) "%d sid=%d [%d,%d,%d,%d]" 106 …pdate_area_rest(int qid, uint32_t num_dirty_rects, uint32_t clear_dirty_region) "%d #d=%d clear=%d" [all …]
|
/openbmc/qemu/hw/ide/ |
H A D | sii3112.c | 44 SiI3112PCIState *d = opaque; in sii3112_reg_read() local 49 val = d->i.bmdma[0].cmd; in sii3112_reg_read() 52 val = d->regs[0].swdata; in sii3112_reg_read() 64 val = d->i.bmdma[1].cmd; in sii3112_reg_read() 67 val = d->regs[1].swdata; in sii3112_reg_read() 261 memory_region_init_io(&d->mmio, OBJECT(d), &sii3112_reg_ops, d, in sii3112_pci_realize() 267 memory_region_init_alias(mr, OBJECT(d), "sii3112.bar0", &d->mmio, 0x80, 8); in sii3112_pci_realize() 270 memory_region_init_alias(mr, OBJECT(d), "sii3112.bar1", &d->mmio, 0x88, 4); in sii3112_pci_realize() 273 memory_region_init_alias(mr, OBJECT(d), "sii3112.bar2", &d->mmio, 0xc0, 8); in sii3112_pci_realize() 276 memory_region_init_alias(mr, OBJECT(d), "sii3112.bar3", &d->mmio, 0xc8, 4); in sii3112_pci_realize() [all …]
|
H A D | via.c | 94 memory_region_init(&d->bmdma_bar, OBJECT(d), "via-bmdma-container", 16); in bmdma_setup_bar() 133 pci_ide_update_mode(d); in via_ide_reset() 207 memory_region_init_io(&d->data_bar[0], OBJECT(d), &pci_ide_data_le_ops, in via_ide_realize() 211 memory_region_init_io(&d->cmd_bar[0], OBJECT(d), &pci_ide_cmd_le_ops, in via_ide_realize() 215 memory_region_init_io(&d->data_bar[1], OBJECT(d), &pci_ide_data_le_ops, in via_ide_realize() 219 memory_region_init_io(&d->cmd_bar[1], OBJECT(d), &pci_ide_cmd_le_ops, in via_ide_realize() 223 bmdma_setup_bar(d); in via_ide_realize() 228 ide_bus_init(&d->bus[i], sizeof(d->bus[i]), ds, i, MAX_IDE_DEVS); in via_ide_realize() 231 bmdma_init(&d->bus[i], &d->bmdma[i], d); in via_ide_realize() 242 memory_region_del_subregion(&d->bmdma_bar, &d->bmdma[i].extra_io); in via_ide_exitfn() [all …]
|
/openbmc/linux/include/linux/ |
H A D | irq.h | 254 #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors) argument 450 return d->hwirq; in irqd_to_hwirq() 818 return d ? d->chip : NULL; in irq_get_chip() 823 return d->chip; in irq_data_get_irq_chip() 829 return d ? d->chip_data : NULL; in irq_get_chip_data() 840 return d ? d->common->handler_data : NULL; in irq_get_handler_data() 851 return d ? d->common->msi_desc : NULL; in irq_get_msi_desc() 862 return d ? irqd_get_trigger_type(d) : 0; in irq_get_trigger_type() 868 return d->node; in irq_common_data_get_node() 901 return d ? irq_data_get_affinity_mask(d) : NULL; in irq_get_affinity_mask() [all …]
|
/openbmc/qemu/target/sparc/ |
H A D | vis_helper.c | 67 float64 d; member 79 VIS64 s, d; in helper_fpmerge() local 82 d.ll = src2; in helper_fpmerge() 86 d.VIS_B64(6) = d.VIS_B64(3); in helper_fpmerge() 88 d.VIS_B64(4) = d.VIS_B64(2); in helper_fpmerge() 90 d.VIS_B64(2) = d.VIS_B64(1); in helper_fpmerge() 99 VIS64 s, d; in helper_fmul8x16() local 123 VIS64 s, d; in helper_fmul8x16al() local 147 VIS64 s, d; in helper_fmul8x16au() local 266 VIS64 d; in helper_fexpand() local [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dump.c | 29 struct btf_dump *d; in btf_dump_all_types() local 33 err = libbpf_get_error(d); in btf_dump_all_types() 38 err = btf_dump__dump_type(d, id); in btf_dump_all_types() 44 btf_dump__free(d); in btf_dump_all_types() 136 struct btf_dump *d = NULL; in test_btf_dump_incremental() local 186 err = btf_dump__dump_type(d, i); in test_btf_dump_incremental() 254 btf_dump__free(d); in test_btf_dump_incremental() 842 struct btf_dump *d; in test_btf_dump_datasec_data() local 856 btf_dump__free(d); in test_btf_dump_datasec_data() 862 struct btf_dump *d; in test_btf_dump() local [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | tcg-runtime-gvec.c | 47 clear_high(d, oprsz, desc); in HELPER() 58 clear_high(d, oprsz, desc); in HELPER() 69 clear_high(d, oprsz, desc); in HELPER() 80 clear_high(d, oprsz, desc); in HELPER() 91 clear_high(d, oprsz, desc); in HELPER() 102 clear_high(d, oprsz, desc); in HELPER() 113 clear_high(d, oprsz, desc); in HELPER() 124 clear_high(d, oprsz, desc); in HELPER() 135 clear_high(d, oprsz, desc); in HELPER() 146 clear_high(d, oprsz, desc); in HELPER() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | anysee.c | 42 mutex_lock(&d->usb_mutex); in anysee_ctrl_msg() 70 ret = usb_bulk_msg(d->udev, usb_rcvbulkpipe(d->udev, in anysee_ctrl_msg() 74 dev_dbg(&d->udev->dev, in anysee_ctrl_msg() 82 dev_dbg(&d->udev->dev, in anysee_ctrl_msg() 732 &d->i2c_adap); in anysee_frontend_attach() 738 &d->i2c_adap); in anysee_frontend_attach() 756 &d->i2c_adap); in anysee_frontend_attach() 782 &d->i2c_adap); in anysee_frontend_attach() 857 &d->i2c_adap); in anysee_frontend_attach() 867 &d->i2c_adap); in anysee_frontend_attach() [all …]
|
H A D | dvb_usb_urb.c | 17 !d->props->generic_bulk_ctrl_endpoint_response) { in dvb_usb_v2_generic_io() 24 ret = usb_bulk_msg(d->udev, usb_sndbulkpipe(d->udev, in dvb_usb_v2_generic_io() 40 if (d->props->generic_bulk_ctrl_delay) in dvb_usb_v2_generic_io() 41 usleep_range(d->props->generic_bulk_ctrl_delay, in dvb_usb_v2_generic_io() 42 d->props->generic_bulk_ctrl_delay in dvb_usb_v2_generic_io() 45 ret = usb_bulk_msg(d->udev, usb_rcvbulkpipe(d->udev, in dvb_usb_v2_generic_io() 49 dev_err(&d->udev->dev, in dvb_usb_v2_generic_io() 65 mutex_lock(&d->usb_mutex); in dvb_usbv2_generic_rw() 67 mutex_unlock(&d->usb_mutex); in dvb_usbv2_generic_rw() 77 mutex_lock(&d->usb_mutex); in dvb_usbv2_generic_write() [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | packagedata.py | 15 def packaged(pkg, d): argument 40 def has_subpkgdata(pkg, d): argument 43 def read_subpkgdata(pkg, d): argument 46 def has_pkgdata(pn, d): argument 50 def read_pkgdata(pn, d): argument 79 def _pkgmap(d): argument 103 def pkgmap(d): argument 114 def recipename(pkg, d): argument 259 pn = d.getVar('PN') 330 rprov = d.getVar('RPROVIDES:%s' % pkg) or d.getVar('RPROVIDES') [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | acmacros.h | 57 #define ACPI_MOVE_16_TO_32(d, s) {(*(u32 *)(void *)(d))=0;\ argument 61 #define ACPI_MOVE_16_TO_64(d, s) {(*(u64 *)(void *)(d))=0;\ argument 74 #define ACPI_MOVE_32_TO_64(d, s) {(*(u64 *)(void *)(d))=0;\ argument 105 #define ACPI_MOVE_16_TO_16(d, s) *(u16 *)(void *)(d) = *(u16 *)(void *)(s) argument 106 #define ACPI_MOVE_16_TO_32(d, s) *(u32 *)(void *)(d) = *(u16 *)(void *)(s) argument 107 #define ACPI_MOVE_16_TO_64(d, s) *(u64 *)(void *)(d) = *(u16 *)(void *)(s) argument 112 #define ACPI_MOVE_32_TO_32(d, s) *(u32 *)(void *)(d) = *(u32 *)(void *)(s) argument 133 #define ACPI_MOVE_16_TO_32(d, s) {(*(u32 *)(void *)(d)) = 0; ACPI_MOVE_16_TO_16(d, s);} argument 134 #define ACPI_MOVE_16_TO_64(d, s) {(*(u64 *)(void *)(d)) = 0; ACPI_MOVE_16_TO_16(d, s);} argument 145 #define ACPI_MOVE_32_TO_64(d, s) {(*(u64 *)(void *)(d)) = 0; ACPI_MOVE_32_TO_32(d, s);} argument [all …]
|
/openbmc/qemu/target/m68k/ |
H A D | fpu_helper.c | 250 res->d = floatx80_add(val0->d, val1->d, &env->fp_status); in HELPER() 256 res->d = floatx80_add(val0->d, val1->d, &env->fp_status); in HELPER() 263 res->d = floatx80_add(val0->d, val1->d, &env->fp_status); in HELPER() 269 res->d = floatx80_sub(val1->d, val0->d, &env->fp_status); in HELPER() 275 res->d = floatx80_sub(val1->d, val0->d, &env->fp_status); in HELPER() 282 res->d = floatx80_sub(val1->d, val0->d, &env->fp_status); in HELPER() 288 res->d = floatx80_mul(val0->d, val1->d, &env->fp_status); in HELPER() 294 res->d = floatx80_mul(val0->d, val1->d, &env->fp_status); in HELPER() 301 res->d = floatx80_mul(val0->d, val1->d, &env->fp_status); in HELPER() 321 res->d = floatx80_div(val1->d, val0->d, &env->fp_status); in HELPER() [all …]
|
/openbmc/openbmc/meta-google/classes/ |
H A D | image_types_hoth.bbclass | 28 int(d.getVar('FLASH_SIZE', True))) 77 d.getVar('FLASH_ROFS_OFFSET'), 82 d.getVar('FLASH_ROFS_OFFSET'), 98 d.getVar('FLASH_RWFS_OFFSET'), 104 d.getVar('FLASH_SIZE')), 146 d.getVar('FLASH_SIZE')), 147 ] if d.getVar('FLASH_SIZE') == '65536' else [ 184 d.getVar('FLASH_SIZE')), 187 machine = d.getVar('MACHINE') 188 platform = d.getVar('PLATFORM') [all …]
|
/openbmc/linux/samples/livepatch/ |
H A D | livepatch-shadow-mod.c | 97 struct dummy *d; in dummy_alloc() local 100 d = kzalloc(sizeof(*d), GFP_KERNEL); in dummy_alloc() 101 if (!d) in dummy_alloc() 110 kfree(d); in dummy_alloc() 115 __func__, d, d->jiffies_expire); in dummy_alloc() 117 return d; in dummy_alloc() 123 __func__, d, d->jiffies_expire); in dummy_free() 125 kfree(d); in dummy_free() 145 struct dummy *d; in alloc_work_func() local 148 if (!d) in alloc_work_func() [all …]
|
/openbmc/u-boot/drivers/bios_emulator/x86emu/ |
H A D | prim_ops.c | 186 cc = (s & d) | ((~res) & (s | d)); in calc_carry_chain() 198 bc = (res & (~d | s)) | (~d & s); in calc_borrow_chain() 503 d -= 6; in das_byte() 1669 bc = (res & (~d | s)) | (~d & s); in sbb_byte() 1692 bc = (res & (~d | s)) | (~d & s); in sbb_word() 1716 bc = (res & (~d | s)) | (~d & s); in sbb_long() 1736 bc = (res & (~d | s)) | (~d & s); in sub_byte() 1756 bc = (res & (~d | s)) | (~d & s); in sub_word() 1776 bc = (res & (~d | s)) | (~d & s); in sub_long() 1926 d = -d; in imul_long_direct() [all …]
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | asm.h | 60 #define REG_L ld.d 61 #define REG_S st.d 62 #define REG_ADD add.d 63 #define REG_SUB sub.d 87 #define INT_L ld.d 88 #define INT_S st.d 125 #define LONG_L ld.d 126 #define LONG_S st.d 172 #define PTR_L ld.d 173 #define PTR_S st.d [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | sha1.c | 97 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); in SHA1Transform() 98 R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); in SHA1Transform() 99 R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in SHA1Transform() 100 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); in SHA1Transform() 101 R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); in SHA1Transform() 102 R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in SHA1Transform() 103 R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); in SHA1Transform() 104 R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); in SHA1Transform() 105 R2(d,e,a,b,c,32); R2(c,d,e,a,b,33); R2(b,c,d,e,a,34); R2(a,b,c,d,e,35); in SHA1Transform() 106 R2(e,a,b,c,d,36); R2(d,e,a,b,c,37); R2(c,d,e,a,b,38); R2(b,c,d,e,a,39); in SHA1Transform() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_sysfs_br.c | 36 struct net_bridge *br = to_bridge(d); in store_bridge_parm() 69 struct net_bridge *br = to_bridge(d); in forward_delay_show() 131 struct net_bridge *br = to_bridge(d); in ageing_time_show() 152 struct net_bridge *br = to_bridge(d); in stp_state_show() 175 struct net_bridge *br = to_bridge(d); in group_fwd_mask_show() 202 struct net_bridge *br = to_bridge(d); in priority_show() 260 struct net_bridge *br = to_bridge(d); in topology_change_detected_show() 268 struct net_bridge *br = to_bridge(d); in hello_timer_show() 276 struct net_bridge *br = to_bridge(d); in tcn_timer_show() 285 struct net_bridge *br = to_bridge(d); in topology_change_timer_show() [all …]
|
/openbmc/linux/lib/raid6/ |
H A D | sse1.c | 44 int d, z, z0; in raid6_sse11_gen_syndrome() local 55 for ( d = 0 ; d < bytes ; d += 8 ) { in raid6_sse11_gen_syndrome() 70 asm volatile("movq %0,%%mm6" : : "m" (dptr[z][d])); in raid6_sse11_gen_syndrome() 80 asm volatile("movntq %%mm2,%0" : "=m" (p[d])); in raid6_sse11_gen_syndrome() 81 asm volatile("movntq %%mm4,%0" : "=m" (q[d])); in raid6_sse11_gen_syndrome() 103 int d, z, z0; in raid6_sse12_gen_syndrome() local 116 for ( d = 0 ; d < bytes ; d += 16 ) { in raid6_sse12_gen_syndrome() 141 asm volatile("movntq %%mm2,%0" : "=m" (p[d])); in raid6_sse12_gen_syndrome() 142 asm volatile("movntq %%mm3,%0" : "=m" (p[d+8])); in raid6_sse12_gen_syndrome() 143 asm volatile("movntq %%mm4,%0" : "=m" (q[d])); in raid6_sse12_gen_syndrome() [all …]
|