Searched refs:rp_len (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/net/bluetooth/ |
D | mgmt_util.c | 170 void *rp, size_t rp_len) in mgmt_cmd_complete() argument 179 skb = alloc_skb(sizeof(*hdr) + sizeof(*ev) + rp_len, GFP_KERNEL); in mgmt_cmd_complete() 187 hdr->len = cpu_to_le16(sizeof(*ev) + rp_len); in mgmt_cmd_complete() 189 ev = skb_put(skb, sizeof(*ev) + rp_len); in mgmt_cmd_complete() 194 memcpy(ev->data, rp, rp_len); in mgmt_cmd_complete() 198 sizeof(*ev) + rp_len, ev); in mgmt_cmd_complete()
|
D | mgmt_util.h | 53 void *rp, size_t rp_len);
|
D | mgmt.c | 436 size_t rp_len; in read_index_list() local 451 rp_len = sizeof(*rp) + (2 * count); in read_index_list() 452 rp = kmalloc(rp_len, GFP_ATOMIC); in read_index_list() 479 rp_len = sizeof(*rp) + (2 * count); in read_index_list() 484 0, rp, rp_len); in read_index_list() 496 size_t rp_len; in read_unconf_index_list() local 511 rp_len = sizeof(*rp) + (2 * count); in read_unconf_index_list() 512 rp = kmalloc(rp_len, GFP_ATOMIC); in read_unconf_index_list() 539 rp_len = sizeof(*rp) + (2 * count); in read_unconf_index_list() 544 MGMT_OP_READ_UNCONF_INDEX_LIST, 0, rp, rp_len); in read_unconf_index_list() [all …]
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_usb_mcu.c | 26 WARN_ON_ONCE(len / 8 != usb->mcu.rp_len); in mt76x02u_multiple_mcu_reads() 28 for (i = 0; i < usb->mcu.rp_len; i++) { in mt76x02u_multiple_mcu_reads() 195 usb->mcu.rp_len = n; in mt76x02u_mcu_rd_rp()
|
D | mt76.h | 563 int rp_len; member
|