Searched refs:CMD_BUFFER_SIZE (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/hwmon/ |
H A D | corsair-psu.c | 54 #define CMD_BUFFER_SIZE 64 macro 165 memset(priv->cmd_buffer, 0, CMD_BUFFER_SIZE); in corsairpsu_usb_cmd() 172 ret = hid_hw_output_report(priv->hdev, priv->cmd_buffer, CMD_BUFFER_SIZE); in corsairpsu_usb_cmd() 782 priv->cmd_buffer = devm_kmalloc(&hdev->dev, CMD_BUFFER_SIZE, GFP_KERNEL); in corsairpsu_probe() 857 memcpy(priv->cmd_buffer, data, min(CMD_BUFFER_SIZE, size)); in corsairpsu_raw_event()
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | pctv452e.c | 415 #define CMD_BUFFER_SIZE 0x28 macro 575 b = kmalloc(CMD_BUFFER_SIZE + PCTV_ANSWER_LEN, GFP_KERNEL); in pctv452e_rc_query() 579 rx = b + CMD_BUFFER_SIZE; in pctv452e_rc_query()
|
/linux/drivers/iommu/amd/ |
H A D | amd_iommu_types.h | 238 #define CMD_BUFFER_SIZE 8192 macro
|
H A D | iommu.c | 1162 tail = (tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in copy_cmd_to_buffer() 1314 next_tail = (iommu->cmd_buf_tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync() 1316 left = (iommu->cmd_buf_head - next_tail) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync()
|