/drivers/isdn/hardware/avm/ |
D | t1isa.c | 160 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 …]
|
D | b1.c | 516 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 …]
|
D | b1dma.c | 462 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 …]
|
D | c4.c | 521 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 …]
|
D | avmcard.h | 89 char msgbuf[128]; /* capimsg msg part */ member
|
/drivers/block/ |
D | sunvdc.c | 248 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/ |
D | sunvnet.c | 391 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/ |
D | p80211netdev.c | 621 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()
|
D | p80211req.c | 127 int p80211req_dorequest( wlandevice_t *wlandev, u8 *msgbuf) in p80211req_dorequest() argument 130 p80211msg_t *msg = (p80211msg_t*)msgbuf; in p80211req_dorequest()
|
D | p80211req.h | 66 int p80211req_dorequest(wlandevice_t *wlandev, u8 *msgbuf);
|
/drivers/misc/eeprom/ |
D | at24.c | 158 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/ |
D | tmscsim.c | 1189 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()
|
D | dc395x.c | 2603 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()
|