Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/common/
Dcypress_firmware.c41 struct hexline *hx, int *pos) in cypress_get_hexline() argument
49 memset(hx, 0, sizeof(struct hexline)); in cypress_get_hexline()
50 hx->len = b[0]; in cypress_get_hexline()
52 if ((*pos + hx->len + 4) >= fw->size) in cypress_get_hexline()
55 hx->addr = b[1] | (b[2] << 8); in cypress_get_hexline()
56 hx->type = b[3]; in cypress_get_hexline()
58 if (hx->type == 0x04) { in cypress_get_hexline()
61 hx->addr |= (b[4] << 24) | (b[5] << 16); in cypress_get_hexline()
64 memcpy(hx->data, &b[data_offs], hx->len); in cypress_get_hexline()
65 hx->chk = b[hx->len + data_offs]; in cypress_get_hexline()
[all …]
/linux-4.1.27/drivers/media/usb/dvb-usb/
Ddvb-usb-firmware.c38 struct hexline hx; in usb_cypress_load_firmware() local
47 while ((ret = dvb_usb_get_hexline(fw,&hx,&pos)) > 0) { in usb_cypress_load_firmware()
48 deb_fw("writing to address 0x%04x (buffer: 0x%02x %02x)\n",hx.addr,hx.len,hx.chk); in usb_cypress_load_firmware()
49 ret = usb_cypress_writemem(udev,hx.addr,hx.data,hx.len); in usb_cypress_load_firmware()
51 if (ret != hx.len) { in usb_cypress_load_firmware()
54 ret,hx.len); in usb_cypress_load_firmware()
115 int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, in dvb_usb_get_hexline() argument
123 memset(hx,0,sizeof(struct hexline)); in dvb_usb_get_hexline()
125 hx->len = b[0]; in dvb_usb_get_hexline()
127 if ((*pos + hx->len + 4) >= fw->size) in dvb_usb_get_hexline()
[all …]
Ddib0700_core.c474 struct hexline hx; in dib0700_download_firmware() local
483 while ((ret = dvb_usb_get_hexline(fw, &hx, &pos)) > 0) { in dib0700_download_firmware()
485 hx.addr, hx.len, hx.chk); in dib0700_download_firmware()
487 buf[0] = hx.len; in dib0700_download_firmware()
488 buf[1] = (hx.addr >> 8) & 0xff; in dib0700_download_firmware()
489 buf[2] = hx.addr & 0xff; in dib0700_download_firmware()
490 buf[3] = hx.type; in dib0700_download_firmware()
491 memcpy(&buf[4],hx.data,hx.len); in dib0700_download_firmware()
492 buf[4+hx.len] = hx.chk; in dib0700_download_firmware()
497 hx.len + 5, in dib0700_download_firmware()
Ddvb-usb.h480 extern int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, int *pos);
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
Dfpu.c97 static int denormal_mulf(int hx, int hy) in denormal_mulf() argument
103 ix = hx & 0x7fffffff; in denormal_mulf()
106 return ((hx ^ hy) & 0x80000000); in denormal_mulf()
125 ix |= (hx ^ hy) & 0x80000000; in denormal_mulf()
164 static long long denormal_muld(long long hx, long long hy) in denormal_muld() argument
170 ix = hx & 0x7fffffffffffffffLL; in denormal_muld()
173 return ((hx ^ hy) & 0x8000000000000000LL); in denormal_muld()
198 ix |= (hx ^ hy) & 0x8000000000000000LL; in denormal_muld()
255 static int denormal_addf(int hx, int hy) in denormal_addf() argument
260 if ((hx ^ hy) & 0x80000000) { in denormal_addf()
[all …]
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
Dfpu.c248 unsigned int hx, hy; in ieee_fpe_handler() local
252 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
258 && (prec && ((hx & 0x7fffffff) < 0x00100000 in ieee_fpe_handler()
263 llx = ((long long)hx << 32) in ieee_fpe_handler()
271 && (!prec && ((hx & 0x7fffffff) < 0x00800000 in ieee_fpe_handler()
274 hx = float32_mul(hx, hy); in ieee_fpe_handler()
275 tsk->thread.xstate->hardfpu.fp_regs[n] = hx; in ieee_fpe_handler()
286 unsigned int hx, hy; in ieee_fpe_handler() local
290 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
296 && (prec && ((hx & 0x7fffffff) < 0x00100000 in ieee_fpe_handler()
[all …]
/linux-4.1.27/drivers/isdn/hardware/mISDN/
DmISDNipac.c889 waitforCEC(struct hscx_hw *hx) in waitforCEC() argument
894 starb = ReadHSCX(hx, IPAC_STARB); in waitforCEC()
901 pr_debug("%s: B%1d CEC %d us\n", hx->ip->name, hx->bch.nr, in waitforCEC()
904 pr_info("%s: B%1d CEC timeout\n", hx->ip->name, hx->bch.nr); in waitforCEC()
909 waitforXFW(struct hscx_hw *hx) in waitforXFW() argument
914 starb = ReadHSCX(hx, IPAC_STARB); in waitforXFW()
921 pr_debug("%s: B%1d XFW %d us\n", hx->ip->name, hx->bch.nr, in waitforXFW()
924 pr_info("%s: B%1d XFW timeout\n", hx->ip->name, hx->bch.nr); in waitforXFW()
928 hscx_cmdr(struct hscx_hw *hx, u8 cmd) in hscx_cmdr() argument
930 if (hx->ip->type & IPAC_TYPE_IPACX) in hscx_cmdr()
[all …]
/linux-4.1.27/arch/mn10300/kernel/
Dgdb-stub.c1267 char hx; in gdbstub() local
1274 hx = hex_asc_hi(excep >> 8); in gdbstub()
1275 ptr = hex_byte_pack(ptr, hx); in gdbstub()
1276 hx = hex_asc_lo(excep >> 8); in gdbstub()
1277 ptr = hex_byte_pack(ptr, hx); in gdbstub()
1278 hx = hex_asc_hi(excep); in gdbstub()
1279 ptr = hex_byte_pack(ptr, hx); in gdbstub()
1280 hx = hex_asc_lo(excep); in gdbstub()
1281 ptr = hex_byte_pack(ptr, hx); in gdbstub()
1292 hx = hex_asc_hi(bcberr >> 24); in gdbstub()
[all …]
/linux-4.1.27/arch/frv/kernel/
Dgdb-stub.c1493 char hx; in gdbstub() local
1499 hx = hex_asc_hi(brr >> 24); in gdbstub()
1500 ptr = hex_byte_pack(ptr, hx); in gdbstub()
1501 hx = hex_asc_lo(brr >> 24); in gdbstub()
1502 ptr = hex_byte_pack(ptr, hx); in gdbstub()
1503 hx = hex_asc_hi(brr >> 16); in gdbstub()
1504 ptr = hex_byte_pack(ptr, hx); in gdbstub()
1505 hx = hex_asc_lo(brr >> 16); in gdbstub()
1506 ptr = hex_byte_pack(ptr, hx); in gdbstub()
1507 hx = hex_asc_hi(brr >> 8); in gdbstub()
[all …]
/linux-4.1.27/drivers/crypto/ux500/hash/
Dhash_alg.h182 u32 hx[8]; member
Dhash_core.c1295 temp_hx_val = readl_relaxed(&device_data->base->hx[count]); in hash_get_digest()
/linux-4.1.27/drivers/pinctrl/nomadik/
Dpinctrl-nomadik-db8540.c843 DB8540_FUNC_GROUPS(hx, "hxclk_oc2_1", "hxgpio_oc2_1");
936 FUNCTION(hx),
Dpinctrl-nomadik-db8500.c899 DB8500_FUNC_GROUPS(hx, "hxclk_oc1_1", "hxgpio_oc1_1");
957 FUNCTION(hx),
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c4204 int hx = 0, hy = 0, hhave = 0; in ar9003_hw_power_interpolate() local
4217 if (!hhave || dx > (x - hx)) { in ar9003_hw_power_interpolate()
4219 hx = px[ip]; in ar9003_hw_power_interpolate()
4240 if (hx == lx) in ar9003_hw_power_interpolate()
4243 y = interpolate(x, lx, hx, ly, hy); in ar9003_hw_power_interpolate()