Home
last modified time | relevance | path

Searched refs:msn (Results 1 – 22 of 22) sorted by relevance

/drivers/isdn/pcbit/
Ddrv.c68 static int pcbit_check_msn(struct pcbit_dev *dev, char *msn);
1010 ptr->msn = NULL; in pcbit_set_msn()
1038 ptr->msn = kmalloc(len + 1, GFP_ATOMIC); in pcbit_set_msn()
1039 if (!ptr->msn) { in pcbit_set_msn()
1045 memcpy(ptr->msn, sp, len); in pcbit_set_msn()
1046 ptr->msn[len] = 0; in pcbit_set_msn()
1049 printk(KERN_DEBUG "msn: %s\n", ptr->msn); in pcbit_set_msn()
1063 static int pcbit_check_msn(struct pcbit_dev *dev, char *msn) in pcbit_check_msn() argument
1069 if (ptr->msn == NULL) in pcbit_check_msn()
1072 if (strcmp(ptr->msn, msn) == 0) in pcbit_check_msn()
Dpcbit.h41 char *msn; member
/drivers/isdn/divert/
Ddivert_procfs.c246 if (strnlen(dioctl.cf_ctrl.msn, sizeof(dioctl.cf_ctrl.msn)) == in isdn_divert_ioctl_unlocked()
247 sizeof(dioctl.cf_ctrl.msn)) in isdn_divert_ioctl_unlocked()
255 dioctl.cf_ctrl.msn, in isdn_divert_ioctl_unlocked()
Disdn_divert.c112 u_char proc, char *msn, in cf_command() argument
121 if (strchr(msn, '.')) return (-EINVAL); /* subaddress not allowed in msn */ in cf_command()
146 msnlen = strlen(msn); in cf_command()
150 strcpy(p, msn); in cf_command()
182 msn, in cf_command()
Disdn_divert.h92 char msn[25]; /* desired msn, empty = all */ member
/drivers/isdn/act2000/
Dmodule.c85 act2000_find_msn(act2000_card *card, char *msn, int ia5) in act2000_find_msn() argument
91 if (!strcmp(p->msn, msn)) { in act2000_find_msn()
114 return (p->msn); in act2000_find_eaz()
167 strcpy(p->msn, &eazmsn[1]); in act2000_set_msn()
182 strcpy(p->msn, &eazmsn[1]); in act2000_set_msn()
Dact2000.h131 char msn[16]; member
Dcapi.c282 len = strlen(p->msn); in actcapi_manufacturer_req_msn()
293 memcpy(m->msg.manufacturer_req_msn.msnmap.msn, p->msn, len); in actcapi_manufacturer_req_msn()
Dcapi.h81 __u8 msn[15]; member
/drivers/isdn/i4l/
Disdn_tty.c625 i = isdn_get_free_channel(usg, l2, m->mdmreg[REG_L3PROT], -1, -1, m->msn); in isdn_tty_dial()
643 strcpy(cmd.parm.num, isdn_map_eaz2msn(m->msn, info->isdn_driver)); in isdn_tty_dial()
666 isdn_map_eaz2msn(m->msn, info->isdn_driver)); in isdn_tty_dial()
836 i = isdn_get_free_channel(usg, l2, m->mdmreg[REG_L3PROT], -1, -1, m->msn); in isdn_tty_resume()
854 strcpy(cmd.parm.num, isdn_map_eaz2msn(m->msn, info->isdn_driver)); in isdn_tty_resume()
931 i = isdn_get_free_channel(usg, l2, m->mdmreg[REG_L3PROT], -1, -1, m->msn); in isdn_tty_send_msg()
948 strcpy(cmd.parm.num, isdn_map_eaz2msn(m->msn, info->isdn_driver)); in isdn_tty_send_msg()
1713 memcpy(m->msn, m->pmsn, ISDN_MSNLEN); in isdn_tty_modem_reset_regs()
1730 memcpy(m->pmsn, m->msn, ISDN_MSNLEN); in modem_write_profile()
1885 emu->msn, emu->lmsn, isdn_map_eaz2msn(emu->msn, di), in isdn_tty_match_icall()
[all …]
Disdn_common.h35 extern char *isdn_map_eaz2msn(char *msn, int di);
Disdn_net.c605 sprintf(cmd.parm.num, "%s", isdn_map_eaz2msn(lp->msn, cmd.driver)); in isdn_net_dial()
688 isdn_map_eaz2msn(lp->msn, cmd.driver)); in isdn_net_dial()
1233 lp->msn) in isdn_net_start_xmit()
1242 lp->msn) in isdn_net_start_xmit()
2154 my_eaz = isdn_map_eaz2msn(lp->msn, di); in isdn_net_find_icall()
2177 p->dev->name, lp->msn, lp->flags, lp->dialstate); in isdn_net_find_icall()
2340 lp->msn) in isdn_net_find_icall()
2457 lp->msn)) < 0) { in isdn_net_force_dial_lp()
2793 chidx, lp->msn)) < 0) { in isdn_net_setcfg()
2814 strlcpy(lp->msn, cfg->eaz, sizeof(lp->msn)); in isdn_net_setcfg()
[all …]
Disdn_common.c500 strcpy(cmd.parm.setup.eazmsn, p->local->msn); in isdn_status_callback()
1852 isdn_map_eaz2msn(char *msn, int di) in isdn_map_eaz2msn() argument
1857 if (strlen(msn) == 1) { in isdn_map_eaz2msn()
1858 i = msn[0] - '0'; in isdn_map_eaz2msn()
1863 return (msn); in isdn_map_eaz2msn()
1877 , int pre_chan, char *msn) in isdn_get_free_channel() argument
1897 if (!strcmp(isdn_map_eaz2msn(msn, d), "-")) in isdn_get_free_channel()
Disdn_ppp.c618 strncpy(pci.local_num, lp->msn, 63); in isdn_ppp_ioctl()
/drivers/infiniband/hw/cxgb4/
Dt4.h169 __be32 msn; member
230 #define CQE_WRID_MSN(x) (be32_to_cpu((x)->u.rcqe.msn))
320 u32 msn; member
373 wq->rq.msn++; in t4_rq_consume()
Dcq.c577 if (unlikely((CQE_WRID_MSN(hw_cqe) != (wq->rq.msn)))) { in poll_cq()
Dqp.c259 wq->rq.msn = 1; in create_qp()
/drivers/infiniband/hw/cxgb3/
Dcxio_wr.h559 __be32 msn; member
623 #define CQE_WRID_MSN(x) (be32_to_cpu((x).u.rcqe.msn))
/drivers/isdn/hisax/
Dl3dss1.c1231 u_char *msn; in l3dss1_setup_req() local
1313 msn = pc->para.setup.eazmsn; in l3dss1_setup_req()
1315 sp = msn; in l3dss1_setup_req()
1323 if (*msn) { in l3dss1_setup_req()
1325 *p++ = strlen(msn) + (screen ? 2 : 1); in l3dss1_setup_req()
1332 while (*msn) in l3dss1_setup_req()
1333 *p++ = *msn++ & 0x7f; in l3dss1_setup_req()
/drivers/isdn/capi/
Dcapidrv.c80 u8 msn[ISDN_MSNLEN]; member
2016 strncpy(bchan->msn, c->parm.num, ISDN_MSNLEN); in capidrv_command()
2024 bchan->msn[0] = 0; in capidrv_command()
/drivers/isdn/hardware/eicon/
Ddivacapi.h130 byte msn[MAX_CPN_MASK_SIZE]; member
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h1449 __be32 msn; member