Home
last modified time | relevance | path

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

/linux-6.15/drivers/media/common/
H A Dcypress_firmware.c51 hx->len = b[0]; in cypress_get_hexline()
57 hx->type = b[3]; 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()
75 struct hexline *hx; in cypress_load_firmware() local
78 hx = kmalloc(sizeof(*hx), GFP_KERNEL); in cypress_load_firmware()
79 if (!hx) in cypress_load_firmware()
83 hx->data[0] = 1; in cypress_load_firmware()
100 ret = usb_cypress_writemem(udev, hx->addr, hx->data, hx->len); in cypress_load_firmware()
113 hx->data[0] = 0; in cypress_load_firmware()
[all …]
/linux-6.15/drivers/media/usb/dvb-usb/
H A Ddvb-usb-firmware.c39 struct hexline *hx; in usb_cypress_load_firmware() local
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()
134 hx->len = b[0]; in dvb_usb_get_hexline()
140 hx->type = b[3]; in dvb_usb_get_hexline()
142 if (hx->type == 0x04) { in dvb_usb_get_hexline()
148 memcpy(hx->data,&b[data_offs],hx->len); in dvb_usb_get_hexline()
149 hx->chk = b[hx->len + data_offs]; 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.h524 extern int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, int *pos);
/linux-6.15/arch/sh/kernel/cpu/sh2a/
H A Dfpu.c100 ix = hx & 0x7fffffff; in denormal_mulf()
258 sign = hx & 0x80000000; in denormal_addf()
259 ix = hx & 0x7fffffff; in denormal_addf()
272 sign = hx & 0x80000000; in denormal_addf()
273 ix = hx & 0x7fffffff; in denormal_addf()
469 unsigned int hx, hy; in ieee_fpe_handler() local
499 hx = denormal_mulf(hy, hx); in ieee_fpe_handler()
501 hx = denormal_mulf(hx, hy); in ieee_fpe_handler()
512 unsigned int hx, hy; in ieee_fpe_handler() local
542 hx = denormal_addf(hx, hy); in ieee_fpe_handler()
[all …]
/linux-6.15/arch/sh/kernel/cpu/sh4/
H A Dfpu.c244 unsigned int hx, hy; in ieee_fpe_handler() local
259 llx = ((long long)hx << 32) in ieee_fpe_handler()
270 hx = float32_mul(hx, hy); in ieee_fpe_handler()
282 unsigned int hx, hy; in ieee_fpe_handler() local
297 llx = ((long long)hx << 32) in ieee_fpe_handler()
312 hx = float32_add(hx, hy); in ieee_fpe_handler()
314 hx = float32_sub(hx, hy); in ieee_fpe_handler()
326 unsigned int hx, hy; in ieee_fpe_handler() local
341 llx = ((long long)hx << 32) in ieee_fpe_handler()
354 hx = float32_div(hx, hy); in ieee_fpe_handler()
[all …]
/linux-6.15/drivers/isdn/hardware/mISDN/
H A DmISDNipac.c886 pr_debug("%s: B%1d CEC %d us\n", hx->ip->name, hx->bch.nr, in waitforCEC()
906 pr_debug("%s: B%1d XFW %d us\n", hx->ip->name, hx->bch.nr, in waitforXFW()
1010 if (hx->bch.tx_skb && hx->bch.tx_idx < hx->bch.tx_skb->len) { in hscx_xpr()
1039 hx->ip->name, hx->bch.nr); in ipac_rme()
1044 hx->ip->name, hx->bch.nr, in ipac_rme()
1050 hx->ip->name, hx->bch.nr); in ipac_rme()
1067 hx->ip->name, hx->bch.nr, hx->bch.rx_skb->len); in ipac_rme()
1070 skb_trim(hx->bch.rx_skb, hx->bch.rx_skb->len - 1); in ipac_rme()
1118 ipac_rme(hx); in ipac_irq()
1121 hscx_empty_fifo(hx, hx->fifo_size); in ipac_irq()
[all …]
/linux-6.15/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik-db8500.c919 DB8500_FUNC_GROUPS(hx, "hxclk_oc1_1", "hxgpio_oc1_1");
978 FUNCTION(hx),
/linux-6.15/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()
/linux-6.15/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py992 hx = tip_height * (32767 / width)
995 pen_copy.x += round(hx * math.sin(math.radians(pen_copy.xtilt)))
/linux-6.15/Documentation/core-api/
H A Dprintk-formats.rst21 short int %d or %hx
33 s16 %d or %hx