Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/
Dfirmware_if.c513 size_t total_pkt_size; in hl_fw_unmask_irq_arr() local
517 total_pkt_size = sizeof(struct cpucp_unmask_irq_arr_packet) + in hl_fw_unmask_irq_arr()
521 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in hl_fw_unmask_irq_arr()
524 if (total_pkt_size > USHRT_MAX) { in hl_fw_unmask_irq_arr()
529 pkt = kzalloc(total_pkt_size, GFP_KERNEL); in hl_fw_unmask_irq_arr()
540 total_pkt_size, 0, &result); in hl_fw_unmask_irq_arr()
933 size_t total_pkt_size, data_size; in hl_fw_send_msi_info_msg() local
942 total_pkt_size = sizeof(struct cpucp_array_data_packet) + data_size; in hl_fw_send_msi_info_msg()
945 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in hl_fw_send_msi_info_msg()
948 if (total_pkt_size > USHRT_MAX) { in hl_fw_send_msi_info_msg()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dpci.h195 __le16 total_pkt_size; member
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-6.6.21/drivers/accel/habanalabs/goya/
Dgoya.c4506 size_t total_pkt_size; in goya_unmask_irq_arr() local
4512 total_pkt_size = sizeof(struct cpucp_unmask_irq_arr_packet) + in goya_unmask_irq_arr()
4516 total_pkt_size = (total_pkt_size + 0x7) & ~0x7; in goya_unmask_irq_arr()
4519 if (total_pkt_size > USHRT_MAX) { in goya_unmask_irq_arr()
4524 pkt = kzalloc(total_pkt_size, GFP_KERNEL); in goya_unmask_irq_arr()
4543 total_pkt_size, 0, &result); in goya_unmask_irq_arr()