| /OK3568_Linux_fs/kernel/drivers/mmc/host/ |
| H A D | via-sdmmc.c | 298 struct mmc_command *cmd; member 510 struct mmc_command *cmd) in via_sdc_get_response() argument 518 if (cmd->flags & MMC_RSP_136) { in via_sdc_get_response() 519 cmd->resp[0] = ((u8) (dwdata1)) | in via_sdc_get_response() 524 cmd->resp[1] = ((u8) (dwdata2)) | in via_sdc_get_response() 529 cmd->resp[2] = ((u8) (dwdata3)) | in via_sdc_get_response() 534 cmd->resp[3] = 0xff | in via_sdc_get_response() 540 cmd->resp[0] = ((dwdata0 & 0xff) << 24) | in via_sdc_get_response() 545 cmd->resp[1] = ((dwdata1 & 0xff) << 24) | in via_sdc_get_response() 552 struct mmc_command *cmd) in via_sdc_send_command() argument [all …]
|
| H A D | davinci_mmc.c | 169 struct mmc_command *cmd; member 269 struct mmc_command *cmd) in mmc_davinci_start_command() argument 275 cmd->opcode, cmd->arg, in mmc_davinci_start_command() 277 switch (mmc_resp_type(cmd)) { in mmc_davinci_start_command() 294 host->cmd = cmd; in mmc_davinci_start_command() 296 switch (mmc_resp_type(cmd)) { in mmc_davinci_start_command() 316 mmc_resp_type(cmd)); in mmc_davinci_start_command() 321 cmd_reg |= cmd->opcode; in mmc_davinci_start_command() 332 if (cmd->data) in mmc_davinci_start_command() 366 writel(cmd->arg, host->base + DAVINCI_MMCARGHL); in mmc_davinci_start_command() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mux/ |
| H A D | adg792a.c | 23 static int adg792a_write_cmd(struct i2c_client *i2c, u8 cmd, int reset) in adg792a_write_cmd() argument 31 return i2c_smbus_write_byte_data(i2c, cmd, data); in adg792a_write_cmd() 37 u8 cmd; in adg792a_set() local 42 cmd = ADG792A_DISABLE_ALL; in adg792a_set() 44 cmd = ADG792A_MUX_ALL(state); in adg792a_set() 49 cmd = ADG792A_DISABLE(controller); in adg792a_set() 51 cmd = ADG792A_MUX(controller, state); in adg792a_set() 54 return adg792a_write_cmd(i2c, cmd, 0); in adg792a_set()
|
| /OK3568_Linux_fs/kernel/include/linux/mmc/ |
| H A D | core.h | 69 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM… argument 84 #define mmc_spi_resp_type(cmd) ((cmd)->flags & \ argument 90 #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK) argument 146 struct mmc_command *cmd; member 175 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | common_baco.c | 89 if ((entry[i].cmd == CMD_WRITE) || in baco_program_registers() 90 (entry[i].cmd == CMD_READMODIFYWRITE) || in baco_program_registers() 91 (entry[i].cmd == CMD_WAITFOR)) in baco_program_registers() 93 if (!baco_cmd_handler(hwmgr, entry[i].cmd, reg, entry[i].mask, in baco_program_registers() 109 if ((entry[i].cmd == CMD_WRITE) || in soc15_baco_program_registers() 110 (entry[i].cmd == CMD_READMODIFYWRITE) || in soc15_baco_program_registers() 111 (entry[i].cmd == CMD_WAITFOR)) in soc15_baco_program_registers() 114 if (!baco_cmd_handler(hwmgr, entry[i].cmd, reg, entry[i].mask, in soc15_baco_program_registers()
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | get_maintainer.pl | 1348 my ($cmd) = @_; 1351 my $output = `$cmd`; 1359 my ($cmd) = @_; 1362 my $output = `$cmd`; 1388 my ($cmd, $file) = @_; 1395 @lines = &{$VCS_cmds{"execute_cmd"}}($cmd); 1427 my ($cmd) = @_; 1430 @lines = &{$VCS_cmds{"execute_cmd"}}($cmd); 1455 my ($cmd) = @_; 1459 @lines = &{$VCS_cmds{"execute_cmd"}}($cmd); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/fiq_debugger/ |
| H A D | fiq_debugger.c | 415 char *cmd) in fiq_debugger_schedule_work() argument 426 strlcpy(state->work_cmd, cmd, sizeof(state->work_cmd)); in fiq_debugger_schedule_work() 436 char *cmd; in fiq_debugger_work() local 448 cmd = work_cmd; in fiq_debugger_work() 449 if (!strncmp(cmd, "reboot", 6)) { in fiq_debugger_work() 450 cmd += 6; in fiq_debugger_work() 451 while (*cmd == ' ') in fiq_debugger_work() 452 cmd++; in fiq_debugger_work() 453 if (*cmd != '\0') in fiq_debugger_work() 454 kernel_restart(cmd); in fiq_debugger_work() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/ |
| H A D | atomisp_compat_ioctl32.c | 835 static long native_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in native_ioctl() argument 840 ret = file->f_op->unlocked_ioctl(file, cmd, arg); in native_ioctl() 846 unsigned int cmd, unsigned long arg) in atomisp_do_compat_ioctl() argument 874 sizeof(*karg) + (cmd == ATOMISP_IOC_S_PARAMETERS32 ? in atomisp_do_compat_ioctl() 883 switch (cmd) { in atomisp_do_compat_ioctl() 885 cmd = ATOMISP_IOC_G_HISTOGRAM; in atomisp_do_compat_ioctl() 888 cmd = ATOMISP_IOC_S_HISTOGRAM; in atomisp_do_compat_ioctl() 891 cmd = ATOMISP_IOC_G_DIS_STAT; in atomisp_do_compat_ioctl() 894 cmd = ATOMISP_IOC_S_DIS_COEFS; in atomisp_do_compat_ioctl() 897 cmd = ATOMISP_IOC_S_DIS_VECTOR; in atomisp_do_compat_ioctl() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A D | i915_ioc32.c | 46 static int compat_i915_getparam(struct file *file, unsigned int cmd, in compat_i915_getparam() argument 75 long i915_ioc32_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in i915_ioc32_compat_ioctl() argument 77 unsigned int nr = DRM_IOCTL_NR(cmd); in i915_ioc32_compat_ioctl() 82 return drm_compat_ioctl(filp, cmd, arg); in i915_ioc32_compat_ioctl() 88 ret = (*fn) (filp, cmd, arg); in i915_ioc32_compat_ioctl() 90 ret = drm_ioctl(filp, cmd, arg); in i915_ioc32_compat_ioctl()
|
| /OK3568_Linux_fs/u-boot/test/py/ |
| H A D | u_boot_console_exec_attach.py | 40 cmd = ['u-boot-test-flash', config.board_type, config.board_identity] 41 runner = self.log.get_runner(cmd[0], sys.stdout) 42 runner.run(cmd) 63 cmd = ['u-boot-test-reset'] + args 64 runner = self.log.get_runner(cmd[0], sys.stdout) 65 runner.run(cmd)
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_mbox.h | 28 u8 cmd; member 46 u8 cmd; member 65 typedef void (*hinic_vf_mbox_cb)(void *handle, u8 cmd, void *buf_in, 67 typedef int (*hinic_pf_mbox_cb)(void *handle, u16 vf_id, u8 cmd, void *buf_in, 125 u8 cmd; member 136 u16 vf_id, u8 cmd, void *buf_in, 162 u8 cmd, void *buf_in, u16 in_size, void *buf_out, 166 enum hinic_mod_type mod, u16 cmd, u16 dst_func, 171 enum hinic_mod_type mod, u16 vf_id, u8 cmd, void *buf_in,
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/ |
| H A D | hal_mcc.c | 750 u8 cmd[H2C_MCC_RQT_TSF_LEN] = {0}; in rtw_hal_mcc_rqt_tsf() local 763 SET_H2CCMD_MCC_RQT_TSFX(cmd, tsfx); in rtw_hal_mcc_rqt_tsf() 764 SET_H2CCMD_MCC_RQT_TSFY(cmd, tsfy); in rtw_hal_mcc_rqt_tsf() 766 rtw_hal_fill_h2c_cmd(padapter, H2C_MCC_RQT_TSF, H2C_MCC_RQT_TSF_LEN, cmd); in rtw_hal_mcc_rqt_tsf() 1680 u8 cmd[H2C_MCC_LOCATION_LEN] = {0}, i = 0, order = 0; in rtw_hal_set_mcc_rsvdpage_cmd() local 1686 SET_H2CCMD_MCC_PWRIDX_OFFLOAD_EN(cmd, _TRUE); in rtw_hal_set_mcc_rsvdpage_cmd() 1687 SET_H2CCMD_MCC_PWRIDX_OFFLOAD_RFNUM(cmd, hal->NumTotalRFPath); in rtw_hal_set_mcc_rsvdpage_cmd() 1691 SET_H2CCMD_MCC_RSVDPAGE_LOC((cmd + order), pmccobjpriv->mcc_loc_rsvd_paga[order]); in rtw_hal_set_mcc_rsvdpage_cmd() 1692 SET_H2CCMD_MCC_PWRIDX_RSVDPAGE_LOC ((cmd + order), pmccobjpriv->mcc_pwr_idx_rsvd_page[order]); in rtw_hal_set_mcc_rsvdpage_cmd() 1699 pr_dbg("0x%x ", cmd[i]); in rtw_hal_set_mcc_rsvdpage_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/ |
| H A D | hal_mcc.c | 749 u8 cmd[H2C_MCC_RQT_TSF_LEN] = {0}; in rtw_hal_mcc_rqt_tsf() local 762 SET_H2CCMD_MCC_RQT_TSFX(cmd, tsfx); in rtw_hal_mcc_rqt_tsf() 763 SET_H2CCMD_MCC_RQT_TSFY(cmd, tsfy); in rtw_hal_mcc_rqt_tsf() 765 rtw_hal_fill_h2c_cmd(padapter, H2C_MCC_RQT_TSF, H2C_MCC_RQT_TSF_LEN, cmd); in rtw_hal_mcc_rqt_tsf() 1680 u8 cmd[H2C_MCC_LOCATION_LEN] = {0}, i = 0, order = 0; in rtw_hal_set_mcc_rsvdpage_cmd() local 1686 SET_H2CCMD_MCC_PWRIDX_OFFLOAD_EN(cmd, _TRUE); in rtw_hal_set_mcc_rsvdpage_cmd() 1687 SET_H2CCMD_MCC_PWRIDX_OFFLOAD_RFNUM(cmd, hal->NumTotalRFPath); in rtw_hal_set_mcc_rsvdpage_cmd() 1691 SET_H2CCMD_MCC_RSVDPAGE_LOC((cmd + order), pmccobjpriv->mcc_loc_rsvd_paga[order]); in rtw_hal_set_mcc_rsvdpage_cmd() 1692 SET_H2CCMD_MCC_PWRIDX_RSVDPAGE_LOC ((cmd + order), pmccobjpriv->mcc_pwr_idx_rsvd_page[order]); in rtw_hal_set_mcc_rsvdpage_cmd() 1699 pr_dbg("0x%x ", cmd[i]); in rtw_hal_set_mcc_rsvdpage_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/ |
| H A D | hal_mcc.c | 750 u8 cmd[H2C_MCC_RQT_TSF_LEN] = {0}; in rtw_hal_mcc_rqt_tsf() local 763 SET_H2CCMD_MCC_RQT_TSFX(cmd, tsfx); in rtw_hal_mcc_rqt_tsf() 764 SET_H2CCMD_MCC_RQT_TSFY(cmd, tsfy); in rtw_hal_mcc_rqt_tsf() 766 rtw_hal_fill_h2c_cmd(padapter, H2C_MCC_RQT_TSF, H2C_MCC_RQT_TSF_LEN, cmd); in rtw_hal_mcc_rqt_tsf() 1680 u8 cmd[H2C_MCC_LOCATION_LEN] = {0}, i = 0, order = 0; in rtw_hal_set_mcc_rsvdpage_cmd() local 1686 SET_H2CCMD_MCC_PWRIDX_OFFLOAD_EN(cmd, _TRUE); in rtw_hal_set_mcc_rsvdpage_cmd() 1687 SET_H2CCMD_MCC_PWRIDX_OFFLOAD_RFNUM(cmd, hal->NumTotalRFPath); in rtw_hal_set_mcc_rsvdpage_cmd() 1691 SET_H2CCMD_MCC_RSVDPAGE_LOC((cmd + order), pmccobjpriv->mcc_loc_rsvd_paga[order]); in rtw_hal_set_mcc_rsvdpage_cmd() 1692 SET_H2CCMD_MCC_PWRIDX_RSVDPAGE_LOC ((cmd + order), pmccobjpriv->mcc_pwr_idx_rsvd_page[order]); in rtw_hal_set_mcc_rsvdpage_cmd() 1699 pr_dbg("0x%x ", cmd[i]); in rtw_hal_set_mcc_rsvdpage_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/ |
| H A D | hal_mcc.c | 750 u8 cmd[H2C_MCC_RQT_TSF_LEN] = {0}; in rtw_hal_mcc_rqt_tsf() local 763 SET_H2CCMD_MCC_RQT_TSFX(cmd, tsfx); in rtw_hal_mcc_rqt_tsf() 764 SET_H2CCMD_MCC_RQT_TSFY(cmd, tsfy); in rtw_hal_mcc_rqt_tsf() 766 rtw_hal_fill_h2c_cmd(padapter, H2C_MCC_RQT_TSF, H2C_MCC_RQT_TSF_LEN, cmd); in rtw_hal_mcc_rqt_tsf() 1680 u8 cmd[H2C_MCC_LOCATION_LEN] = {0}, i = 0, order = 0; in rtw_hal_set_mcc_rsvdpage_cmd() local 1686 SET_H2CCMD_MCC_PWRIDX_OFFLOAD_EN(cmd, _TRUE); in rtw_hal_set_mcc_rsvdpage_cmd() 1687 SET_H2CCMD_MCC_PWRIDX_OFFLOAD_RFNUM(cmd, hal->NumTotalRFPath); in rtw_hal_set_mcc_rsvdpage_cmd() 1691 SET_H2CCMD_MCC_RSVDPAGE_LOC((cmd + order), pmccobjpriv->mcc_loc_rsvd_paga[order]); in rtw_hal_set_mcc_rsvdpage_cmd() 1692 SET_H2CCMD_MCC_PWRIDX_RSVDPAGE_LOC ((cmd + order), pmccobjpriv->mcc_pwr_idx_rsvd_page[order]); in rtw_hal_set_mcc_rsvdpage_cmd() 1699 pr_dbg("0x%x ", cmd[i]); in rtw_hal_set_mcc_rsvdpage_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ar5523/ |
| H A D | ar5523.c | 49 struct ar5523_tx_cmd *cmd) in ar5523_read_reply() argument 75 if (cmd->odata) { in ar5523_read_reply() 76 if (cmd->olen < olen) { in ar5523_read_reply() 78 cmd->olen, olen); in ar5523_read_reply() 79 cmd->olen = 0; in ar5523_read_reply() 80 cmd->res = -EOVERFLOW; in ar5523_read_reply() 82 cmd->olen = olen; in ar5523_read_reply() 83 memcpy(cmd->odata, &rp[1], olen); in ar5523_read_reply() 84 cmd->res = 0; in ar5523_read_reply() 89 complete(&cmd->done); in ar5523_read_reply() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_kcpu.c | 185 struct kbase_kcpu_command *cmd) in kbase_jit_add_to_pending_alloc_list() argument 202 if (cmd->enqueue_ts < jit_alloc_cmd->enqueue_ts) { in kbase_jit_add_to_pending_alloc_list() 225 struct kbase_kcpu_command *cmd) in kbase_kcpu_jit_allocate_process() argument 229 &cmd->info.jit_alloc; in kbase_kcpu_jit_allocate_process() 269 if (jit_cmd == cmd) in kbase_kcpu_jit_allocate_process() 292 dev_warn_ratelimited(kctx->kbdev->dev, "JIT alloc command failed: %pK\n", cmd); in kbase_kcpu_jit_allocate_process() 302 kbase_jit_add_to_pending_alloc_list(queue, cmd); in kbase_kcpu_jit_allocate_process() 435 struct kbase_kcpu_command *cmd) in kbase_kcpu_jit_allocate_finish() argument 442 list_del(&cmd->info.jit_alloc.node); in kbase_kcpu_jit_allocate_finish() 448 if (WARN_ON(cmd->info.jit_alloc.blocked)) { in kbase_kcpu_jit_allocate_finish() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/ |
| H A D | mlan_cmdevt.c | 492 buf = hostcmd->cmd; in wlan_process_hostcmd_cfg() 798 memcpy(pmpriv->adapter, misc->param.hostcmd.cmd, (void *)resp, in wlan_ret_host_cmd() 816 IN HostCmd_DS_COMMAND *cmd, IN t_void *pdata_buf) in wlan_cmd_host_cmd() argument 823 memcpy(pmpriv->adapter, (void *)cmd, pcmd_ptr->cmd, in wlan_cmd_host_cmd() 2539 HostCmd_DS_COMMAND *cmd; in wlan_process_sleep_confirm_resp() local 2548 cmd = (HostCmd_DS_COMMAND *)pbuf; in wlan_process_sleep_confirm_resp() 2549 cmd->result = wlan_le16_to_cpu(cmd->result); in wlan_process_sleep_confirm_resp() 2550 cmd->command = wlan_le16_to_cpu(cmd->command); in wlan_process_sleep_confirm_resp() 2551 cmd->seq_num = wlan_le16_to_cpu(cmd->seq_num); in wlan_process_sleep_confirm_resp() 2554 cmd->seq_num = HostCmd_GET_SEQ_NO(cmd->seq_num); in wlan_process_sleep_confirm_resp() [all …]
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | wext.h | 10 int wext_handle_ioctl(struct net *net, unsigned int cmd, 12 int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, 18 static inline int wext_handle_ioctl(struct net *net, unsigned int cmd, in wext_handle_ioctl() argument 23 static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, in compat_wext_handle_ioctl() argument 46 unsigned int cmd, struct iw_request_info *info, 49 unsigned int cmd, struct iw_request_info *info,
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | reboot.h | 50 extern void do_kernel_restart(char *cmd); 55 extern void do_kernel_pre_restart(char *cmd); 67 static inline void do_kernel_pre_restart(char *cmd) in do_kernel_pre_restart() argument 77 extern void machine_restart(char *cmd); 89 extern void kernel_restart_prepare(char *cmd); 90 extern void kernel_restart(char *cmd);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965.c | 229 struct il_host_cmd cmd = { in il4965_send_led_cmd() local 242 return il_send_cmd(il, &cmd); in il4965_send_led_cmd() 529 struct il_calib_diff_gain_cmd cmd; in il4965_chain_noise_reset() local 540 memset(&cmd, 0, sizeof(cmd)); in il4965_chain_noise_reset() 541 cmd.hdr.op_code = IL_PHY_CALIBRATE_DIFF_GAIN_CMD; in il4965_chain_noise_reset() 542 cmd.diff_gain_a = 0; in il4965_chain_noise_reset() 543 cmd.diff_gain_b = 0; in il4965_chain_noise_reset() 544 cmd.diff_gain_c = 0; in il4965_chain_noise_reset() 545 if (il_send_cmd_pdu(il, C_PHY_CALIBRATION, sizeof(cmd), &cmd)) in il4965_chain_noise_reset() 1243 struct il4965_txpowertable_cmd cmd = { 0 }; in il4965_send_tx_power() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ethtool.c | 861 u8 width, struct ethtool_link_ksettings *cmd) in mlxsw_sp_port_get_link_supported() argument 867 ethtool_link_ksettings_add_link_mode(cmd, supported, Asym_Pause); in mlxsw_sp_port_get_link_supported() 868 ethtool_link_ksettings_add_link_mode(cmd, supported, Autoneg); in mlxsw_sp_port_get_link_supported() 869 ethtool_link_ksettings_add_link_mode(cmd, supported, Pause); in mlxsw_sp_port_get_link_supported() 871 ops->from_ptys_supported_port(mlxsw_sp, eth_proto_cap, cmd); in mlxsw_sp_port_get_link_supported() 873 cmd->link_modes.supported); in mlxsw_sp_port_get_link_supported() 879 struct ethtool_link_ksettings *cmd) in mlxsw_sp_port_get_link_advertise() argument 888 ethtool_link_ksettings_add_link_mode(cmd, advertising, Autoneg); in mlxsw_sp_port_get_link_advertise() 890 cmd->link_modes.advertising); in mlxsw_sp_port_get_link_advertise() 945 struct ethtool_link_ksettings *cmd) in mlxsw_sp_port_get_link_ksettings() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/ |
| H A D | focaltech_flash.c | 113 u8 cmd[FTS_ROMBOOT_CMD_ECC_NEW_LEN] = { 0 }; in fts_pram_ecc_cal_algo() local 116 cmd[0] = FTS_ROMBOOT_CMD_ECC; in fts_pram_ecc_cal_algo() 117 cmd[1] = BYTE_OFF_16(start_addr); in fts_pram_ecc_cal_algo() 118 cmd[2] = BYTE_OFF_8(start_addr); in fts_pram_ecc_cal_algo() 119 cmd[3] = BYTE_OFF_0(start_addr); in fts_pram_ecc_cal_algo() 120 cmd[4] = BYTE_OFF_16(ecc_length); in fts_pram_ecc_cal_algo() 121 cmd[5] = BYTE_OFF_8(ecc_length); in fts_pram_ecc_cal_algo() 122 cmd[6] = BYTE_OFF_0(ecc_length); in fts_pram_ecc_cal_algo() 123 ret = fts_i2c_write(client, cmd, FTS_ROMBOOT_CMD_ECC_NEW_LEN); in fts_pram_ecc_cal_algo() 129 cmd[0] = FTS_ROMBOOT_CMD_ECC_FINISH; in fts_pram_ecc_cal_algo() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-ti-qspi.c | 61 u32 cmd; member 248 unsigned int cmd; in qspi_write_msg() local 253 cmd = qspi->cmd | QSPI_WR_SNGL; in qspi_write_msg() 264 cmd, qspi->dc, *txbuf); in qspi_write_msg() 281 cmd |= QSPI_WLEN(QSPI_WLEN_MAX_BITS); in qspi_write_msg() 284 cmd = qspi->cmd | QSPI_WR_SNGL; in qspi_write_msg() 286 cmd |= QSPI_WLEN(wlen); in qspi_write_msg() 291 cmd, qspi->dc, *txbuf); in qspi_write_msg() 296 cmd, qspi->dc, *txbuf); in qspi_write_msg() 301 ti_qspi_write(qspi, cmd, QSPI_SPI_CMD_REG); in qspi_write_msg() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/vt/ |
| H A D | vt_ioctl.c | 283 static int vt_k_ioctl(struct tty_struct *tty, unsigned int cmd, in vt_k_ioctl() argument 291 switch (cmd) { in vt_k_ioctl() 348 return ksys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0; in vt_k_ioctl() 353 (cmd == KDENABIO)) ? -ENXIO : 0; in vt_k_ioctl() 421 return vt_do_kbkeycode_ioctl(cmd, up, perm); in vt_k_ioctl() 425 return vt_do_kdsk_ioctl(cmd, up, perm, console); in vt_k_ioctl() 429 return vt_do_kdgkb_ioctl(cmd, up, perm); in vt_k_ioctl() 437 return vt_do_diacrit(cmd, up, perm); in vt_k_ioctl() 445 return vt_do_kdskled(console, cmd, arg, perm); in vt_k_ioctl() 489 static inline int do_unimap_ioctl(int cmd, struct unimapdesc __user *user_ud, in do_unimap_ioctl() argument [all …]
|