Home
last modified time | relevance | path

Searched refs:total_pkt_size (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dfirmware_if.c171 size_t total_pkt_size; in hl_fw_unmask_irq_arr() local
175 total_pkt_size = sizeof(struct cpucp_unmask_irq_arr_packet) + in hl_fw_unmask_irq_arr()
179 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in hl_fw_unmask_irq_arr()
182 if (total_pkt_size > USHRT_MAX) { in hl_fw_unmask_irq_arr()
187 pkt = kzalloc(total_pkt_size, GFP_KERNEL); in hl_fw_unmask_irq_arr()
198 total_pkt_size, 0, &result); in hl_fw_unmask_irq_arr()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Dpci.h185 __le16 total_pkt_size; member
Dpci.c691 u16 total_pkt_size; in rtw_pci_dma_check() local
695 total_pkt_size = le16_to_cpu(buf_desc->total_pkt_size); in rtw_pci_dma_check()
698 if (total_pkt_size != rtwpci->rx_tag) in rtw_pci_dma_check()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/
Dgoya.c4510 size_t total_pkt_size; in goya_unmask_irq_arr() local
4516 total_pkt_size = sizeof(struct cpucp_unmask_irq_arr_packet) + in goya_unmask_irq_arr()
4520 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in goya_unmask_irq_arr()
4523 if (total_pkt_size > USHRT_MAX) { in goya_unmask_irq_arr()
4528 pkt = kzalloc(total_pkt_size, GFP_KERNEL); in goya_unmask_irq_arr()
4547 total_pkt_size, 0, &result); in goya_unmask_irq_arr()