Searched refs:rdesc (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/usb/ |
D | hid-core.c | 573 if (device->rdesc) kfree(device->rdesc); in hid_free_device() 678 if (!(device->rdesc = (__u8 *)kmalloc(size, GFP_KERNEL))) { in hid_parse_report() 683 memcpy(device->rdesc, start, size); in hid_parse_report() 687 kfree(device->rdesc); in hid_parse_report() 1307 __u8 rdesc[rsize]; in usb_hid_configure() local 1309 …if ((n = usb_get_class_descriptor(dev, interface->bInterfaceNumber, USB_DT_REPORT, 0, rdesc, rsize… in usb_hid_configure() 1317 printk(" %02x", (unsigned) rdesc[n]); in usb_hid_configure() 1321 if (!(hid = hid_parse_report(rdesc, rsize))) { in usb_hid_configure()
|
D | hid.h | 314 __u8 *rdesc; member
|
/linux-2.4.37.9/net/atm/ |
D | lec.c | 156 unsigned char *get_tr_dst(unsigned char *packet, unsigned char *rdesc) in get_tr_dst() argument 178 memset(rdesc, 0, ETH_ALEN); in get_tr_dst() 181 memcpy(&rdesc[4], &trh->rseg[num_rdsc-2], sizeof(uint16_t)); in get_tr_dst() 183 memcpy(&rdesc[4], &trh->rseg[1], sizeof(uint16_t)); in get_tr_dst() 184 rdesc[5] = ((ntohs(trh->rseg[0]) & 0x000f) | (rdesc[5] & 0xf0)); in get_tr_dst() 238 unsigned char rdesc[ETH_ALEN]; /* Token Ring route descriptor */ in lec_send_packet() local 332 dst = get_tr_dst(skb->data+2, rdesc); in lec_send_packet() 334 dst = rdesc; in lec_send_packet()
|