Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dcorsair-psu.c54 #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()
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Dpctv452e.c415 #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()
/openbmc/linux/drivers/iommu/amd/
H A Damd_iommu_types.h234 #define CMD_BUFFER_SIZE 8192 macro
H A Diommu.c960 tail = (tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in copy_cmd_to_buffer()
1136 next_tail = (iommu->cmd_buf_tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync()
1138 left = (iommu->cmd_buf_head - next_tail) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync()
H A Dinit.c754 get_order(CMD_BUFFER_SIZE)); in alloc_command_buffer()
862 free_pages((unsigned long)iommu->cmd_buf, get_order(CMD_BUFFER_SIZE)); in free_command_buffer()