Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/misc/habanalabs/common/
Dfirmware_if.c404 size_t total_pkt_size; in hl_fw_unmask_irq_arr() local
408 total_pkt_size = sizeof(struct cpucp_unmask_irq_arr_packet) + in hl_fw_unmask_irq_arr()
412 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in hl_fw_unmask_irq_arr()
415 if (total_pkt_size > USHRT_MAX) { in hl_fw_unmask_irq_arr()
420 pkt = kzalloc(total_pkt_size, GFP_KERNEL); in hl_fw_unmask_irq_arr()
431 total_pkt_size, 0, &result); in hl_fw_unmask_irq_arr()
814 size_t total_pkt_size, data_size; in hl_fw_send_msi_info_msg() local
823 total_pkt_size = sizeof(struct cpucp_array_data_packet) + data_size; in hl_fw_send_msi_info_msg()
826 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in hl_fw_send_msi_info_msg()
829 if (total_pkt_size > USHRT_MAX) { in hl_fw_send_msi_info_msg()
[all …]
/Linux-v6.1/drivers/net/wireless/realtek/rtw88/
Dpci.h195 __le16 total_pkt_size; member
Dpci.c727 u16 total_pkt_size; in rtw_pci_dma_check() local
731 total_pkt_size = le16_to_cpu(buf_desc->total_pkt_size); in rtw_pci_dma_check()
734 if (total_pkt_size != rtwpci->rx_tag) in rtw_pci_dma_check()
/Linux-v6.1/drivers/misc/habanalabs/goya/
Dgoya.c4501 size_t total_pkt_size; in goya_unmask_irq_arr() local
4507 total_pkt_size = sizeof(struct cpucp_unmask_irq_arr_packet) + in goya_unmask_irq_arr()
4511 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in goya_unmask_irq_arr()
4514 if (total_pkt_size > USHRT_MAX) { in goya_unmask_irq_arr()
4519 pkt = kzalloc(total_pkt_size, GFP_KERNEL); in goya_unmask_irq_arr()
4538 total_pkt_size, 0, &result); in goya_unmask_irq_arr()