• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/net/

Lines Matching refs:p_buf

494         struct ccwbk *p_buf;
588 p_buf=privptr->p_read_active_first;
589 while (p_buf!=NULL) {
590 free_pages((unsigned long)p_buf->p_buffer,
593 p_buf=p_buf->next;
602 p_buf=privptr->p_write_active_first;
603 while (p_buf!=NULL) {
604 free_pages((unsigned long)p_buf->p_buffer,
607 p_buf=p_buf->next;
868 struct ccwbk* p_buf;
923 p_buf=privptr->p_read_active_first;
924 while (p_buf!=NULL) {
925 free_pages((unsigned long)p_buf->p_buffer,
928 p_buf=p_buf->next;
937 p_buf=privptr->p_write_active_first;
938 while (p_buf!=NULL) {
939 free_pages((unsigned long)p_buf->p_buffer,
942 p_buf=p_buf->next;
1544 struct ccwbk*p_buf;
1699 p_buf=p_buff;
1701 p_buf->next = p_free_chain;
1702 p_free_chain = p_buf;
1703 p_buf->real=(__u32)__pa(p_buf);
1704 ++p_buf;
1745 p_buf = p_free_chain; /* get a CCW */
1746 p_free_chain = p_buf->next;
1747 p_buf->next =privptr->p_write_free_chain;
1748 privptr->p_write_free_chain = p_buf;
1749 p_buf-> p_buffer = (struct clawbuf *)p_buff;
1750 p_buf-> write.cda = (__u32)__pa(p_buff);
1751 p_buf-> write.flags = CCW_FLAG_SLI | CCW_FLAG_CC;
1752 p_buf-> w_read_FF.cmd_code = CCW_CLAW_CMD_READFF;
1753 p_buf-> w_read_FF.flags = CCW_FLAG_SLI | CCW_FLAG_CC;
1754 p_buf-> w_read_FF.count = 1;
1755 p_buf-> w_read_FF.cda =
1756 (__u32)__pa(&p_buf-> header.flag);
1757 p_buf-> w_TIC_1.cmd_code = CCW_CLAW_CMD_TIC;
1758 p_buf-> w_TIC_1.flags = 0;
1759 p_buf-> w_TIC_1.count = 0;
1781 p_buf=privptr->p_buff_write;
1782 while (p_buf!=NULL) {
1784 p_buf->p_buffer,
1787 p_buf=p_buf->next;
1792 p_buf = p_free_chain;
1793 p_free_chain = p_buf->next;
1794 p_buf->next = privptr->p_write_free_chain;
1795 privptr->p_write_free_chain = p_buf;
1796 privptr->p_buff_write = p_buf;
1797 p_buf->p_buffer=(struct clawbuf *)p_buff;
1798 p_buf-> write.cda = (__u32)__pa(p_buff);
1799 p_buf-> write.flags = CCW_FLAG_SLI | CCW_FLAG_CC;
1800 p_buf-> w_read_FF.cmd_code = CCW_CLAW_CMD_READFF;
1801 p_buf-> w_read_FF.flags = CCW_FLAG_SLI | CCW_FLAG_CC;
1802 p_buf-> w_read_FF.count = 1;
1803 p_buf-> w_read_FF.cda =
1804 (__u32)__pa(&p_buf-> header.flag);
1805 p_buf-> w_TIC_1.cmd_code = CCW_CLAW_CMD_TIC;
1806 p_buf-> w_TIC_1.flags = 0;
1807 p_buf-> w_TIC_1.count = 0;
1845 p_buf = p_free_chain;
1846 p_free_chain = p_buf->next;
1849 p_buf->next=NULL;
1851 p_last_CCWB=p_buf;
1854 p_buf->next=p_first_CCWB;
1859 p_first_CCWB=p_buf;
1861 p_buf->p_buffer=(struct clawbuf *)p_buff;
1863 p_buf-> read.cmd_code = CCW_CLAW_CMD_READ;
1864 p_buf-> read.cda = (__u32)__pa(p_buff);
1865 p_buf-> read.flags = CCW_FLAG_SLI | CCW_FLAG_CC;
1866 p_buf-> read.count = privptr->p_env->read_size;
1869 p_buf-> read_h.cmd_code = CCW_CLAW_CMD_READHEADER;
1870 p_buf-> read_h.cda =
1871 (__u32)__pa(&(p_buf->header));
1872 p_buf-> read_h.flags = CCW_FLAG_SLI | CCW_FLAG_CC;
1873 p_buf-> read_h.count = sizeof(struct clawh);
1876 p_buf-> signal.cmd_code = CCW_CLAW_CMD_SIGNAL_SMOD;
1877 p_buf-> signal.cda =
1879 p_buf-> signal.flags = CCW_FLAG_SLI | CCW_FLAG_CC;
1880 p_buf-> signal.count = 1;
1883 p_buf-> r_TIC_1.cmd_code = CCW_CLAW_CMD_TIC;
1884 p_buf-> r_TIC_1.cda = (__u32)real_TIC_address;
1885 p_buf-> r_TIC_1.flags = 0;
1886 p_buf-> r_TIC_1.count = 0;
1889 p_buf-> r_read_FF.cmd_code = CCW_CLAW_CMD_READFF;
1890 p_buf-> r_read_FF.cda =
1892 p_buf-> r_read_FF.flags =
1894 p_buf-> r_read_FF.count = 1;
1897 memcpy(&p_buf->r_TIC_2,
1898 &p_buf->r_TIC_1, sizeof(struct ccw1));
1901 p_buf->header.length=0xffff;
1902 p_buf->header.opcode=0xff;
1903 p_buf->header.flag=CLAW_PENDING;
1929 p_buf=privptr->p_buff_write;
1930 while (p_buf!=NULL) {
1932 (unsigned long)p_buf->p_buffer,
1935 p_buf=p_buf->next;
1938 p_buf=privptr->p_buff_read;
1939 while (p_buf!=NULL) {
1941 (unsigned long)p_buf->p_buffer,
1944 p_buf=p_buf->next;
1951 p_buf = p_free_chain;
1952 privptr->p_buff_read = p_buf;
1953 p_free_chain = p_buf->next;
1956 p_buf->next=NULL;
1958 p_last_CCWB=p_buf;
1961 p_buf->next=p_first_CCWB;
1967 p_first_CCWB=p_buf;
1969 p_buf->p_buffer=(struct clawbuf *)p_buff;
1971 p_buf-> read.cmd_code = CCW_CLAW_CMD_READ;
1972 p_buf-> read.cda = (__u32)__pa(p_buff);
1973 p_buf-> read.flags = CCW_FLAG_SLI | CCW_FLAG_CC;
1974 p_buf-> read.count = privptr->p_env->read_size;
1977 p_buf-> read_h.cmd_code = CCW_CLAW_CMD_READHEADER;
1978 p_buf-> read_h.cda =
1979 (__u32)__pa(&(p_buf->header));
1980 p_buf-> read_h.flags = CCW_FLAG_SLI | CCW_FLAG_CC;
1981 p_buf-> read_h.count = sizeof(struct clawh);
1984 p_buf-> signal.cmd_code = CCW_CLAW_CMD_SIGNAL_SMOD;
1985 p_buf-> signal.cda =
1987 p_buf-> signal.flags = CCW_FLAG_SLI | CCW_FLAG_CC;
1988 p_buf-> signal.count = 1;
1991 p_buf-> r_TIC_1.cmd_code = CCW_CLAW_CMD_TIC;
1992 p_buf-> r_TIC_1.cda = (__u32)real_TIC_address;
1993 p_buf-> r_TIC_1.flags = 0;
1994 p_buf-> r_TIC_1.count = 0;
1997 p_buf-> r_read_FF.cmd_code = CCW_CLAW_CMD_READFF;
1998 p_buf-> r_read_FF.cda =
2000 p_buf-> r_read_FF.flags =
2002 p_buf-> r_read_FF.count = 1;
2005 memcpy(&p_buf->r_TIC_2, &p_buf->r_TIC_1,
2009 p_buf->header.length=0xffff;
2010 p_buf->header.opcode=0xff;
2011 p_buf->header.flag=CLAW_PENDING;
2053 struct clawbuf *p_buf;
2079 p_buf=p_ccw->p_buffer;
2082 memcpy(p_ctlbk, &p_buf->buffer[4], sizeof(struct clawctl));
2084 memcpy(p_ctlbk, p_buf, sizeof(struct clawctl));