Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/common/
H A Dfirmware_if.c567 size_t total_pkt_size; in hl_fw_unmask_irq_arr() local
571 total_pkt_size = sizeof(struct cpucp_unmask_irq_arr_packet) + in hl_fw_unmask_irq_arr()
575 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in hl_fw_unmask_irq_arr()
578 if (total_pkt_size > USHRT_MAX) { in hl_fw_unmask_irq_arr()
583 pkt = kzalloc(total_pkt_size, GFP_KERNEL); in hl_fw_unmask_irq_arr()
594 total_pkt_size, 0, &result); in hl_fw_unmask_irq_arr()
941 size_t total_pkt_size, data_size; in hl_fw_send_msi_info_msg() local
950 total_pkt_size = sizeof(struct cpucp_array_data_packet) + data_size; in hl_fw_send_msi_info_msg()
953 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in hl_fw_send_msi_info_msg()
956 if (total_pkt_size > USHRT_MAX) { in hl_fw_send_msi_info_msg()
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
H A Dpci.h195 __le16 total_pkt_size; member
H A Dpci.c690 u16 total_pkt_size; in rtw_pci_dma_check() local
694 total_pkt_size = le16_to_cpu(buf_desc->total_pkt_size); in rtw_pci_dma_check()
697 if (total_pkt_size != rtwpci->rx_tag) in rtw_pci_dma_check()
/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c4495 size_t total_pkt_size; in goya_unmask_irq_arr() local
4501 total_pkt_size = sizeof(struct cpucp_unmask_irq_arr_packet) + in goya_unmask_irq_arr()
4505 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in goya_unmask_irq_arr()
4508 if (total_pkt_size > USHRT_MAX) { in goya_unmask_irq_arr()
4513 pkt = kzalloc(total_pkt_size, GFP_KERNEL); in goya_unmask_irq_arr()
4532 total_pkt_size, 0, &result); in goya_unmask_irq_arr()