tag | line | file | source code |
cpp | 89 | drivers/net/slhc.c | static long decode(unsigned char **cpp); |
cpp | 91 | drivers/net/slhc.c | static unsigned short pull16(unsigned char **cpp); |
cpp | 210 | drivers/net/slhc.c | pull16(unsigned char **cpp) |
cpp | 214 | drivers/net/slhc.c | rval = *(*cpp)++; |
cpp | 216 | drivers/net/slhc.c | rval |= *(*cpp)++; |
cpp | 222 | drivers/net/slhc.c | decode(unsigned char **cpp) |
cpp | 226 | drivers/net/slhc.c | x = *(*cpp)++; |
cpp | 228 | drivers/net/slhc.c | return pull16(cpp) & 0xffff; /* pull16 returns -1 on error */ |
cpp | 243 | drivers/net/slhc.c | unsigned char *ocp, unsigned char **cpp, int compress_cid) |
cpp | 455 | drivers/net/slhc.c | *cpp = ocp; |
cpp | 461 | drivers/net/slhc.c | *cpp = ocp; |
cpp | 486 | drivers/net/slhc.c | *cpp = ocp; |
cpp | 176 | drivers/net/slhc.h | int isize, unsigned char *ocp, unsigned char **cpp, |
cpp | 582 | drivers/scsi/eata.c | static inline void build_sg_list(struct mscp *cpp, Scsi_Cmnd *SCpnt) { |
cpp | 589 | drivers/scsi/eata.c | cpp->sglist[k].address = htonl((unsigned int) sgpnt[k].address); |
cpp | 590 | drivers/scsi/eata.c | cpp->sglist[k].num_bytes = htonl((unsigned int) sgpnt[k].length); |
cpp | 593 | drivers/scsi/eata.c | cpp->data_address = htonl((unsigned int) cpp->sglist); |
cpp | 594 | drivers/scsi/eata.c | cpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list))); |
cpp | 599 | drivers/scsi/eata.c | struct mscp *cpp; |
cpp | 646 | drivers/scsi/eata.c | cpp = &HD(j)->cp[i]; |
cpp | 648 | drivers/scsi/eata.c | memset(cpp, 0, sizeof(struct mscp)); |
cpp | 656 | drivers/scsi/eata.c | cpp->sp_addr = htonl((unsigned int) spp); |
cpp | 659 | drivers/scsi/eata.c | cpp->index = i; |
cpp | 660 | drivers/scsi/eata.c | SCpnt->host_scribble = (unsigned char *) &cpp->index; |
cpp | 667 | drivers/scsi/eata.c | cpp->dout = TRUE; |
cpp | 671 | drivers/scsi/eata.c | cpp->din = !cpp->dout; |
cpp | 672 | drivers/scsi/eata.c | cpp->reqsen = TRUE; |
cpp | 673 | drivers/scsi/eata.c | cpp->dispri = TRUE; |
cpp | 674 | drivers/scsi/eata.c | cpp->one = TRUE; |
cpp | 675 | drivers/scsi/eata.c | cpp->target = SCpnt->target; |
cpp | 676 | drivers/scsi/eata.c | cpp->lun = SCpnt->lun; |
cpp | 677 | drivers/scsi/eata.c | cpp->SCpnt = SCpnt; |
cpp | 678 | drivers/scsi/eata.c | cpp->sense_addr = htonl((unsigned int) SCpnt->sense_buffer); |
cpp | 679 | drivers/scsi/eata.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
cpp | 682 | drivers/scsi/eata.c | cpp->sg = TRUE; |
cpp | 683 | drivers/scsi/eata.c | build_sg_list(cpp, SCpnt); |
cpp | 686 | drivers/scsi/eata.c | cpp->data_address = htonl((unsigned int) SCpnt->request_buffer); |
cpp | 687 | drivers/scsi/eata.c | cpp->data_len = htonl(SCpnt->request_bufflen); |
cpp | 690 | drivers/scsi/eata.c | memcpy(cpp->cdb, SCpnt->cmnd, SCpnt->cmd_len); |
cpp | 693 | drivers/scsi/eata.c | if (do_dma(sh[j]->io_port, (unsigned int) cpp, SEND_CP_DMA)) { |
cpp | 883 | drivers/scsi/eata.c | struct mscp *cpp; |
cpp | 945 | drivers/scsi/eata.c | cpp = &HD(j)->cp[i]; |
cpp | 951 | drivers/scsi/eata.c | if (SCpnt != cpp->SCpnt) |
cpp | 953 | drivers/scsi/eata.c | BN(j), i, SCpnt, cpp->SCpnt); |
cpp | 297 | drivers/scsi/u14-34f.c | struct mscp *cpp; |
cpp | 300 | drivers/scsi/u14-34f.c | cpp = &HD(j)->cp[0]; |
cpp | 301 | drivers/scsi/u14-34f.c | memset(cpp, 0, sizeof(struct mscp)); |
cpp | 302 | drivers/scsi/u14-34f.c | cpp->opcode = OP_HOST_ADAPTER; |
cpp | 303 | drivers/scsi/u14-34f.c | cpp->xdir = DTD_IN; |
cpp | 304 | drivers/scsi/u14-34f.c | cpp->data_address = (unsigned int) HD(j)->board_id; |
cpp | 305 | drivers/scsi/u14-34f.c | cpp->data_len = sizeof(HD(j)->board_id); |
cpp | 306 | drivers/scsi/u14-34f.c | cpp->scsi_cdbs_len = 6; |
cpp | 307 | drivers/scsi/u14-34f.c | cpp->scsi_cdbs[0] = HA_CMD_INQUIRY; |
cpp | 320 | drivers/scsi/u14-34f.c | outl((unsigned int)cpp, sh[j]->io_port + REG_OGM); |
cpp | 330 | drivers/scsi/u14-34f.c | if (cpp->adapter_status || HD(j)->cp_stat[0] != FREE) { |
cpp | 332 | drivers/scsi/u14-34f.c | printk("%s: board_inquiry, err 0x%x.\n", BN(j), cpp->adapter_status); |
cpp | 541 | drivers/scsi/u14-34f.c | static inline void build_sg_list(struct mscp *cpp, Scsi_Cmnd *SCpnt) { |
cpp | 548 | drivers/scsi/u14-34f.c | cpp->sglist[k].address = (unsigned int) sgpnt[k].address; |
cpp | 549 | drivers/scsi/u14-34f.c | cpp->sglist[k].num_bytes = sgpnt[k].length; |
cpp | 553 | drivers/scsi/u14-34f.c | cpp->use_sg = SCpnt->use_sg; |
cpp | 554 | drivers/scsi/u14-34f.c | cpp->data_address = (unsigned int) cpp->sglist; |
cpp | 555 | drivers/scsi/u14-34f.c | cpp->data_len = data_len; |
cpp | 560 | drivers/scsi/u14-34f.c | struct mscp *cpp; |
cpp | 600 | drivers/scsi/u14-34f.c | cpp = &HD(j)->cp[i]; |
cpp | 602 | drivers/scsi/u14-34f.c | memset(cpp, 0, sizeof(struct mscp)); |
cpp | 604 | drivers/scsi/u14-34f.c | cpp->index = i; |
cpp | 605 | drivers/scsi/u14-34f.c | SCpnt->host_scribble = (unsigned char *) &cpp->index; |
cpp | 610 | drivers/scsi/u14-34f.c | cpp->opcode = OP_SCSI; |
cpp | 611 | drivers/scsi/u14-34f.c | cpp->xdir = DTD_SCSI; |
cpp | 612 | drivers/scsi/u14-34f.c | cpp->target = SCpnt->target; |
cpp | 613 | drivers/scsi/u14-34f.c | cpp->lun = SCpnt->lun; |
cpp | 614 | drivers/scsi/u14-34f.c | cpp->SCpnt = SCpnt; |
cpp | 615 | drivers/scsi/u14-34f.c | cpp->sense_addr = (unsigned int) SCpnt->sense_buffer; |
cpp | 616 | drivers/scsi/u14-34f.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
cpp | 619 | drivers/scsi/u14-34f.c | cpp->sg = TRUE; |
cpp | 620 | drivers/scsi/u14-34f.c | build_sg_list(cpp, SCpnt); |
cpp | 623 | drivers/scsi/u14-34f.c | cpp->data_address = (unsigned int)SCpnt->request_buffer; |
cpp | 624 | drivers/scsi/u14-34f.c | cpp->data_len = SCpnt->request_bufflen; |
cpp | 627 | drivers/scsi/u14-34f.c | cpp->scsi_cdbs_len = SCpnt->cmd_len; |
cpp | 628 | drivers/scsi/u14-34f.c | memcpy(cpp->scsi_cdbs, SCpnt->cmnd, cpp->scsi_cdbs_len); |
cpp | 641 | drivers/scsi/u14-34f.c | outl((unsigned int)cpp, sh[j]->io_port + REG_OGM); |