Home
last modified time | relevance | path

Searched refs:CMD_BUFFER_SIZE (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/hwmon/
Dcorsair-psu.c52 #define CMD_BUFFER_SIZE 64 macro
151 memset(priv->cmd_buffer, 0, CMD_BUFFER_SIZE); in corsairpsu_usb_cmd()
158 ret = hid_hw_output_report(priv->hdev, priv->cmd_buffer, CMD_BUFFER_SIZE); in corsairpsu_usb_cmd()
693 priv->cmd_buffer = devm_kmalloc(&hdev->dev, CMD_BUFFER_SIZE, GFP_KERNEL); in corsairpsu_probe()
768 memcpy(priv->cmd_buffer, data, min(CMD_BUFFER_SIZE, size)); in corsairpsu_raw_event()
/linux-5.19.10/drivers/media/usb/dvb-usb/
Dpctv452e.c413 #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-5.19.10/drivers/iommu/amd/
Damd_iommu_types.h219 #define CMD_BUFFER_SIZE 8192 macro
Diommu.c861 tail = (tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in copy_cmd_to_buffer()
1037 next_tail = (iommu->cmd_buf_tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync()
1039 left = (iommu->cmd_buf_head - next_tail) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync()
Dinit.c657 get_order(CMD_BUFFER_SIZE)); in alloc_command_buffer()
717 free_pages((unsigned long)iommu->cmd_buf, get_order(CMD_BUFFER_SIZE)); in free_command_buffer()