tag | line | file | source code |
cpp | 90 | drivers/net/slhc.c | static long decode(unsigned char **cpp); |
cpp | 92 | 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 | 51 | drivers/scsi/aic7xxx_asm.c | static const char *cpp[] = { |
cpp | 684 | drivers/scsi/aic7xxx_asm.c | for (i = 0; (!found && (i < NUMBER(cpp))); i++) { |
cpp | 687 | drivers/scsi/aic7xxx_asm.c | buf = strdup(cpp[i]); |
cpp | 593 | drivers/scsi/eata.c | static inline void build_sg_list(struct mscp *cpp, Scsi_Cmnd *SCpnt) { |
cpp | 600 | drivers/scsi/eata.c | cpp->sglist[k].address = htonl((unsigned int) sgpnt[k].address); |
cpp | 601 | drivers/scsi/eata.c | cpp->sglist[k].num_bytes = htonl((unsigned int) sgpnt[k].length); |
cpp | 604 | drivers/scsi/eata.c | cpp->data_address = htonl((unsigned int) cpp->sglist); |
cpp | 605 | drivers/scsi/eata.c | cpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list))); |
cpp | 610 | drivers/scsi/eata.c | struct mscp *cpp; |
cpp | 658 | drivers/scsi/eata.c | cpp = &HD(j)->cp[i]; |
cpp | 660 | drivers/scsi/eata.c | memset(cpp, 0, sizeof(struct mscp)); |
cpp | 668 | drivers/scsi/eata.c | cpp->sp_addr = htonl((unsigned int) spp); |
cpp | 671 | drivers/scsi/eata.c | cpp->index = i; |
cpp | 672 | drivers/scsi/eata.c | SCpnt->host_scribble = (unsigned char *) &cpp->index; |
cpp | 679 | drivers/scsi/eata.c | cpp->dout = TRUE; |
cpp | 683 | drivers/scsi/eata.c | cpp->din = !cpp->dout; |
cpp | 684 | drivers/scsi/eata.c | cpp->reqsen = TRUE; |
cpp | 685 | drivers/scsi/eata.c | cpp->dispri = TRUE; |
cpp | 686 | drivers/scsi/eata.c | cpp->one = TRUE; |
cpp | 687 | drivers/scsi/eata.c | cpp->target = SCpnt->target; |
cpp | 688 | drivers/scsi/eata.c | cpp->lun = SCpnt->lun; |
cpp | 689 | drivers/scsi/eata.c | cpp->SCpnt = SCpnt; |
cpp | 690 | drivers/scsi/eata.c | cpp->sense_addr = htonl((unsigned int) SCpnt->sense_buffer); |
cpp | 691 | drivers/scsi/eata.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
cpp | 694 | drivers/scsi/eata.c | cpp->sg = TRUE; |
cpp | 695 | drivers/scsi/eata.c | build_sg_list(cpp, SCpnt); |
cpp | 698 | drivers/scsi/eata.c | cpp->data_address = htonl((unsigned int) SCpnt->request_buffer); |
cpp | 699 | drivers/scsi/eata.c | cpp->data_len = htonl(SCpnt->request_bufflen); |
cpp | 702 | drivers/scsi/eata.c | memcpy(cpp->cdb, SCpnt->cmnd, SCpnt->cmd_len); |
cpp | 705 | drivers/scsi/eata.c | if (do_dma(sh[j]->io_port, (unsigned int) cpp, SEND_CP_DMA)) { |
cpp | 895 | drivers/scsi/eata.c | struct mscp *cpp; |
cpp | 957 | drivers/scsi/eata.c | cpp = &HD(j)->cp[i]; |
cpp | 963 | drivers/scsi/eata.c | if (SCpnt != cpp->SCpnt) |
cpp | 965 | drivers/scsi/eata.c | BN(j), i, SCpnt, cpp->SCpnt); |
cpp | 311 | drivers/scsi/u14-34f.c | struct mscp *cpp; |
cpp | 314 | drivers/scsi/u14-34f.c | cpp = &HD(j)->cp[0]; |
cpp | 315 | drivers/scsi/u14-34f.c | memset(cpp, 0, sizeof(struct mscp)); |
cpp | 316 | drivers/scsi/u14-34f.c | cpp->opcode = OP_HOST_ADAPTER; |
cpp | 317 | drivers/scsi/u14-34f.c | cpp->xdir = DTD_IN; |
cpp | 318 | drivers/scsi/u14-34f.c | cpp->data_address = (unsigned int) HD(j)->board_id; |
cpp | 319 | drivers/scsi/u14-34f.c | cpp->data_len = sizeof(HD(j)->board_id); |
cpp | 320 | drivers/scsi/u14-34f.c | cpp->scsi_cdbs_len = 6; |
cpp | 321 | drivers/scsi/u14-34f.c | cpp->scsi_cdbs[0] = HA_CMD_INQUIRY; |
cpp | 334 | drivers/scsi/u14-34f.c | outl((unsigned int)cpp, sh[j]->io_port + REG_OGM); |
cpp | 344 | drivers/scsi/u14-34f.c | if (cpp->adapter_status || HD(j)->cp_stat[0] != FREE) { |
cpp | 346 | drivers/scsi/u14-34f.c | printk("%s: board_inquiry, err 0x%x.\n", BN(j), cpp->adapter_status); |
cpp | 557 | drivers/scsi/u14-34f.c | static inline void build_sg_list(struct mscp *cpp, Scsi_Cmnd *SCpnt) { |
cpp | 564 | drivers/scsi/u14-34f.c | cpp->sglist[k].address = (unsigned int) sgpnt[k].address; |
cpp | 565 | drivers/scsi/u14-34f.c | cpp->sglist[k].num_bytes = sgpnt[k].length; |
cpp | 569 | drivers/scsi/u14-34f.c | cpp->use_sg = SCpnt->use_sg; |
cpp | 570 | drivers/scsi/u14-34f.c | cpp->data_address = (unsigned int) cpp->sglist; |
cpp | 571 | drivers/scsi/u14-34f.c | cpp->data_len = data_len; |
cpp | 576 | drivers/scsi/u14-34f.c | struct mscp *cpp; |
cpp | 623 | drivers/scsi/u14-34f.c | cpp = &HD(j)->cp[i]; |
cpp | 625 | drivers/scsi/u14-34f.c | memset(cpp, 0, sizeof(struct mscp)); |
cpp | 627 | drivers/scsi/u14-34f.c | cpp->index = i; |
cpp | 628 | drivers/scsi/u14-34f.c | SCpnt->host_scribble = (unsigned char *) &cpp->index; |
cpp | 633 | drivers/scsi/u14-34f.c | cpp->xdir = DTD_IN; |
cpp | 637 | drivers/scsi/u14-34f.c | cpp->xdir = DTD_OUT; |
cpp | 641 | drivers/scsi/u14-34f.c | cpp->opcode = OP_SCSI; |
cpp | 642 | drivers/scsi/u14-34f.c | cpp->target = SCpnt->target; |
cpp | 643 | drivers/scsi/u14-34f.c | cpp->lun = SCpnt->lun; |
cpp | 644 | drivers/scsi/u14-34f.c | cpp->SCpnt = SCpnt; |
cpp | 645 | drivers/scsi/u14-34f.c | cpp->sense_addr = (unsigned int) SCpnt->sense_buffer; |
cpp | 646 | drivers/scsi/u14-34f.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
cpp | 649 | drivers/scsi/u14-34f.c | cpp->sg = TRUE; |
cpp | 650 | drivers/scsi/u14-34f.c | build_sg_list(cpp, SCpnt); |
cpp | 653 | drivers/scsi/u14-34f.c | cpp->data_address = (unsigned int)SCpnt->request_buffer; |
cpp | 654 | drivers/scsi/u14-34f.c | cpp->data_len = SCpnt->request_bufflen; |
cpp | 657 | drivers/scsi/u14-34f.c | cpp->scsi_cdbs_len = SCpnt->cmd_len; |
cpp | 658 | drivers/scsi/u14-34f.c | memcpy(cpp->scsi_cdbs, SCpnt->cmnd, cpp->scsi_cdbs_len); |
cpp | 671 | drivers/scsi/u14-34f.c | outl((unsigned int)cpp, sh[j]->io_port + REG_OGM); |
cpp | 176 | include/net/slhc_vj.h | int isize, unsigned char *ocp, unsigned char **cpp, |