Home
last modified time | relevance | path

Searched refs:cmd_buffer (Results 1 – 13 of 13) sorted by relevance

/drivers/media/usb/pvrusb2/
Dpvrusb2-i2c-core.c49 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 …]
Dpvrusb2-encoder.c48 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 …]
Dpvrusb2-hdw.c1804 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()
3826 hdw->cmd_buffer[0] = cmdcode & 0xffu; in pvr2_issue_simple_cmd()
3831 hdw->cmd_buffer[1] = (cmdcode >> 16) & 0xffu; in pvr2_issue_simple_cmd()
3833 hdw->cmd_buffer[2] = (cmdcode >> 24) & 0xffu; in pvr2_issue_simple_cmd()
[all …]
Dpvrusb2-hdw-internal.h208 unsigned char cmd_buffer[PVR2_CTL_BUFFSIZE]; member
/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c413 u8 cmd_buffer[4] = {0}; in halbtc_get_bt_patch_version() local
420 cmd_buffer, 4, 200); in halbtc_get_bt_patch_version()
429 u8 cmd_buffer[4] = {0}; in halbtc_get_bt_coex_supported_feature() local
437 cmd_buffer, 4, 200); in halbtc_get_bt_coex_supported_feature()
446 u8 cmd_buffer[4] = {0}; in halbtc_get_bt_coex_supported_version() local
454 cmd_buffer, 4, 200); in halbtc_get_bt_coex_supported_version()
463 u8 cmd_buffer[4] = {0}; in halbtc_get_bt_device_info() local
468 cmd_buffer, 4, 200); in halbtc_get_bt_device_info()
476 u8 cmd_buffer[4] = {0}; in halbtc_get_bt_forbidden_slot_val() local
481 cmd_buffer, 4, 200); in halbtc_get_bt_forbidden_slot_val()
[all …]
Dhalbtcoutsrc.h712 u32 cmd_len, u8 *cmd_buffer);
/drivers/crypto/ccp/
Dtee-dev.c112 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()
/drivers/net/wireless/marvell/libertas/
Dif_spi.c62 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()
/drivers/net/can/peak_canfd/
Dpeak_canfd_user.h26 void *cmd_buffer; member
Dpeak_pciefd_main.c456 pciefd_can_writereg(priv, *(u32 *)ucan->cmd_buffer, in pciefd_write_cmd()
458 pciefd_can_writereg(priv, *(u32 *)(ucan->cmd_buffer + 4), in pciefd_write_cmd()
603 priv->ucan.cmd_buffer = &priv->pucan_cmd; in pciefd_can_probe()
Dpeak_canfd.c54 cmd = priv->cmd_buffer + priv->cmd_len; in pucan_add_cmd()
/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h391 uint8_t cmd_buffer[DMUB_RB_CMD_SIZE - sizeof(struct dmub_cmd_header)]; member
/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table2.c935 cmd.cmd_common.cmd_buffer[0] = in enable_lvtma_control_dmcub()