Home
last modified time | relevance | path

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

/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 in cypress_get_hexline()
75 struct hexline *hx; cypress_load_firmware() local
[all...]
/linux/drivers/gpu/drm/panel/
H A Dpanel-himax-hx8279.c248 static void hx8279_set_page(struct hx8279 *hx, in hx8279_set_page() argument
253 if (hx->last_page == page) in hx8279_set_page()
258 hx->last_page = page; in hx8279_set_page()
261 static void hx8279_set_module_config(struct hx8279 *hx, in hx8279_set_module_config() argument
264 const struct hx8279_panel_desc *desc = hx->desc; in hx8279_set_module_config()
267 if (hx->skip_voltage_config) in hx8279_set_module_config()
271 hx8279_set_page(hx, dsi_ctx, 0); in hx8279_set_module_config()
302 static void hx8279_set_gmux(struct hx8279 *hx, in hx8279_set_gmux() argument
305 const struct hx8279_goa_mux *gmux = hx->desc->gmux; in hx8279_set_gmux()
312 hx8279_set_page(hx, dsi_ct in hx8279_set_gmux()
329 hx8279_set_analog_gamma(struct hx8279 * hx,struct mipi_dsi_multi_context * dsi_ctx) hx8279_set_analog_gamma() argument
356 hx8279_set_goa_timing(struct hx8279 * hx,struct mipi_dsi_multi_context * dsi_ctx) hx8279_set_goa_timing() argument
383 hx8279_set_goa_cfg(struct hx8279 * hx,struct mipi_dsi_multi_context * dsi_ctx) hx8279_set_goa_cfg() argument
487 hx8279_set_mipi_cfg(struct hx8279 * hx,struct mipi_dsi_multi_context * dsi_ctx) hx8279_set_mipi_cfg() argument
531 hx8279_set_adv_cfg(struct hx8279 * hx,struct mipi_dsi_multi_context * dsi_ctx) hx8279_set_adv_cfg() argument
573 hx8279_set_digital_gamma(struct hx8279 * hx,struct mipi_dsi_multi_context * dsi_ctx) hx8279_set_digital_gamma() argument
620 hx8279_on(struct hx8279 * hx) hx8279_on() argument
650 hx8279_power_off(struct hx8279 * hx) hx8279_power_off() argument
660 struct hx8279 *hx = to_hx8279(panel); hx8279_disable() local
671 struct hx8279 *hx = to_hx8279(panel); hx8279_enable() local
682 struct hx8279 *hx = to_hx8279(panel); hx8279_prepare() local
714 struct hx8279 *hx = to_hx8279(panel); hx8279_unprepare() local
732 struct hx8279 *hx = to_hx8279(panel); hx8279_get_modes() local
766 hx8279_init_vregs(struct hx8279 * hx,struct device * dev) hx8279_init_vregs() argument
790 hx8279_check_gmux_config(struct hx8279 * hx,struct device * dev) hx8279_check_gmux_config() argument
815 hx8279_check_goa_config(struct hx8279 * hx,struct device * dev) hx8279_check_goa_config() argument
894 hx8279_check_dig_gamma(struct hx8279 * hx,struct device * dev,const u8 * component) hx8279_check_dig_gamma() argument
943 hx8279_check_params(struct hx8279 * hx,struct device * dev) hx8279_check_params() argument
999 struct hx8279 *hx; hx8279_probe() local
1095 struct hx8279 *hx = mipi_dsi_get_drvdata(dsi); hx8279_remove() local
[all...]
/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 in usb_cypress_load_firmware()
124 dvb_usb_get_hexline(const struct firmware * fw,struct hexline * hx,int * pos) dvb_usb_get_hexline() argument
[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 in dib0700_download_firmware()
[all...]
H A Ddvb-usb.h524 extern int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, int *pos);
/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 in denormal_addf()
337 denormal_addd(long long hx,long long hy) denormal_addd() argument
469 unsigned int hx, hy; ieee_fpe_handler() local
512 unsigned int hx, hy; ieee_fpe_handler() local
[all...]
/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 in ieee_fpe_handler()
326 unsigned int hx, hy; ieee_fpe_handler() local
365 unsigned int hx; ieee_fpe_handler() local
[all...]
/linux/drivers/isdn/hardware/mISDN/
H A DmISDNipac.c874 waitforCEC(struct hscx_hw *hx) in waitforCEC() argument
879 starb = ReadHSCX(hx, IPAC_STARB); in waitforCEC()
886 pr_debug("%s: B%1d CEC %d us\n", hx->ip->name, hx->bch.nr, in waitforCEC()
889 pr_info("%s: B%1d CEC timeout\n", hx->ip->name, hx->bch.nr); in waitforCEC()
894 waitforXFW(struct hscx_hw *hx) in waitforXFW() argument
899 starb = ReadHSCX(hx, IPAC_STARB); in waitforXFW()
906 pr_debug("%s: B%1d XFW %d us\n", hx->ip->name, hx in waitforXFW()
913 hscx_cmdr(struct hscx_hw * hx,u8 cmd) hscx_cmdr() argument
1008 hscx_xpr(struct hscx_hw * hx) hscx_xpr() argument
1024 ipac_rme(struct hscx_hw * hx) ipac_rme() argument
1076 ipac_irq(struct hscx_hw * hx,u8 ista) ipac_irq() argument
1335 struct hscx_hw *hx = container_of(bch, struct hscx_hw, bch); hscx_l2l1() local
1390 struct hscx_hw *hx = container_of(bch, struct hscx_hw, bch); hscx_bctrl() local
1431 hscx_init(struct hscx_hw * hx) hscx_init() argument
[all...]
/linux/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik-db8500.c919 DB8500_FUNC_GROUPS(hx, "hxclk_oc1_1", "hxgpio_oc1_1");
978 FUNCTION(hx),
/linux/Documentation/core-api/
H A Dprintk-formats.rst21 short int %d or %hx
33 s16 %d or %hx
/linux/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py993 hx = tip_height * (32767 / width)
996 pen_copy.x += round(hx * math.sin(math.radians(pen_copy.xtilt)))