/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | classextend.py | 9 def get_packages(d): argument 10 pkgs = d.getVar("PACKAGES_NONML") 11 extcls = d.getVar("EXTENDERCLASS") 14 def get_depends(varprefix, d): argument 15 extcls = d.getVar("EXTENDERCLASS") 19 def __init__(self, extname, d): argument 21 self.d = d 23 self.d.setVar("EXTENDERCLASS", self) 49 var = self.d.getVar(varname) 62 var = self.d.getVar(varname) [all …]
|
H A D | sdk.py | 15 def __init__(self, d, manifest_dir): argument 16 self.d = d 17 self.sdk_output = self.d.getVar('SDK_OUTPUT') 60 execute_pre_post_process(self.d, self.d.getVar('SDK_POSTPROCESS_COMMAND')) 91 linguas = self.d.getVar("SDKIMAGE_LINGUAS") 101 target_arch = self.d.getVar('SDK_ARCH') 115 sdk_output = d.getVar('SDK_OUTPUT') 124 img_type = d.getVar('IMAGE_PKGTYPE') 129 def populate_sdk(d, manifest_dir=None): argument 132 img_type = d.getVar('IMAGE_PKGTYPE') [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | cross-canadian.bbclass | 36 if d.getVar("MODIFYTOS") != "1": 42 tos = d.getVar("TARGET_OS") 63 d.setVar(n, d.getVar(n)) 64 d.setVar("STAGING_BINDIR_TOOLCHAIN", d.getVar("STAGING_BINDIR_TOOLCHAIN")) 67 d.setVar(n, d.getVar(n)) 70 tarch = d.getVar("TARGET_ARCH") 73 d.setVar("ABIEXTENSION", "") 80 d.setVar("ABIEXTENSION", "") 188 if [ -d $d ]; 192 install -d $d [all …]
|
H A D | update-alternatives.bbclass | 85 d.appendVar('%s_VARDEPS' % (v), ' %s:%s' % (flag, d.getVarFlag(v, flag, False))) 94 def ua_extend_depends(d): 101 bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or \ 119 ua_extend_depends(d) 156 pn = d.getVar('BPN') 161 pkgdest = d.getVar('PKGD') 170 if alt_link.startswith(os.path.join(d.getVar('sysconfdir'), 'init.d')): 239 pn = d.getVar('BPN') 240 pkgdest = d.getVar('PKGD') 289 d.appendVar('RDEPENDS:%s' % pkg, ' ' + d.getVar('MLPREFIX', False) + provider) [all …]
|
H A D | gtk-icon-cache.bbclass | 21 ${@ '' if d.getVar('BPN') == d.getVar('GTKPN') else d.getVar('GTKPN') } \ 38 if [ -d $icondir ] ; then 52 if [ -d $icondir ] ; then 60 packages = d.getVar('PACKAGES').split() 61 pkgdest = d.getVar('PKGDEST') 70 d.appendVar('RDEPENDS:%s' % pkg, rdepends) 75 d.appendVar('RDEPENDS:%s' % pkg, rdepends) 78 rdepends = ' ' + d.getVar('MLPREFIX', False) + d.getVar('GTKPN') 79 d.appendVar('RDEPENDS:%s' % pkg, rdepends) 89 postrm = d.getVar('pkg_postrm:%s' % pkg) [all …]
|
/openbmc/linux/tools/virtio/linux/ |
H A D | dma-mapping.h | 16 #define dma_alloc_coherent(d, s, hp, f) ({ \ argument 22 #define dma_free_coherent(d, s, p, h) kfree(p) argument 24 #define dma_map_page(d, p, o, s, dir) (page_to_phys(p) + (o)) argument 26 #define dma_map_single(d, p, s, dir) (virt_to_phys(p)) argument 30 #define dma_unmap_single(d, a, s, r) do { (void)(d); (void)(a); (void)(s); (void)(r); } while (0) argument 31 #define dma_unmap_page(d, a, s, r) do { (void)(d); (void)(a); (void)(s); (void)(r); } while (0) argument 35 #define dma_unmap_single_attrs(d, a, s, r, t) do { \ argument 36 (void)(d); (void)(a); (void)(s); (void)(r); (void)(t); \ 38 #define dma_sync_single_range_for_cpu(d, a, o, s, r) do { \ argument 39 (void)(d); (void)(a); (void)(o); (void)(s); (void)(r); \ [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/dump/ |
H A D | phosphor-debug-collector_git.bb | 54 install -d ${D}${exec_prefix}/lib/tmpfiles.d 104 install -d ${D}${bindir} 109 # From tools/dreport.d/sample.conf 110 # to /usr/share/dreport.d/conf.d/dreport.conf 112 install -d ${D}${dreport_conf_dir} 117 # From tools/dreport.d/plugins.d to /usr/share/dreport.d/plugins.d 120 install -m 0755 ${S}/tools/dreport.d/plugins.d/* ${D}${dreport_plugin_dir}/ 123 # From tools/dreport.d/include.d to /usr/share/dreport.d/include.d 126 install -m 0755 ${S}/tools/dreport.d/include.d/* \ 132 source = d.getVar('S', True) [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/pam/ |
H A D | libpam_1.6.0.bb | 17 file://pam.d/common-account \ 18 file://pam.d/common-auth \ 19 file://pam.d/common-password \ 20 file://pam.d/common-session \ 22 file://pam.d/other \ 67 def get_multilib_bit(d): 96 pn = d.getVar('PN') 141 install -d ${D}${nonarch_libdir}/tmpfiles.d 150 install -d ${D}${sysconfdir}/pam.d/ 151 install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ [all …]
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | btf_dumper.c | 129 if (d->is_plain_text) in btf_dumper_ptr() 174 jsonw_string(d->jw, in btf_dumper_enum() 181 jsonw_int(d->jw, value); in btf_dumper_enum() 200 jsonw_string(d->jw, in btf_dumper_enum64() 207 jsonw_int(d->jw, value); in btf_dumper_enum64() 273 jsonw_end_array(d->jw); in btf_dumper_array() 493 jsonw_name(d->jw, btf__name_by_offset(d->btf, m[i].name_off)); in btf_dumper_struct() 498 data_off, d->jw, d->is_plain_text); in btf_dumper_struct() 520 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_var() 542 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_datasec() [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | virtio-pci-modern.c | 40 static uint64_t get_features(QVirtioDevice *d) in get_features() argument 87 static uint64_t get_guest_features(QVirtioDevice *d) in get_guest_features() argument 109 static uint8_t get_status(QVirtioDevice *d) in get_status() argument 162 static bool get_config_isr_status(QVirtioDevice *d) in get_config_isr_status() argument 182 } while (!get_config_isr_status(d)); in wait_config_isr_status() 194 static uint16_t get_queue_size(QVirtioDevice *d) in get_queue_size() argument 284 qpci_io_writew(d->pdev, d->bar, d->common_cfg_offset + in set_config_vector() 286 vector = qpci_io_readw(d->pdev, d->bar, d->common_cfg_offset + in set_config_vector() 297 queue_select(&d->vdev, vq_idx); in set_queue_vector() 298 qpci_io_writew(d->pdev, d->bar, d->common_cfg_offset + in set_queue_vector() [all …]
|
/openbmc/qemu/hw/misc/macio/ |
H A D | trace-events | 8 cuda_packet_receive(int len) "length %d" 9 cuda_packet_receive_data(int i, const uint8_t data) "[%d] 0x%02x" 10 cuda_packet_send(int len) "length %d" 11 cuda_packet_send_data(int i, const uint8_t data) "[%d] 0x%02x" 18 macio_set_gpio(int gpio, bool state) "setting GPIO %d to %d" 19 macio_gpio_irq_assert(int gpio) "asserting GPIO %d" 20 macio_gpio_irq_deassert(int gpio) "deasserting GPIO %d" 24 pmu_adb_poll(int olen) "ADB autopoll, olen=%d" 30 pmu_cmd_adb_reply(int len) "ADB reply is %d bytes" 37 pmu_debug_protocol_cmd(int cmd, int cmdlen, int rsplen) "Got command byte 0x%02x, clen=%d, rlen=%d" [all …]
|
/openbmc/linux/tools/net/ynl/samples/ |
H A D | netdev.c | 24 if (!d->_present.ifindex) in netdev_print_device() 30 printf("[%d]\t", d->ifindex); in netdev_print_device() 32 if (!d->_present.xdp_features) in netdev_print_device() 35 printf("%llx:", d->xdp_features); in netdev_print_device() 74 struct netdev_dev_get_rsp *d; in main() local 79 d = netdev_dev_get(ys, req); in main() 81 if (!d) in main() 84 netdev_print_device(d, 0); in main() 85 netdev_dev_get_rsp_free(d); in main() 91 ynl_dump_foreach(devs, d) in main() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | nv40.c | 33 u32 n, d; in nv40_timer_init() local 36 d = 1000000 / 32; in nv40_timer_init() 42 if (!n || !d) { in nv40_timer_init() 44 d = 1; in nv40_timer_init() 50 while (((n % 5) == 0) && ((d % 5) == 0)) { in nv40_timer_init() 52 d /= 5; in nv40_timer_init() 55 while (((n % 2) == 0) && ((d % 2) == 0)) { in nv40_timer_init() 57 d /= 2; in nv40_timer_init() 60 while (n > 0xffff || d > 0xffff) { in nv40_timer_init() 62 d >>= 1; in nv40_timer_init() [all …]
|
/openbmc/linux/kernel/irq/ |
H A D | cpuhotplug.c | 32 m = irq_data_get_affinity_mask(d); in irq_needs_fixup() 46 cpumask_pr_args(m), d->irq, cpu); in irq_needs_fixup() 57 bool maskchip = !irq_can_move_pcntxt(d) && !irqd_irq_masked(d); in migrate_one_irq() 89 if (irqd_is_per_cpu(d) || !irqd_is_started(d) || !irq_needs_fixup(d)) { in migrate_one_irq() 107 affinity = irq_data_get_affinity_mask(d); in migrate_one_irq() 111 chip->irq_mask(d); in migrate_one_irq() 118 if (irqd_affinity_is_managed(d)) { in migrate_one_irq() 119 irqd_set_managed_shutdown(d); in migrate_one_irq() 132 err = irq_do_set_affinity(d, affinity, false); in migrate_one_irq() 135 d->irq, err); in migrate_one_irq() [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | mpi-bit.c | 89 a->d[i] = 0; in mpi_set_bit() 194 x->d[i] = x->d[i+nlimbs]; in mpi_rshift() 199 mpihelp_rshift(x->d, x->d, x->nlimbs, nbits); in mpi_rshift() 207 x->d[i] = a->d[i]; in mpi_rshift() 217 x->d[i] = x->d[i+nlimbs]; in mpi_rshift() 223 mpihelp_rshift(x->d, x->d, x->nlimbs, nbits); in mpi_rshift() 233 mpihelp_rshift(x->d, a->d, x->nlimbs, nbits); in mpi_rshift() 239 x->d[i] = a->d[i]; in mpi_rshift() 262 ap = a->d; in mpi_lshift_limbs() 288 xp = x->d; in mpi_lshift() [all …]
|
/openbmc/linux/tools/crypto/ccp/ |
H A D | test_dbc.py | 35 self.d = None 41 self.d = open(DEVICE_NODE) 45 if self.d: 46 self.d.close() 61 get_nonce(self.d, None) 132 get_nonce(self.d, None) 137 get_nonce(self.d, None) 142 get_nonce(self.d, self.signature) 148 set_uid(self.d, self.uid, self.signature) 169 get_nonce(self.d, None) [all …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | md5-asm.S | 75 add d,d,w1; /* 2: a = a + wk */ \ 80 add d,d,rT0; /* 2: a = a + f */ \ 83 add d,d,a; /* 2: a = a + b */ 98 add d,d,w1; /* 2: a = a + wk */ \ 101 add d,d,rT0; /* 2: a = a + f */ \ 103 add d,d,a; /* 2: a = a +b */ 115 add d,d,w1; /* 2: a = a + wk */ \ 118 add d,d,rT1; /* 2: a = a + f */ \ 120 add d,d,a; /* 2: a = a + b */ 134 add d,d,w1; /* 2: a = a + wk */ \ [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | cinergyT2-core.c | 37 struct dvb_usb_device *d = adap->dev; in cinergyt2_streaming_ctrl() local 41 mutex_lock(&d->data_mutex); in cinergyt2_streaming_ctrl() 46 mutex_unlock(&d->data_mutex); in cinergyt2_streaming_ctrl() 56 mutex_lock(&d->data_mutex); in cinergyt2_power_ctrl() 61 mutex_unlock(&d->data_mutex); in cinergyt2_power_ctrl() 74 mutex_lock(&d->data_mutex); in cinergyt2_frontend_attach() 83 mutex_unlock(&d->data_mutex); in cinergyt2_frontend_attach() 149 mutex_lock(&d->data_mutex); in cinergyt2_rc_query() 163 *event = d->last_event; in cinergyt2_rc_query() 178 if (*event != d->last_event) in cinergyt2_rc_query() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-gamecube.c | 99 void __iomem *iob = d->iob; in exi_read() 186 return regmap_write(d->regmap, RTC_COUNTER, timestamp - d->rtc_bias); in gamecube_rtc_set_time() 234 return regmap_read(d->regmap, RTC_SRAM_BIAS, &d->rtc_bias); in gamecube_rtc_read_offset_from_sram() 267 ret = regmap_read(d->regmap, RTC_SRAM_BIAS, &d->rtc_bias); in gamecube_rtc_read_offset_from_sram() 319 struct priv *d; in gamecube_rtc_probe() local 323 if (!d) in gamecube_rtc_probe() 327 if (IS_ERR(d->iob)) in gamecube_rtc_probe() 328 return PTR_ERR(d->iob); in gamecube_rtc_probe() 330 d->regmap = devm_regmap_init(dev, &exi_bus, d, in gamecube_rtc_probe() 332 if (IS_ERR(d->regmap)) in gamecube_rtc_probe() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | perforce.py | 43 def __init__(self, d, num_files): argument 66 def supports(self, ud, d): argument 70 def urldata_init(self, ud, d): argument 78 ud.dldir = d.getVar("P4DIR") or (d.getVar("DL_DIR") + "/p4") 90 p4port = d.getVar('P4PORT') 135 ud.setup_revisions(d) 192 def _p4listfiles(self, ud, d): argument 218 def download(self, ud, d): argument 236 def clean(self, ud, d): argument 244 def _revision_key(self, ud, d, name): argument [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-loongson1.c | 68 rate = d->fixed; in ls1x_pll_recalc_rate() 69 rate += ls1x_pll_rate_part(val, d->int_shift, d->int_width); in ls1x_pll_recalc_rate() 70 if (d->frac_width) in ls1x_pll_recalc_rate() 71 rate += ls1x_pll_rate_part(val, d->frac_shift, d->frac_width); in ls1x_pll_recalc_rate() 73 rate >>= d->shift; in ls1x_pll_recalc_rate() 93 d->flags, d->width); in ls1x_divider_recalc_rate() 103 d->width, d->flags); in ls1x_divider_round_rate() 115 d->width, d->flags); in ls1x_divider_set_rate() 123 if (d->bypass_inv) in ls1x_divider_set_rate() 130 val &= ~(clk_div_mask(d->width) << d->shift); in ls1x_divider_set_rate() [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | i10nm_base.c | 106 u32 s, d, d2; in __enable_retry_rd_err_log() local 165 struct skx_dev *d; in enable_retry_rd_err_log() local 357 d->pcu_cr3 = pci_get_dev_wrapper(d->seg, d->bus[res_cfg->pcu_cr3_bdf.bus], in i10nm_get_imc_num() 360 if (!d->pcu_cr3) in i10nm_get_imc_num() 418 d->sad_all = pci_get_dev_wrapper(d->seg, d->bus[res_cfg->sad_all_bdf.bus], in i10nm_check_2lm() 421 if (!d->sad_all) in i10nm_check_2lm() 525 res->dev = d; in i10nm_mc_decode() 708 d->util_all = pci_get_dev_wrapper(d->seg, d->bus[res_cfg->util_all_bdf.bus], in i10nm_get_ddr_munits() 714 d->uracu = pci_get_dev_wrapper(d->seg, d->bus[res_cfg->uracu_bdf.bus], in i10nm_get_ddr_munits() 717 if (!d->uracu) in i10nm_get_ddr_munits() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/triggerhappy/ |
H A D | triggerhappy_git.bb | 14 inherit autotools-brokensep pkgconfig perlnative update-rc.d systemd 16 PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" 26 ${sysconfdir}/triggerhappy/triggers.d \ 27 ${nonarch_base_libdir}/udev/rules.d/80-triggerhappy.rules \ 28 ${sysconfdir}/init.d/triggerhappy \ 31 CONFFILES:${PN} = "${sysconfdir}/udev/rules.d/80-triggerhappy.rules" 34 install -d ${D}${sysconfdir}/triggerhappy/triggers.d 36 install -d ${D}${nonarch_base_libdir}/udev/rules.d 39 install -d ${D}${sysconfdir}/init.d 40 install -m 0755 ${S}/debian/init.d ${D}${sysconfdir}/init.d/triggerhappy [all …]
|
/openbmc/linux/drivers/thermal/intel/int340x_thermal/ |
H A D | int3402_thermal.c | 45 struct int3402_thermal_data *d; in int3402_thermal_probe() local 51 d = devm_kzalloc(&pdev->dev, sizeof(*d), GFP_KERNEL); in int3402_thermal_probe() 52 if (!d) in int3402_thermal_probe() 56 if (IS_ERR(d->int340x_zone)) in int3402_thermal_probe() 57 return PTR_ERR(d->int340x_zone); in int3402_thermal_probe() 62 d); in int3402_thermal_probe() 64 int340x_thermal_zone_remove(d->int340x_zone); in int3402_thermal_probe() 68 d->handle = adev->handle; in int3402_thermal_probe() 69 platform_set_drvdata(pdev, d); in int3402_thermal_probe() 78 acpi_remove_notify_handler(d->handle, in int3402_thermal_remove() [all …]
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | asmmacro.h | 14 stptr.d s0, \thread, THREAD_REG23 15 stptr.d s1, \thread, THREAD_REG24 16 stptr.d s2, \thread, THREAD_REG25 17 stptr.d s3, \thread, THREAD_REG26 18 stptr.d s4, \thread, THREAD_REG27 95 bstrins.d \tmp1, \tmp0, 15, 8 292 vpickve2gr.d \tmp, \vd, 1 335 vinsgr2vr.d \vd, \tmp, 1 376 vinsgr2vr.d \vd, \tmp, 1 609 lu32i.d \reg, 0 [all …]
|