• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/target/linux/amazon/files/drivers/char/

Lines Matching defs:data

152 //static u8 clreoc[MEI_CLREOC_BUFF_SIZE]__attribute__ ((aligned(4)));	//buffer to hold clearEoC data in bytes
403 // Write the data pushed across DMA
439 // Write the data pushed across DMA
474 // Write the data pushed across DMA
509 // Read the data popped across DMA
545 // Read the data popped across DMA
580 // Read the data popped across DMA
641 // For the requested length, write the address and write the data
696 // For the requested length, write the address and read the data
751 // For the requested length, write the address and write the data
806 // For the requested length, write the address and read the data
861 // For the requested length, write the address and write the data
915 // For the requested length, write the address and read the data
1046 // Read debug data reg and save content
1052 // Write debug data reg with content ORd with 0x2 (halt bit set)
1173 // Read debug data reg and save content
1179 // Write debug data reg with content ANDd with 0xFDFFFFFF (halt bit cleared)
1197 int meiGetPage( u32 Page, u32 data, u32 MaxSize, u32 *Buffer, u32 *Dest)
1207 ** Get program or data size, depending on "data" flag
1209 size = (data == GET_DATA) ? img_hdr->page[ Page].d_size : img_hdr->page[ Page].p_size;
1218 ** Get program or data offset, depending on "data" flag
1220 i = data ? img_hdr->page[ Page].d_offset : img_hdr->page[ Page].p_offset;
1223 ** Copy data/program to buffer
1232 ** Pass back data/program destination address
1234 *Dest = data ? img_hdr->page[Page].d_dest : img_hdr->page[Page].p_dest;
1313 void WriteRegLong(u32 addr, u32 data){
1314 //printk("[%8x] <= %8x \n\n", addr, data);
1315 *((volatile u32 *)(addr)) = data;
1327 /* This routine writes the mailbox with the data in an input array */
1353 /* Write data register */
1701 void makeCMV(u8 opcode, u8 group, u16 address, u16 index, int size, u16 * data)
1709 memcpy(TxMessage+4, data, size*2);
1714 void makeCMV_local(u8 opcode, u8 group, u16 address, u16 index, int size, u16 * data,u16 *CMVMSG)
1722 memcpy(CMVMSG+4, data, size*2);
1827 if(pcm_data[i].buff[0]==0xA5){// start of loopback data
1829 printk("\nstart receive data");
2060 u16 data[12]; //used in makeCMV, to pass in payload when CMV set, ignored when CMV read.
2158 memcpy(data,(&(pts.adslLineExtTableEntry_pt->adslLineTransAtucConfig)), 2);
3810 //// up stream data rate
3939 //// down stream data rate
4876 makeCMV(H2D_CMV_READ, STAT, 1, 0, 1, data);
4884 makeCMV(H2D_CMV_READ, STAT, 17, 0, 1, data);
6085 makeCMV(H2D_CMV_READ, INFO, 83, 0, 1, data); //maximum allowed tx message length, in bytes
6108 makeCMV(H2D_CMV_READ, STAT, 12, 0, 1, data);
6160 makeCMV(H2D_CMV_READ, STAT, 1, 0, 1, data);
6168 makeCMV(H2D_CMV_READ, STAT, 17, 0, 1, data);
6604 else//wait for eoc data from higher layer
6631 ifx_push_eoc(eoc_skb); //pass data to higher layer
6754 // printk(" : data page num %d",fetchpage);
6887 u16 data=0;
6910 data = (1<<0);
6911 makeCMV_local(H2D_CMV_WRITE, CNTL, 2, 0, 1,&data,CMVMSG); //Start to send
7024 memcpy(current->command, pkt->data, pkt->len);
7058 memcpy((clreoc+clreoc_wr), pkt->data, ((clreoc_wr+pkt->len)-MEI_CLREOC_BUFF_SIZE+1));
7059 memcpy(clreoc, (pkt->data)+((clreoc_wr+pkt->len)-MEI_CLREOC_BUFF_SIZE+1), (pkt->len)-((clreoc_wr+pkt->len)-MEI_CLREOC_BUFF_SIZE+1));
7063 memcpy((clreoc+clreoc_wr), pkt->data, pkt->len);
7318 u16 * data=NULL; //used in makeCMV, to pass in payload when CMV set, ignored when CMV read.
7774 u16 data=0x0600;
7782 data=0x0600;
7783 makeCMV_local(H2D_CMV_WRITE, INFO, 91, 0, 1, &data,CMVMSG); //configure GPIO9 GPIO10 as outputs
7786 makeCMV_local(H2D_CMV_WRITE, INFO, 91, 2, 1, &data,CMVMSG); //enable writing to bit 9 and bit10
7789 data=0x0a01;
7790 makeCMV_local(H2D_CMV_WRITE, INFO, 91, 4, 1, &data,CMVMSG); //use GPIO10 for TR68 .Enable and don't invert.
7794 data=0x0903;//tecom //use GPIO9 for TR68 data led .turn on.
7796 data=0x0900;
7798 makeCMV_local(H2D_CMV_WRITE, INFO, 91, 5, 1, &data,CMVMSG); //use GPIO9 for TR68 data led .turn off.
7815 data=0x0901;//flash
7816 makeCMV_local(H2D_CMV_WRITE, INFO, 91, 5, 1, &data,CMVMSG); //use GPIO9 for TR68 data led .flash.
7824 do{//do nothing , waiting untill no data traffic
7826 interruptible_sleep_on_timeout(&wait_queue_led, 25); //the time for LED Off , if no data traffic
7839 data=0x0903;//tecom //use GPIO9 for TR68 data led .turn on.
7841 data=0x0900;//off
7843 makeCMV_local(H2D_CMV_WRITE, INFO, 91, 5, 1, &data,CMVMSG); //use GPIO9 for TR68 data led .off.