Home
last modified time | relevance | path

Searched refs:hx (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/drivers/media/common/
H A Dcypress_firmware.c42 struct hexline *hx, int *pos) in cypress_get_hexline() argument
50 memset(hx, 0, sizeof(struct hexline)); in cypress_get_hexline()
51 hx->len = b[0]; in cypress_get_hexline()
53 if ((*pos + hx->len + 4) >= fw->size) in cypress_get_hexline()
56 hx->addr = b[1] | (b[2] << 8); in cypress_get_hexline()
57 hx->type = b[3]; in cypress_get_hexline()
59 if (hx->type == 0x04) { in cypress_get_hexline()
62 hx->addr |= (b[4] << 24) | (b[5] << 16); in cypress_get_hexline()
65 memcpy(hx->data, &b[data_offs], hx->len); in cypress_get_hexline()
66 hx->chk = b[hx->len + data_offs]; in cypress_get_hexline()
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-firmware.c39 struct hexline *hx; in usb_cypress_load_firmware() local
44 buf = kmalloc(sizeof(*hx), GFP_KERNEL); in usb_cypress_load_firmware()
47 hx = (struct hexline *)buf; in usb_cypress_load_firmware()
54 while ((ret = dvb_usb_get_hexline(fw, hx, &pos)) > 0) { in usb_cypress_load_firmware()
55 deb_fw("writing to address 0x%04x (buffer: 0x%02x %02x)\n", hx->addr, hx->len, hx->chk); in usb_cypress_load_firmware()
56 ret = usb_cypress_writemem(udev, hx->addr, hx->data, hx->len); in usb_cypress_load_firmware()
58 if (ret != hx->len) { in usb_cypress_load_firmware()
60 ret, hx->len); in usb_cypress_load_firmware()
124 int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, in dvb_usb_get_hexline() argument
132 memset(hx,0,sizeof(struct hexline)); in dvb_usb_get_hexline()
[all …]
H A Ddib0700_core.c509 struct hexline hx; in dib0700_download_firmware() local
518 while ((ret = dvb_usb_get_hexline(fw, &hx, &pos)) > 0) { in dib0700_download_firmware()
520 hx.addr, hx.len, hx.chk); in dib0700_download_firmware()
522 buf[0] = hx.len; in dib0700_download_firmware()
523 buf[1] = (hx.addr >> 8) & 0xff; in dib0700_download_firmware()
524 buf[2] = hx.addr & 0xff; in dib0700_download_firmware()
525 buf[3] = hx.type; in dib0700_download_firmware()
526 memcpy(&buf[4],hx.data,hx.len); in dib0700_download_firmware()
527 buf[4+hx.len] = hx.chk; in dib0700_download_firmware()
532 hx.len + 5, in dib0700_download_firmware()
H A Ddvb-usb.h526 extern int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, int *pos);
/openbmc/linux/arch/sh/kernel/cpu/sh2a/
H A Dfpu.c94 static int denormal_mulf(int hx, int hy) in denormal_mulf() argument
100 ix = hx & 0x7fffffff; in denormal_mulf()
103 return ((hx ^ hy) & 0x80000000); in denormal_mulf()
122 ix |= (hx ^ hy) & 0x80000000; in denormal_mulf()
161 static long long denormal_muld(long long hx, long long hy) in denormal_muld() argument
167 ix = hx & 0x7fffffffffffffffLL; in denormal_muld()
170 return ((hx ^ hy) & 0x8000000000000000LL); in denormal_muld()
195 ix |= (hx ^ hy) & 0x8000000000000000LL; in denormal_muld()
252 static int denormal_addf(int hx, int hy) in denormal_addf() argument
257 if ((hx ^ hy) & 0x80000000) { in denormal_addf()
[all …]
/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A Dfpu.c244 unsigned int hx, hy; in ieee_fpe_handler() local
248 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
254 && (prec && ((hx & 0x7fffffff) < 0x00100000 in ieee_fpe_handler()
259 llx = ((long long)hx << 32) in ieee_fpe_handler()
267 && (!prec && ((hx & 0x7fffffff) < 0x00800000 in ieee_fpe_handler()
270 hx = float32_mul(hx, hy); in ieee_fpe_handler()
271 tsk->thread.xstate->hardfpu.fp_regs[n] = hx; in ieee_fpe_handler()
282 unsigned int hx, hy; in ieee_fpe_handler() local
286 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
292 && (prec && ((hx & 0x7fffffff) < 0x00100000 in ieee_fpe_handler()
[all …]
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A DmISDNipac.c873 waitforCEC(struct hscx_hw *hx) in waitforCEC() argument
878 starb = ReadHSCX(hx, IPAC_STARB); in waitforCEC()
885 pr_debug("%s: B%1d CEC %d us\n", hx->ip->name, hx->bch.nr, in waitforCEC()
888 pr_info("%s: B%1d CEC timeout\n", hx->ip->name, hx->bch.nr); in waitforCEC()
893 waitforXFW(struct hscx_hw *hx) in waitforXFW() argument
898 starb = ReadHSCX(hx, IPAC_STARB); in waitforXFW()
905 pr_debug("%s: B%1d XFW %d us\n", hx->ip->name, hx->bch.nr, in waitforXFW()
908 pr_info("%s: B%1d XFW timeout\n", hx->ip->name, hx->bch.nr); in waitforXFW()
912 hscx_cmdr(struct hscx_hw *hx, u8 cmd) in hscx_cmdr() argument
914 if (hx->ip->type & IPAC_TYPE_IPACX) in hscx_cmdr()
[all …]
/openbmc/qemu/docs/devel/
H A Ddocs.rst10 hxtool and .hx files
14 (HMP) commands is written in files with the ``.hx`` suffix. These
22 The syntax of these ``.hx`` files is simple. It is broadly an
36 top level rST file, ``HXFILE`` is the filename of the .hx file without
37 the ``.hx`` extension, and ``LABEL`` is the text provided within the
57 varies between files. For instance in ``qemu-options.hx`` we use
59 text, but in ``hmp-commands.hx`` the C code sections are elements
63 In the file ``qemu-options.hx``, do not try to explicitly define a
H A Dwriting-monitor-commands.rst314 we should add it to the hmp-commands.hx file::
518 hmp-commands-info.hx, not hmp-commands.hx. The entry for the "info
623 monitor users, we should add it to the hmp-commands-info.hx file::
H A Dqapi-code-gen.rst614 marked ``.coroutine = true`` in hmp-commands.hx.
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/postfix/files/
H A D0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch64 - eval : \${$name=\`bin/postconf -c $CONFIG_DIRECTORY -hx $name\`} ||
65 + eval : \${$name=\`$POSTCONF -c $CONFIG_DIRECTORY -hx $name\`} ||
73 - eval : \${$name=\`bin/postconf -c conf -d -hx $name\`} || exit 1
74 + eval : \${$name=\`$POSTCONF -c conf -d -hx $name\`} || exit 1
/openbmc/qemu/docs/system/
H A Dmonitor.rst22 .. hxtool-doc:: hmp-commands.hx
24 .. hxtool-doc:: hmp-commands-info.hx
H A Dinvocation.rst18 .. hxtool-doc:: qemu-options.hx
H A Dqemu-manpage.rst39 .. hxtool-doc:: qemu-options.hx
/openbmc/qemu/docs/sphinx/
H A Dhxtool.py122 hx = os.path.splitext(os.path.basename(hxfile))[0]
123 refline = ".. _" + env.docname + "-" + hx + \
/openbmc/openbmc/poky/meta/recipes-extended/rpcsvc-proto/
H A Drpcsvc-proto.bb38 rm -rf ${D}${includedir}/rpcsvc/rquota.[hx]
/openbmc/qemu/target/i386/hvf/
H A Dx86.h38 uint8_t hx; /* high 8 bit */ member
244 #define RH(cpu, reg) (x86_reg(cpu, reg)->hx)
/openbmc/qemu/contrib/gitdm/
H A Dfiletypes.txt69 filetype interface \.hx$ # documented options
/openbmc/linux/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik-db8500.c918 DB8500_FUNC_GROUPS(hx, "hxclk_oc1_1", "hxgpio_oc1_1");
977 FUNCTION(hx),
/openbmc/linux/Documentation/core-api/
H A Dprintk-formats.rst21 short int %d or %hx
33 s16 %d or %hx
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.c4274 int hx = 0, hy = 0, hhave = 0; in ar9003_hw_power_interpolate() local
4287 if (!hhave || dx > (x - hx)) { in ar9003_hw_power_interpolate()
4289 hx = px[ip]; in ar9003_hw_power_interpolate()
4310 if (hx == lx) in ar9003_hw_power_interpolate()
4313 y = interpolate(x, lx, hx, ly, hy); in ar9003_hw_power_interpolate()
/openbmc/qemu/
H A Dmeson.build3488 ['qemu-options.hx', 'qemu-options.def'],
3489 ['qemu-img-cmds.hx', 'qemu-img-cmds.h'],
3493 ['hmp-commands.hx', 'hmp-commands.h'],
3494 ['hmp-commands-info.hx', 'hmp-commands-info.h'],
H A Dhmp-commands.hx509 (qemu) xp/80hx 0xb8000
H A DMAINTAINERS3117 F: hmp-commands*.hx
/openbmc/qemu/docs/tools/
H A Dqemu-img.rst42 .. hxtool-doc:: qemu-img-cmds.hx

12