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

/linux-4.4.14/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.c5335 uint32_t *dcode, dlen; qla24xx_load_risc_flash() local
5348 dcode = (uint32_t *)req->ring; qla24xx_load_risc_flash()
5352 qla24xx_read_flash_data(vha, dcode, faddr + 4, 4); qla24xx_load_risc_flash()
5354 dcode[i] = be32_to_cpu(dcode[i]); qla24xx_load_risc_flash()
5355 if ((dcode[0] == 0xffffffff && dcode[1] == 0xffffffff && qla24xx_load_risc_flash()
5356 dcode[2] == 0xffffffff && dcode[3] == 0xffffffff) || qla24xx_load_risc_flash()
5357 (dcode[0] == 0 && dcode[1] == 0 && dcode[2] == 0 && qla24xx_load_risc_flash()
5358 dcode[3] == 0)) { qla24xx_load_risc_flash()
5364 dcode[0], dcode[1], dcode[2], dcode[3]); qla24xx_load_risc_flash()
5371 qla24xx_read_flash_data(vha, dcode, faddr, 4); qla24xx_load_risc_flash()
5373 risc_addr = be32_to_cpu(dcode[2]); qla24xx_load_risc_flash()
5375 risc_size = be32_to_cpu(dcode[3]); qla24xx_load_risc_flash()
5388 qla24xx_read_flash_data(vha, dcode, faddr, dlen); qla24xx_load_risc_flash()
5390 dcode[i] = swab32(dcode[i]); qla24xx_load_risc_flash()
5421 qla24xx_read_flash_data(vha, dcode, faddr, 7); qla24xx_load_risc_flash()
5422 risc_size = be32_to_cpu(dcode[2]); qla24xx_load_risc_flash()
5428 dlen = (risc_size - 8) * sizeof(*dcode); qla24xx_load_risc_flash()
5440 dcode = ha->fw_dump_template; qla24xx_load_risc_flash()
5441 qla24xx_read_flash_data(vha, dcode, faddr, risc_size); qla24xx_load_risc_flash()
5443 dcode[i] = le32_to_cpu(dcode[i]); qla24xx_load_risc_flash()
5445 if (!qla27xx_fwdt_template_valid(dcode)) { qla24xx_load_risc_flash()
5451 dlen = qla27xx_fwdt_template_size(dcode); qla24xx_load_risc_flash()
5454 if (dlen > risc_size * sizeof(*dcode)) { qla24xx_load_risc_flash()
5457 (uint32_t)(dlen - risc_size * sizeof(*dcode))); qla24xx_load_risc_flash()
5480 dcode = ha->fw_dump_template; qla24xx_load_risc_flash()
5481 risc_size = dlen / sizeof(*dcode); qla24xx_load_risc_flash()
5482 memcpy(dcode, qla27xx_fwdt_template_default(), dlen); qla24xx_load_risc_flash()
5484 dcode[i] = be32_to_cpu(dcode[i]); qla24xx_load_risc_flash()
5613 uint32_t *dcode, dlen; qla24xx_load_risc_blob() local
5641 dcode = (uint32_t *)req->ring; qla24xx_load_risc_blob()
5654 dcode[i] = be32_to_cpu(fwcode[i + 4]); qla24xx_load_risc_blob()
5655 if ((dcode[0] == 0xffffffff && dcode[1] == 0xffffffff && qla24xx_load_risc_blob()
5656 dcode[2] == 0xffffffff && dcode[3] == 0xffffffff) || qla24xx_load_risc_blob()
5657 (dcode[0] == 0 && dcode[1] == 0 && dcode[2] == 0 && qla24xx_load_risc_blob()
5658 dcode[3] == 0)) { qla24xx_load_risc_blob()
5664 dcode[0], dcode[1], dcode[2], dcode[3]); qla24xx_load_risc_blob()
5693 dcode[i] = swab32(fwcode[i]); qla24xx_load_risc_blob()
5743 dcode = ha->fw_dump_template; qla24xx_load_risc_blob()
5745 dcode[i] = le32_to_cpu(fwcode[i]); qla24xx_load_risc_blob()
5747 if (!qla27xx_fwdt_template_valid(dcode)) { qla24xx_load_risc_blob()
5753 dlen = qla27xx_fwdt_template_size(dcode); qla24xx_load_risc_blob()
5782 dcode = ha->fw_dump_template; qla24xx_load_risc_blob()
5786 dcode[i] = be32_to_cpu(fwcode[i]); qla24xx_load_risc_blob()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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 365 milliseconds