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

Lines Matching refs:index

181 	int index;
233 for (index = 0; index < NUM_XBUFFS; index++) {
236 if (index < (NUM_XBUFFS - 1)) {
237 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area));
238 icom_port->statStg->xmit[index].leLengthASD =
243 icom_port->statStg->xmit[index].leBuffer =
245 } else if (index == (NUM_XBUFFS - 1)) {
246 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area));
247 icom_port->statStg->xmit[index].leLengthASD =
251 icom_port->statStg->xmit[index].leBuffer =
254 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area));
261 for (index = 0; index < NUM_RBUFFS; index++) {
264 icom_port->statStg->rcv[index].leLength = 0;
265 icom_port->statStg->rcv[index].WorkingLength =
267 if (index < (NUM_RBUFFS - 1) ) {
269 icom_port->statStg->rcv[index].leNext =
273 icom_port->statStg->rcv[index].leBuffer =
275 } else if (index == (NUM_RBUFFS -1) ) {
277 icom_port->statStg->rcv[index].leNext =
281 icom_port->statStg->rcv[index].leBuffer =
284 icom_port->statStg->rcv[index].leNext = 0;
285 icom_port->statStg->rcv[index].leBuffer = 0;
356 int index;
390 for (index = 0; index < fw->size; index++)
391 writeb(fw->data[index], &iram_ptr[index]);
410 for (index = ICOM_DCE_IRAM_OFFSET; index < fw->size; index++)
411 writeb(fw->data[index], &iram_ptr[index]);
454 for (index = 0; index < fw->size; index++)
455 new_page[index] = fw->data[index];
474 for (index = 0; index < 10; index++) {
480 if (index == 10)
1015 int index;
1021 for (index = 0; index < 10; index++) {
1108 int index;
1160 for (index = 0; index < BAUD_TABLE_LIMIT; index++) {
1161 if (icom_acfg_baud[index] == baud) {
1162 new_config3 = index;
1214 for (index = 0; index < 10; index++) {
1245 for (index = 0; index < 10; index++) {
1430 if (cur_adapter_entry->index != adapter_count) {
1436 icom_adapter->index = adapter_count;
1452 int index;
1454 for (index = 0; index < icom_adapter->numb_ports; index++) {
1455 icom_port = &icom_adapter->port_info[index];
1494 int index;
1564 for (index = 0; index < icom_adapter->numb_ports; index++) {
1565 icom_port = &icom_adapter->port_info[index];
1576 icom_port->port + icom_adapter->index * 4;