Searched refs:CMD_BUFFER_SIZE (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/hwmon/ |
| H A D | corsair-psu.c | 52 #define CMD_BUFFER_SIZE 64 macro 167 memset(priv->cmd_buffer, 0, CMD_BUFFER_SIZE); in corsairpsu_usb_cmd() 174 ret = hid_hw_output_report(priv->hdev, priv->cmd_buffer, CMD_BUFFER_SIZE); in corsairpsu_usb_cmd() 783 priv->cmd_buffer = devm_kmalloc(&hdev->dev, CMD_BUFFER_SIZE, GFP_KERNEL); in corsairpsu_probe() 858 memcpy(priv->cmd_buffer, data, min(CMD_BUFFER_SIZE, size)); in corsairpsu_raw_event()
|
| /linux/drivers/iommu/amd/ |
| H A D | iommu.c | 1271 tail = (tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in copy_cmd_to_buffer() 1417 next_tail = (iommu->cmd_buf_tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync() 1419 left = (iommu->cmd_buf_head - next_tail) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync()
|
| H A D | init.c | 727 iommu->cmd_buf = iommu_alloc_pages_sz(GFP_KERNEL, CMD_BUFFER_SIZE); in alloc_command_buffer() 1010 iommu->cmd_buf = iommu_memremap(paddr, CMD_BUFFER_SIZE); in remap_or_alloc_cwwb_sem()
|