Home
last modified time | relevance | path

Searched refs:msgbuf (Results 1 – 13 of 13) sorted by relevance

/drivers/isdn/hardware/avm/
Dt1isa.c160 MsgLen = t1_get_slice(card->port, card->msgbuf); in t1isa_interrupt()
165 memset(card->msgbuf+MsgLen, 0, 30-MsgLen); in t1isa_interrupt()
167 CAPIMSG_SETLEN(card->msgbuf, 30); in t1isa_interrupt()
173 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in t1isa_interrupt()
182 MsgLen = t1_get_slice(card->port, card->msgbuf); in t1isa_interrupt()
188 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in t1isa_interrupt()
241 MsgLen = t1_get_slice(card->port, card->msgbuf); in t1isa_interrupt()
243 card->msgbuf[MsgLen] = 0; in t1isa_interrupt()
245 && ( card->msgbuf[MsgLen-1] == '\n' in t1isa_interrupt()
246 || card->msgbuf[MsgLen-1] == '\r')) { in t1isa_interrupt()
[all …]
Db1.c516 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_interrupt()
521 memset(card->msgbuf+MsgLen, 0, 30-MsgLen); in b1_interrupt()
523 CAPIMSG_SETLEN(card->msgbuf, 30); in b1_interrupt()
529 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1_interrupt()
538 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_interrupt()
544 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1_interrupt()
597 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_interrupt()
599 card->msgbuf[MsgLen] = 0; in b1_interrupt()
601 && ( card->msgbuf[MsgLen-1] == '\n' in b1_interrupt()
602 || card->msgbuf[MsgLen-1] == '\r')) { in b1_interrupt()
[all …]
Db1dma.c462 MsgLen = _get_slice(&p, card->msgbuf); in b1dma_handle_rx()
466 memset(card->msgbuf+MsgLen, 0, 30-MsgLen); in b1dma_handle_rx()
468 CAPIMSG_SETLEN(card->msgbuf, 30); in b1dma_handle_rx()
474 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1dma_handle_rx()
483 MsgLen = _get_slice(&p, card->msgbuf); in b1dma_handle_rx()
488 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1dma_handle_rx()
548 MsgLen = _get_slice(&p, card->msgbuf); in b1dma_handle_rx()
549 card->msgbuf[MsgLen] = 0; in b1dma_handle_rx()
551 && ( card->msgbuf[MsgLen-1] == '\n' in b1dma_handle_rx()
552 || card->msgbuf[MsgLen-1] == '\r')) { in b1dma_handle_rx()
[all …]
Dc4.c521 MsgLen = _get_slice(&p, card->msgbuf); in c4_handle_rx()
523 cidx = CAPIMSG_CONTROLLER(card->msgbuf)-card->cardnr; in c4_handle_rx()
528 memset(card->msgbuf+MsgLen, 0, 30-MsgLen); in c4_handle_rx()
530 CAPIMSG_SETLEN(card->msgbuf, 30); in c4_handle_rx()
536 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in c4_handle_rx()
545 MsgLen = _get_slice(&p, card->msgbuf); in c4_handle_rx()
546 cidx = CAPIMSG_CONTROLLER(card->msgbuf)-card->cardnr; in c4_handle_rx()
555 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in c4_handle_rx()
630 MsgLen = _get_slice(&p, card->msgbuf); in c4_handle_rx()
631 card->msgbuf[MsgLen] = 0; in c4_handle_rx()
[all …]
Davmcard.h89 char msgbuf[128]; /* capimsg msg part */ member
/drivers/block/
Dsunvdc.c248 static int vdc_ack(struct vdc_port *port, void *msgbuf) in vdc_ack() argument
251 struct vio_dring_data *pkt = msgbuf; in vdc_ack()
263 static int vdc_nack(struct vdc_port *port, void *msgbuf) in vdc_nack() argument
296 } msgbuf; in vdc_event() local
298 err = ldc_read(vio->lp, &msgbuf, sizeof(msgbuf)); in vdc_event()
307 msgbuf.tag.type, in vdc_event()
308 msgbuf.tag.stype, in vdc_event()
309 msgbuf.tag.stype_env, in vdc_event()
310 msgbuf.tag.sid); in vdc_event()
311 err = vio_validate_sid(vio, &msgbuf.tag); in vdc_event()
[all …]
/drivers/net/
Dsunvnet.c391 static int vnet_rx(struct vnet_port *port, void *msgbuf) in vnet_rx() argument
393 struct vio_dring_data *pkt = msgbuf; in vnet_rx()
430 static int vnet_ack(struct vnet_port *port, void *msgbuf) in vnet_ack() argument
433 struct vio_dring_data *pkt = msgbuf; in vnet_ack()
456 static int vnet_nack(struct vnet_port *port, void *msgbuf) in vnet_nack() argument
462 static int handle_mcast(struct vnet_port *port, void *msgbuf) in handle_mcast() argument
464 struct vio_net_mcast_info *pkt = msgbuf; in handle_mcast()
533 } msgbuf; in vnet_event() local
535 err = ldc_read(vio->lp, &msgbuf, sizeof(msgbuf)); in vnet_event()
544 msgbuf.tag.type, in vnet_event()
[all …]
/drivers/staging/wlan-ng/
Dp80211netdev.c621 u8 *msgbuf; in p80211knetdev_do_ioctl() local
648 if ((msgbuf = kmalloc( req->len, GFP_KERNEL))) { in p80211knetdev_do_ioctl()
649 if ( copy_from_user( msgbuf, (void __user *) req->data, req->len) ) { in p80211knetdev_do_ioctl()
652 result = p80211req_dorequest( wlandev, msgbuf); in p80211knetdev_do_ioctl()
656 if ( copy_to_user( (void __user *) req->data, msgbuf, req->len)) { in p80211knetdev_do_ioctl()
660 kfree(msgbuf); in p80211knetdev_do_ioctl()
Dp80211req.c127 int p80211req_dorequest( wlandevice_t *wlandev, u8 *msgbuf) in p80211req_dorequest() argument
130 p80211msg_t *msg = (p80211msg_t*)msgbuf; in p80211req_dorequest()
Dp80211req.h66 int p80211req_dorequest(wlandevice_t *wlandev, u8 *msgbuf);
/drivers/misc/eeprom/
Dat24.c158 u8 msgbuf[2]; in at24_eeprom_read() local
204 msgbuf[i++] = offset >> 8; in at24_eeprom_read()
205 msgbuf[i++] = offset; in at24_eeprom_read()
208 msg[0].buf = msgbuf; in at24_eeprom_read()
/drivers/scsi/
Dtmscsim.c1189 dc390_MsgIn_complete (u8 *msgbuf, u32 len) in dc390_MsgIn_complete() argument
1191 if (*msgbuf == EXTENDED_MESSAGE) in dc390_MsgIn_complete()
1194 if (len < msgbuf[1] + 2) return 0; in dc390_MsgIn_complete()
1196 else if (*msgbuf >= 0x20 && *msgbuf <= 0x2f) // two byte messages in dc390_MsgIn_complete()
Ddc395x.c2603 static inline u8 msgin_completed(u8 * msgbuf, u32 len) in msgin_completed() argument
2605 if (*msgbuf == EXTENDED_MESSAGE) { in msgin_completed()
2608 if (len < msgbuf[1] + 2) in msgin_completed()
2610 } else if (*msgbuf >= 0x20 && *msgbuf <= 0x2f) /* two byte messages */ in msgin_completed()