Searched refs:dcode (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_sup.c548 uint32_t *dcode; qla2xxx_find_flt_start() local
577 dcode = (uint32_t *)req->ring; qla2xxx_find_flt_start()
582 qla24xx_read_flash_data(vha, dcode, pcihdr >> 2, 0x20); qla2xxx_find_flt_start()
589 qla24xx_read_flash_data(vha, dcode, pcids >> 2, 0x20); qla2xxx_find_flt_start()
605 qla24xx_read_flash_data(vha, dcode, pcihdr >> 2, qla2xxx_find_flt_start()
2742 uint16_t *dcode; qla2x00_get_flash_version() local
2833 dcode = (uint16_t *)dbyte; qla2x00_get_flash_version()
2843 if ((dcode[0] == 0xffff && dcode[1] == 0xffff && qla2x00_get_flash_version()
2844 dcode[2] == 0xffff && dcode[3] == 0xffff) || qla2x00_get_flash_version()
2845 (dcode[0] == 0 && dcode[1] == 0 && dcode[2] == 0 && qla2x00_get_flash_version()
2846 dcode[3] == 0)) { qla2x00_get_flash_version()
2872 uint32_t *dcode; qla82xx_get_flash_version() local
2885 dcode = mbuf; qla82xx_get_flash_version()
2892 ha->isp_ops->read_optrom(vha, (uint8_t *)dcode, pcihdr, qla82xx_get_flash_version()
2906 ha->isp_ops->read_optrom(vha, (uint8_t *)dcode, pcids, qla82xx_get_flash_version()
2962 dcode = mbuf; qla82xx_get_flash_version()
2963 ha->isp_ops->read_optrom(vha, (uint8_t *)dcode, ha->flt_region_fw << 2, qla82xx_get_flash_version()
2987 uint32_t *dcode; qla24xx_get_flash_version() local
3004 dcode = mbuf; qla24xx_get_flash_version()
3011 qla24xx_read_flash_data(vha, dcode, pcihdr >> 2, 0x20); qla24xx_get_flash_version()
3024 qla24xx_read_flash_data(vha, dcode, pcids >> 2, 0x20); qla24xx_get_flash_version()
3079 dcode = mbuf; qla24xx_get_flash_version()
3081 qla24xx_read_flash_data(vha, dcode, ha->flt_region_fw + 4, 4); qla24xx_get_flash_version()
3083 dcode[i] = be32_to_cpu(dcode[i]); qla24xx_get_flash_version()
3085 if ((dcode[0] == 0xffffffff && dcode[1] == 0xffffffff && qla24xx_get_flash_version()
3086 dcode[2] == 0xffffffff && dcode[3] == 0xffffffff) || qla24xx_get_flash_version()
3087 (dcode[0] == 0 && dcode[1] == 0 && dcode[2] == 0 && qla24xx_get_flash_version()
3088 dcode[3] == 0)) { qla24xx_get_flash_version()
3093 ha->fw_revision[0] = dcode[0]; qla24xx_get_flash_version()
3094 ha->fw_revision[1] = dcode[1]; qla24xx_get_flash_version()
3095 ha->fw_revision[2] = dcode[2]; qla24xx_get_flash_version()
3096 ha->fw_revision[3] = dcode[3]; qla24xx_get_flash_version()
3110 dcode = mbuf; qla24xx_get_flash_version()
3111 ha->isp_ops->read_optrom(vha, (uint8_t *)dcode, qla24xx_get_flash_version()
3114 if (dcode[4] == 0xFFFFFFFF && dcode[5] == 0xFFFFFFFF && qla24xx_get_flash_version()
3115 dcode[6] == 0xFFFFFFFF && dcode[7] == 0xFFFFFFFF) { qla24xx_get_flash_version()
3123 ha->gold_fw_version[i-4] = be32_to_cpu(dcode[i]); qla24xx_get_flash_version()
H A Dqla_init.c5331 uint32_t *dcode, dlen; qla24xx_load_risc_flash() local
5344 dcode = (uint32_t *)req->ring; qla24xx_load_risc_flash()
5348 qla24xx_read_flash_data(vha, dcode, faddr + 4, 4); qla24xx_load_risc_flash()
5350 dcode[i] = be32_to_cpu(dcode[i]); qla24xx_load_risc_flash()
5351 if ((dcode[0] == 0xffffffff && dcode[1] == 0xffffffff && qla24xx_load_risc_flash()
5352 dcode[2] == 0xffffffff && dcode[3] == 0xffffffff) || qla24xx_load_risc_flash()
5353 (dcode[0] == 0 && dcode[1] == 0 && dcode[2] == 0 && qla24xx_load_risc_flash()
5354 dcode[3] == 0)) { qla24xx_load_risc_flash()
5360 dcode[0], dcode[1], dcode[2], dcode[3]); qla24xx_load_risc_flash()
5367 qla24xx_read_flash_data(vha, dcode, faddr, 4); qla24xx_load_risc_flash()
5369 risc_addr = be32_to_cpu(dcode[2]); qla24xx_load_risc_flash()
5371 risc_size = be32_to_cpu(dcode[3]); qla24xx_load_risc_flash()
5384 qla24xx_read_flash_data(vha, dcode, faddr, dlen); qla24xx_load_risc_flash()
5386 dcode[i] = swab32(dcode[i]); qla24xx_load_risc_flash()
5417 qla24xx_read_flash_data(vha, dcode, faddr, 7); qla24xx_load_risc_flash()
5418 risc_size = be32_to_cpu(dcode[2]); qla24xx_load_risc_flash()
5424 dlen = (risc_size - 8) * sizeof(*dcode); qla24xx_load_risc_flash()
5436 dcode = ha->fw_dump_template; qla24xx_load_risc_flash()
5437 qla24xx_read_flash_data(vha, dcode, faddr, risc_size); qla24xx_load_risc_flash()
5439 dcode[i] = le32_to_cpu(dcode[i]); qla24xx_load_risc_flash()
5441 if (!qla27xx_fwdt_template_valid(dcode)) { qla24xx_load_risc_flash()
5447 dlen = qla27xx_fwdt_template_size(dcode); qla24xx_load_risc_flash()
5450 if (dlen > risc_size * sizeof(*dcode)) { qla24xx_load_risc_flash()
5453 (uint32_t)(dlen - risc_size * sizeof(*dcode))); qla24xx_load_risc_flash()
5476 dcode = ha->fw_dump_template; qla24xx_load_risc_flash()
5477 risc_size = dlen / sizeof(*dcode); qla24xx_load_risc_flash()
5478 memcpy(dcode, qla27xx_fwdt_template_default(), dlen); qla24xx_load_risc_flash()
5480 dcode[i] = be32_to_cpu(dcode[i]); qla24xx_load_risc_flash()
5609 uint32_t *dcode, dlen; qla24xx_load_risc_blob() local
5637 dcode = (uint32_t *)req->ring; qla24xx_load_risc_blob()
5650 dcode[i] = be32_to_cpu(fwcode[i + 4]); qla24xx_load_risc_blob()
5651 if ((dcode[0] == 0xffffffff && dcode[1] == 0xffffffff && qla24xx_load_risc_blob()
5652 dcode[2] == 0xffffffff && dcode[3] == 0xffffffff) || qla24xx_load_risc_blob()
5653 (dcode[0] == 0 && dcode[1] == 0 && dcode[2] == 0 && qla24xx_load_risc_blob()
5654 dcode[3] == 0)) { qla24xx_load_risc_blob()
5660 dcode[0], dcode[1], dcode[2], dcode[3]); qla24xx_load_risc_blob()
5689 dcode[i] = swab32(fwcode[i]); qla24xx_load_risc_blob()
5739 dcode = ha->fw_dump_template; qla24xx_load_risc_blob()
5741 dcode[i] = le32_to_cpu(fwcode[i]); qla24xx_load_risc_blob()
5743 if (!qla27xx_fwdt_template_valid(dcode)) { qla24xx_load_risc_blob()
5749 dlen = qla27xx_fwdt_template_size(dcode); qla24xx_load_risc_blob()
5778 dcode = ha->fw_dump_template; qla24xx_load_risc_blob()
5782 dcode[i] = be32_to_cpu(fwcode[i]); qla24xx_load_risc_blob()
/linux-4.1.27/lib/zlib_inflate/
H A Dinffast.c106 code const *dcode; /* local strm->distcode */ inflate_fast() local
133 dcode = state->distcode; inflate_fast()
173 this = dcode[hold & dmask]; inflate_fast()
308 this = dcode[this.val + (hold & ((1U << op) - 1))]; inflate_fast()
/linux-4.1.27/lib/zlib_deflate/
H A Ddeftree.c997 int dcode; zlib_tr_tally() local
998 for (dcode = 0; dcode < D_CODES; dcode++) { zlib_tr_tally()
999 out_length += (ulg)s->dyn_dtree[dcode].Freq * zlib_tr_tally()
1000 (5L+extra_dbits[dcode]); zlib_tr_tally()
/linux-4.1.27/drivers/isdn/isdnloop/
H A Disdnloop.c1199 char dcode[4]; isdnloop_command() local
1206 strcpy(dcode, "SCA"); isdnloop_command()
1209 strcpy(dcode, "CAL"); isdnloop_command()
1212 dcode, p, c->parm.setup.si1, isdnloop_command()
/linux-4.1.27/drivers/isdn/icn/
H A Dicn.c1312 char dcode[4]; icn_command() local
1319 strcpy(dcode, "SCA"); icn_command()
1322 strcpy(dcode, "CAL"); icn_command()
1325 dcode, p, c->parm.setup.si1, icn_command()

Completed in 344 milliseconds