Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/dvb-frontends/
Dmxl5xx_defs.h187 #define BUILD_HYDRA_CMD(cmd_id, req_type, size, data_ptr, cmd_buff) \ argument
189cmd_buff[0] = ((req_type == MXL_CMD_WRITE) ? MXL_HYDRA_PLID_CMD_WRITE : MXL_HYDRA_PLID_CMD_READ); \
190 cmd_buff[1] = (size > 251) ? 0xff : (u8) (size + 4); \
191 cmd_buff[2] = size; \
192 cmd_buff[3] = cmd_id; \
193 cmd_buff[4] = 0x00; \
194 cmd_buff[5] = 0x00; \
196 memcpy((void *)&cmd_buff[6], data_ptr, size); \
Dmxl5xx.c409 u8 cmd_buff[MXL_HYDRA_OEM_MAX_CMD_BUFF_LEN]; in cfg_demod_abort_tune() local
413 cmd_size, &abort_tune_cmd, cmd_buff); in cfg_demod_abort_tune()
415 &cmd_buff[0]); in cfg_demod_abort_tune()
432 u8 cmd_buff[MXL_HYDRA_OEM_MAX_CMD_BUFF_LEN]; in set_parameters() local
483 cmd_size, &demod_chan_cfg, cmd_buff); in set_parameters()
485 &cmd_buff[0]); in set_parameters()
963 u8 cmd_buff[sizeof(struct MXL_HYDRA_SKU_COMMAND_T) + 6]; in firmware_download() local
1042 cmd_size, &dev_sku_cfg, cmd_buff); in firmware_download()
1044 &cmd_buff[0]); in firmware_download()
1351 u8 cmd_buff[MXL_HYDRA_OEM_MAX_CMD_BUFF_LEN]; in enable_tuner() local
[all …]
/linux-5.19.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch-flower.c121 u8 *cmd_buff; in dpaa2_switch_acl_entry_add() local
124 cmd_buff = kzalloc(DPAA2_ETHSW_PORT_ACL_CMD_BUF_SIZE, GFP_KERNEL); in dpaa2_switch_acl_entry_add()
125 if (!cmd_buff) in dpaa2_switch_acl_entry_add()
128 dpsw_acl_prepare_entry_cfg(acl_key, cmd_buff); in dpaa2_switch_acl_entry_add()
130 acl_entry_cfg->key_iova = dma_map_single(dev, cmd_buff, in dpaa2_switch_acl_entry_add()
141 dma_unmap_single(dev, acl_entry_cfg->key_iova, sizeof(cmd_buff), in dpaa2_switch_acl_entry_add()
148 kfree(cmd_buff); in dpaa2_switch_acl_entry_add()
161 u8 *cmd_buff; in dpaa2_switch_acl_entry_remove() local
164 cmd_buff = kzalloc(DPAA2_ETHSW_PORT_ACL_CMD_BUF_SIZE, GFP_KERNEL); in dpaa2_switch_acl_entry_remove()
165 if (!cmd_buff) in dpaa2_switch_acl_entry_remove()
[all …]
/linux-5.19.10/drivers/video/fbdev/
Dpxafb.h62 uint16_t cmd_buff[CMD_BUFF_SIZE]; member
Dpxafb.c1138 cmd_buff_off = offsetof(struct pxafb_dma_buff, cmd_buff); in setup_smart_dma()
1302 fbi->smart_cmds = (uint16_t *) fbi->dma_buff->cmd_buff; in pxafb_smart_init()