tag | line | file | source code |
cpp | 84 | drivers/net/slhc.c | static long decode(unsigned char **cpp); |
cpp | 86 | drivers/net/slhc.c | static unsigned short pull16(unsigned char **cpp); |
cpp | 208 | drivers/net/slhc.c | pull16(unsigned char **cpp) |
cpp | 212 | drivers/net/slhc.c | rval = *(*cpp)++; |
cpp | 214 | drivers/net/slhc.c | rval |= *(*cpp)++; |
cpp | 220 | drivers/net/slhc.c | decode(unsigned char **cpp) |
cpp | 224 | drivers/net/slhc.c | x = *(*cpp)++; |
cpp | 226 | drivers/net/slhc.c | return pull16(cpp) & 0xffff; /* pull16 returns -1 on error */ |
cpp | 241 | drivers/net/slhc.c | unsigned char *ocp, unsigned char **cpp, int compress_cid) |
cpp | 453 | drivers/net/slhc.c | *cpp = ocp; |
cpp | 459 | drivers/net/slhc.c | *cpp = ocp; |
cpp | 484 | drivers/net/slhc.c | *cpp = ocp; |
cpp | 176 | drivers/net/slhc.h | int isize, unsigned char *ocp, unsigned char **cpp, |
cpp | 467 | drivers/scsi/eata.c | static inline void build_sg_list(struct mscp *cpp, Scsi_Cmnd *SCpnt) { |
cpp | 474 | drivers/scsi/eata.c | cpp->sglist[k].address = htonl((unsigned int) sgpnt[k].address); |
cpp | 475 | drivers/scsi/eata.c | cpp->sglist[k].num_bytes = htonl((unsigned int) sgpnt[k].length); |
cpp | 478 | drivers/scsi/eata.c | cpp->data_address = htonl((unsigned int) cpp->sglist); |
cpp | 479 | drivers/scsi/eata.c | cpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list))); |
cpp | 484 | drivers/scsi/eata.c | struct mscp *cpp; |
cpp | 525 | drivers/scsi/eata.c | cpp = &HD(j)->cp[i]; |
cpp | 527 | drivers/scsi/eata.c | memset(cpp, 0, sizeof(struct mscp)); |
cpp | 535 | drivers/scsi/eata.c | cpp->sp_addr = htonl((unsigned int) spp); |
cpp | 538 | drivers/scsi/eata.c | cpp->index = i; |
cpp | 539 | drivers/scsi/eata.c | SCpnt->host_scribble = (unsigned char *) &cpp->index; |
cpp | 545 | drivers/scsi/eata.c | cpp->dout = TRUE; |
cpp | 547 | drivers/scsi/eata.c | cpp->din = TRUE; |
cpp | 549 | drivers/scsi/eata.c | cpp->reqsen = TRUE; |
cpp | 550 | drivers/scsi/eata.c | cpp->dispri = TRUE; |
cpp | 551 | drivers/scsi/eata.c | cpp->one = TRUE; |
cpp | 552 | drivers/scsi/eata.c | cpp->target = SCpnt->target; |
cpp | 553 | drivers/scsi/eata.c | cpp->lun = SCpnt->lun; |
cpp | 554 | drivers/scsi/eata.c | cpp->SCpnt = SCpnt; |
cpp | 555 | drivers/scsi/eata.c | cpp->sense_addr = htonl((unsigned int) SCpnt->sense_buffer); |
cpp | 556 | drivers/scsi/eata.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
cpp | 559 | drivers/scsi/eata.c | cpp->sg = TRUE; |
cpp | 560 | drivers/scsi/eata.c | build_sg_list(cpp, SCpnt); |
cpp | 563 | drivers/scsi/eata.c | cpp->data_address = htonl((unsigned int) SCpnt->request_buffer); |
cpp | 564 | drivers/scsi/eata.c | cpp->data_len = htonl(SCpnt->request_bufflen); |
cpp | 567 | drivers/scsi/eata.c | memcpy(cpp->cdb, SCpnt->cmnd, SCpnt->cmd_len); |
cpp | 570 | drivers/scsi/eata.c | if (do_dma(sh[j]->io_port, (unsigned int) cpp, SEND_CP_DMA)) { |
cpp | 753 | drivers/scsi/eata.c | struct mscp *cpp; |
cpp | 811 | drivers/scsi/eata.c | cpp = &HD(j)->cp[i]; |
cpp | 817 | drivers/scsi/eata.c | if (SCpnt != cpp->SCpnt) |
cpp | 819 | drivers/scsi/eata.c | BN(j), i, SCpnt, cpp->SCpnt); |
cpp | 424 | drivers/scsi/u14-34f.c | static inline void build_sg_list(struct mscp *cpp, Scsi_Cmnd *SCpnt) { |
cpp | 431 | drivers/scsi/u14-34f.c | cpp->sglist[k].address = (unsigned int) sgpnt[k].address; |
cpp | 432 | drivers/scsi/u14-34f.c | cpp->sglist[k].num_bytes = sgpnt[k].length; |
cpp | 436 | drivers/scsi/u14-34f.c | cpp->use_sg = SCpnt->use_sg; |
cpp | 437 | drivers/scsi/u14-34f.c | cpp->data_address = (unsigned int) cpp->sglist; |
cpp | 438 | drivers/scsi/u14-34f.c | cpp->data_len = data_len; |
cpp | 443 | drivers/scsi/u14-34f.c | struct mscp *cpp; |
cpp | 483 | drivers/scsi/u14-34f.c | cpp = &HD(j)->cp[i]; |
cpp | 485 | drivers/scsi/u14-34f.c | memset(cpp, 0, sizeof(struct mscp)); |
cpp | 487 | drivers/scsi/u14-34f.c | cpp->index = i; |
cpp | 488 | drivers/scsi/u14-34f.c | SCpnt->host_scribble = (unsigned char *) &cpp->index; |
cpp | 493 | drivers/scsi/u14-34f.c | cpp->opcode = OP_SCSI; |
cpp | 494 | drivers/scsi/u14-34f.c | cpp->xdir = DTD_SCSI; |
cpp | 495 | drivers/scsi/u14-34f.c | cpp->target = SCpnt->target; |
cpp | 496 | drivers/scsi/u14-34f.c | cpp->lun = SCpnt->lun; |
cpp | 497 | drivers/scsi/u14-34f.c | cpp->SCpnt = SCpnt; |
cpp | 498 | drivers/scsi/u14-34f.c | cpp->sense_addr = (unsigned int) SCpnt->sense_buffer; |
cpp | 499 | drivers/scsi/u14-34f.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
cpp | 502 | drivers/scsi/u14-34f.c | cpp->sg = TRUE; |
cpp | 503 | drivers/scsi/u14-34f.c | build_sg_list(cpp, SCpnt); |
cpp | 506 | drivers/scsi/u14-34f.c | cpp->data_address = (unsigned int)SCpnt->request_buffer; |
cpp | 507 | drivers/scsi/u14-34f.c | cpp->data_len = SCpnt->request_bufflen; |
cpp | 510 | drivers/scsi/u14-34f.c | cpp->scsi_cdbs_len = SCpnt->cmd_len; |
cpp | 511 | drivers/scsi/u14-34f.c | memcpy(cpp->scsi_cdbs, SCpnt->cmnd, cpp->scsi_cdbs_len); |
cpp | 524 | drivers/scsi/u14-34f.c | outl((unsigned int)cpp, sh[j]->io_port + REG_OGM); |