Searched refs:CMD_BUFFER_SIZE (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/hwmon/ |
D | corsair-psu.c | 52 #define CMD_BUFFER_SIZE 64 macro 153 memset(priv->cmd_buffer, 0, CMD_BUFFER_SIZE); in corsairpsu_usb_cmd() 160 ret = hid_hw_output_report(priv->hdev, priv->cmd_buffer, CMD_BUFFER_SIZE); in corsairpsu_usb_cmd() 720 priv->cmd_buffer = devm_kmalloc(&hdev->dev, CMD_BUFFER_SIZE, GFP_KERNEL); in corsairpsu_probe() 795 memcpy(priv->cmd_buffer, data, min(CMD_BUFFER_SIZE, size)); in corsairpsu_raw_event()
|
/linux-6.1.9/drivers/media/usb/dvb-usb/ |
D | pctv452e.c | 413 #define CMD_BUFFER_SIZE 0x28 macro 573 b = kmalloc(CMD_BUFFER_SIZE + PCTV_ANSWER_LEN, GFP_KERNEL); in pctv452e_rc_query() 577 rx = b + CMD_BUFFER_SIZE; in pctv452e_rc_query()
|
/linux-6.1.9/drivers/iommu/amd/ |
D | amd_iommu_types.h | 228 #define CMD_BUFFER_SIZE 8192 macro
|
D | iommu.c | 921 tail = (tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in copy_cmd_to_buffer() 1097 next_tail = (iommu->cmd_buf_tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync() 1099 left = (iommu->cmd_buf_head - next_tail) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync()
|
D | init.c | 739 get_order(CMD_BUFFER_SIZE)); in alloc_command_buffer() 799 free_pages((unsigned long)iommu->cmd_buf, get_order(CMD_BUFFER_SIZE)); in free_command_buffer()
|