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

Lines Matching defs:link

115 	u8 link;
128 /* WAN link driver entry points. These are called by the WAN router module. */
172 cycx_x25_send(struct cycx_device *card, u8 link, u8 lcn, u8 bitm,
176 cycx_x25_disconnect_response(struct cycx_device *card, u8 link,
249 cfg.link = 0;
390 chan->link = conf->port;
529 * o if link is disconnected then initiate connection
543 * o if there's no more open channels then disconnect physical link. */
584 * o check link state. If link is not up, then drop the packet.
960 cycx_x25_disconnect_response(card, chan->link, lcn);
971 u16 size, toread, link, msg_code;
975 cycx_peek(&card->hw, cmd->buf + 2, &link, sizeof(link));
986 printk(KERN_INFO "Link=%d\n", link);
1035 static int x25_exec(struct cycx_device *card, int command, int link,
1040 u32 addr = 0x1200 + 0x2E0 * link + 0x1E2;
1045 c.link = link;
1059 u32 addr1 = 0xA00 + 0x400 * link;
1095 x25_cmd_conf.conf[1].link = 1;
1226 if ((err = x25_exec(card, X25_CONNECT_REQUEST, chan->link,
1247 return x25_exec(card, X25_CONNECT_RESPONSE, chan->link, &d, 8, NULL, 0);
1251 static int cycx_x25_disconnect_response(struct cycx_device *card, u8 link,
1261 return x25_exec(card, X25_DISCONNECT_RESPONSE, link, &d, 5, NULL, 0);
1265 static int x25_clear_call(struct cycx_device *card, u8 link, u8 lcn, u8 cause,
1277 return x25_exec(card, X25_DISCONNECT_REQUEST, link, d, 7, NULL, 0);
1281 static int cycx_x25_send(struct cycx_device *card, u8 link, u8 lcn, u8 bitm,
1289 return x25_exec(card, X25_DATA_REQUEST, link, &d, 5, buf, len);
1364 x25_clear_call(chan->card, chan->link, chan->lcn, 0, 0);
1464 if (cycx_x25_send(card, chan->link, chan->lcn, bitm, len, skb->data))
1557 printk(KERN_INFO "link number=%d\n", conf->link);