Searched refs:hx (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/media/common/ |
D | cypress_firmware.c | 41 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.19.296/drivers/isdn/hardware/mISDN/ |
D | mISDNipac.c | 889 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 …]
|