/linux-6.1.9/drivers/media/usb/pvrusb2/ |
D | pvrusb2-i2c-core.c | 49 if (length > (sizeof(hdw->cmd_buffer) - 3)) { in pvr2_i2c_write() 53 length,(unsigned int)(sizeof(hdw->cmd_buffer) - 3)); in pvr2_i2c_write() 60 memset(hdw->cmd_buffer, 0, sizeof(hdw->cmd_buffer)); in pvr2_i2c_write() 63 hdw->cmd_buffer[0] = FX2CMD_I2C_WRITE; /* write prefix */ in pvr2_i2c_write() 64 hdw->cmd_buffer[1] = i2c_addr; /* i2c addr of chip */ in pvr2_i2c_write() 65 hdw->cmd_buffer[2] = length; /* length of what follows */ in pvr2_i2c_write() 66 if (length) memcpy(hdw->cmd_buffer + 3, data, length); in pvr2_i2c_write() 70 hdw->cmd_buffer, in pvr2_i2c_write() 72 hdw->cmd_buffer, in pvr2_i2c_write() 75 if (hdw->cmd_buffer[0] != 8) { in pvr2_i2c_write() [all …]
|
D | pvrusb2-encoder.c | 48 memset(hdw->cmd_buffer,0,sizeof(hdw->cmd_buffer)); in pvr2_encoder_write_words() 50 hdw->cmd_buffer[bAddr++] = FX2CMD_MEM_WRITE_DWORD; in pvr2_encoder_write_words() 53 hdw->cmd_buffer[bAddr+6] = (addr & 0xffu); in pvr2_encoder_write_words() 54 hdw->cmd_buffer[bAddr+5] = ((addr>>8) & 0xffu); in pvr2_encoder_write_words() 55 hdw->cmd_buffer[bAddr+4] = ((addr>>16) & 0xffu); in pvr2_encoder_write_words() 56 PVR2_DECOMPOSE_LE(hdw->cmd_buffer, bAddr,data[idx]); in pvr2_encoder_write_words() 60 hdw->cmd_buffer,1+(chunkCnt*7), in pvr2_encoder_write_words() 94 hdw->cmd_buffer[0] = in pvr2_encoder_read_words() 97 hdw->cmd_buffer[1] = 0; in pvr2_encoder_read_words() 98 hdw->cmd_buffer[2] = 0; in pvr2_encoder_read_words() [all …]
|
D | pvrusb2-hdw.c | 1804 hdw->cmd_buffer[0] = FX2CMD_GET_EEPROM_ADDR; in pvr2_hdw_check_firmware() 1806 hdw->cmd_buffer,1, in pvr2_hdw_check_firmware() 1807 hdw->cmd_buffer,1); in pvr2_hdw_check_firmware() 3238 hdw->cmd_buffer[0] = FX2CMD_GET_USB_SPEED; in pvr2_hdw_is_hsm() 3240 hdw->cmd_buffer,1, in pvr2_hdw_is_hsm() 3241 hdw->cmd_buffer,1); in pvr2_hdw_is_hsm() 3243 result = (hdw->cmd_buffer[0] != 0); in pvr2_hdw_is_hsm() 3829 hdw->cmd_buffer[0] = cmdcode & 0xffu; in pvr2_issue_simple_cmd() 3834 hdw->cmd_buffer[1] = (cmdcode >> 16) & 0xffu; in pvr2_issue_simple_cmd() 3836 hdw->cmd_buffer[2] = (cmdcode >> 24) & 0xffu; in pvr2_issue_simple_cmd() [all …]
|
D | pvrusb2-hdw-internal.h | 208 unsigned char cmd_buffer[PVR2_CTL_BUFFSIZE]; member
|
/linux-6.1.9/drivers/hwmon/ |
D | corsair-psu.c | 124 u8 *cmd_buffer; member 153 memset(priv->cmd_buffer, 0, CMD_BUFFER_SIZE); in corsairpsu_usb_cmd() 154 priv->cmd_buffer[0] = p0; in corsairpsu_usb_cmd() 155 priv->cmd_buffer[1] = p1; in corsairpsu_usb_cmd() 156 priv->cmd_buffer[2] = p2; in corsairpsu_usb_cmd() 160 ret = hid_hw_output_report(priv->hdev, priv->cmd_buffer, CMD_BUFFER_SIZE); in corsairpsu_usb_cmd() 174 if (p0 != priv->cmd_buffer[0] || p1 != priv->cmd_buffer[1]) in corsairpsu_usb_cmd() 178 memcpy(data, priv->cmd_buffer + 2, REPLY_SIZE); in corsairpsu_usb_cmd() 720 priv->cmd_buffer = devm_kmalloc(&hdev->dev, CMD_BUFFER_SIZE, GFP_KERNEL); in corsairpsu_probe() 721 if (!priv->cmd_buffer) in corsairpsu_probe() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtcoutsrc.c | 397 u8 cmd_buffer[4] = {0}; in halbtc_get_bt_patch_version() local 404 cmd_buffer, 4, 200); in halbtc_get_bt_patch_version() 413 u8 cmd_buffer[4] = {0}; in halbtc_get_bt_coex_supported_feature() local 421 cmd_buffer, 4, 200); in halbtc_get_bt_coex_supported_feature() 430 u8 cmd_buffer[4] = {0}; in halbtc_get_bt_coex_supported_version() local 438 cmd_buffer, 4, 200); in halbtc_get_bt_coex_supported_version() 447 u8 cmd_buffer[4] = {0}; in halbtc_get_bt_device_info() local 452 cmd_buffer, 4, 200); in halbtc_get_bt_device_info() 460 u8 cmd_buffer[4] = {0}; in halbtc_get_bt_forbidden_slot_val() local 465 cmd_buffer, 4, 200); in halbtc_get_bt_forbidden_slot_val() [all …]
|
D | halbtcoutsrc.h | 712 u32 cmd_len, u8 *cmd_buffer);
|
/linux-6.1.9/drivers/crypto/ccp/ |
D | tee-dev.c | 112 phys_addr_t cmd_buffer; in tee_init_ring() local 132 cmd_buffer = __psp_pa((void *)cmd); in tee_init_ring() 138 iowrite32(lower_32_bits(cmd_buffer), in tee_init_ring() 140 iowrite32(upper_32_bits(cmd_buffer), in tee_init_ring()
|
/linux-6.1.9/drivers/net/wireless/marvell/libertas/ |
D | if_spi.c | 62 u8 cmd_buffer[IF_SPI_CMD_BUF_SIZE]; member 629 memset(card->cmd_buffer, 0, len); in if_spi_prog_main_firmware() 630 memcpy(card->cmd_buffer, fw, bytes); in if_spi_prog_main_firmware() 632 memcpy(card->cmd_buffer, fw, len); in if_spi_prog_main_firmware() 638 card->cmd_buffer, len); in if_spi_prog_main_firmware() 714 card->cmd_buffer, ALIGN(len, 4)); in if_spi_c2h_cmd() 722 memcpy(priv->resp_buf[i], card->cmd_buffer, len); in if_spi_c2h_cmd()
|
/linux-6.1.9/drivers/net/can/peak_canfd/ |
D | peak_canfd_user.h | 26 void *cmd_buffer; member
|
D | peak_pciefd_main.c | 455 pciefd_can_writereg(priv, *(u32 *)ucan->cmd_buffer, in pciefd_write_cmd() 457 pciefd_can_writereg(priv, *(u32 *)(ucan->cmd_buffer + 4), in pciefd_write_cmd() 602 priv->ucan.cmd_buffer = &priv->pucan_cmd; in pciefd_can_probe()
|
D | peak_canfd.c | 55 cmd = priv->cmd_buffer + priv->cmd_len; in pucan_add_cmd()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/inc/ |
D | dmub_cmd.h | 885 uint8_t cmd_buffer[DMUB_RB_CMD_SIZE - sizeof(struct dmub_cmd_header)]; member
|