| /OK3568_Linux_fs/kernel/drivers/ps3/ |
| H A D | ps3av.c | 211 u32 cmd; in ps3av_send_cmd_pkt() local 227 cmd = send_buf->cid; in ps3av_send_cmd_pkt() 253 if ((cmd | PS3AV_REPLY_BIT) != recv_buf->cid) { in ps3av_send_cmd_pkt()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_emulate.c | 362 ulong cmd = kvmppc_get_gpr(vcpu, 3); in kvmppc_core_emulate_op_pr() local 371 if (kvmppc_h_pr(vcpu, cmd) == EMULATE_DONE) in kvmppc_core_emulate_op_pr() 374 vcpu->run->papr_hcall.nr = cmd; in kvmppc_core_emulate_op_pr()
|
| /OK3568_Linux_fs/kernel/drivers/atm/ |
| H A D | iphase.h | 136 int cmd; member 1404 #define NVRAM_CMD(cmd) { \ argument 1406 u_short c = cmd; \
|
| /OK3568_Linux_fs/kernel/drivers/net/usb/ |
| H A D | r8152.c | 5924 struct ethtool_link_ksettings *cmd) in rtl8152_get_link_ksettings() argument 5938 mii_ethtool_get_link_ksettings(&tp->mii, cmd); in rtl8152_get_link_ksettings() 5949 const struct ethtool_link_ksettings *cmd) in rtl8152_set_link_ksettings() argument 5960 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings() 5964 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings() 5968 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings() 5972 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings() 5976 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings() 5980 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings() 5985 ret = rtl8152_set_speed(tp, cmd->base.autoneg, cmd->base.speed, in rtl8152_set_link_ksettings() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/ |
| H A D | rtw_wlan_util.c | 1003 u32 count = 0, cmd; in _ReadCAM() local 1004 cmd = CAM_POLLINIG |addr ; in _ReadCAM() 1005 rtw_write32(padapter, RWCAM, cmd); in _ReadCAM() 1017 u32 j,count = 0, addr, cmd; in read_cam() local 1023 cmd = _ReadCAM(padapter ,addr+j); in read_cam() 1026 _rtw_memcpy(get_key+(j-2)*4, &cmd, 4); in read_cam() 1034 u32 addr, cmd; in read_phy_cam_is_gtk() local 1037 cmd = _ReadCAM(padapter, addr); in read_phy_cam_is_gtk() 1039 res = (cmd & BIT6)? _TRUE:_FALSE; in read_phy_cam_is_gtk() 1044 u32 i, j, addr, cmd; in dump_cam_table() local [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/ |
| H A D | cs4281.c | 653 static int snd_cs4281_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cs4281_trigger() argument 659 switch (cmd) { in snd_cs4281_trigger() 1841 static void snd_cs4281_opl3_command(struct snd_opl3 *opl3, unsigned short cmd, in snd_cs4281_opl3_command() argument 1848 if (cmd & OPL3_RIGHT) in snd_cs4281_opl3_command() 1855 writel((unsigned int)cmd, port); in snd_cs4281_opl3_command()
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/ |
| H A D | mb86a16.c | 1498 struct dvb_diseqc_master_cmd *cmd) in mb86a16_send_diseqc_msg() argument 1513 if (cmd->msg_len > 5 || cmd->msg_len < 4) in mb86a16_send_diseqc_msg() 1516 for (i = 0; i < cmd->msg_len; i++) { in mb86a16_send_diseqc_msg() 1517 if (mb86a16_write(state, regs, cmd->msg[i]) < 0) in mb86a16_send_diseqc_msg()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | ip_gre.c | 782 int cmd) in ipgre_tunnel_ctl() argument 786 if (cmd == SIOCADDTUNNEL || cmd == SIOCCHGTUNNEL) { in ipgre_tunnel_ctl() 796 err = ip_tunnel_ctl(dev, p, cmd); in ipgre_tunnel_ctl() 800 if (cmd == SIOCCHGTUNNEL) { in ipgre_tunnel_ctl()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
| H A D | halbtcoutsrc.c | 185 u8 *cmd, u32 len, unsigned long wait_ms) in halbtc_send_bt_mp_operation() argument 244 cmd[0] |= (oper_ver & 0x0f); /* Set OperVer */ in halbtc_send_bt_mp_operation() 245 cmd[0] |= ((req_num << 4) & 0xf0); /* Set ReqNum */ in halbtc_send_bt_mp_operation() 246 cmd[1] = op_code; in halbtc_send_bt_mp_operation() 247 rtlpriv->cfg->ops->fill_h2c_cmd(rtlpriv->mac80211.hw, 0x67, len, cmd); in halbtc_send_bt_mp_operation()
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | macvlan.c | 831 static int macvlan_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in macvlan_do_ioctl() argument 841 switch (cmd) { in macvlan_do_ioctl() 848 err = ops->ndo_do_ioctl(real_dev, &ifrr, cmd); in macvlan_do_ioctl() 1042 struct ethtool_link_ksettings *cmd) in macvlan_ethtool_get_link_ksettings() argument 1046 return __ethtool_get_link_ksettings(vlan->lowerdev, cmd); in macvlan_ethtool_get_link_ksettings()
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | mpc52xx_uart.c | 112 void (*command)(struct uart_port *port, u8 cmd); 141 static void mpc52xx_psc_command(struct uart_port *port, u8 cmd) in mpc52xx_psc_command() argument 143 out_8(&PSC(port)->command, cmd); in mpc52xx_psc_command() 918 static void mpc5125_psc_command(struct uart_port *port, u8 cmd) in mpc5125_psc_command() argument 920 out_8(&PSC_5125(port)->command, cmd); in mpc5125_psc_command()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_p2p.c | 2553 struct cmd_obj *cmd; in p2p_ps_wk_cmd() local 2565 cmd = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in p2p_ps_wk_cmd() 2566 if (cmd == NULL) { in p2p_ps_wk_cmd() 2570 cmd->padapter = padapter; in p2p_ps_wk_cmd() 2574 rtw_mfree((unsigned char *)cmd, sizeof(struct cmd_obj)); in p2p_ps_wk_cmd() 2584 init_h2fwcmd_w_parm_no_rsp(cmd, pdrvextra_cmd_parm, CMD_SET_DRV_EXTRA); in p2p_ps_wk_cmd() 2586 res = rtw_enqueue_cmd(pcmdpriv, cmd); in p2p_ps_wk_cmd()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_cfgp2p.c | 74 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd); 88 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd); 1294 strlcpy(hdr.cmd, add_del_cmd, sizeof(hdr.cmd)); in wl_cfgp2p_vndr_ie() 2481 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd) in wl_cfgp2p_do_ioctl() argument 2491 if (cmd == SIOCDEVPRIVATE+1) { in wl_cfgp2p_do_ioctl() 2503 __FUNCTION__, cmd)); in wl_cfgp2p_do_ioctl()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_cfgp2p.c | 76 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd); 90 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd); 1286 strlcpy(hdr.cmd, add_del_cmd, sizeof(hdr.cmd)); in wl_cfgp2p_vndr_ie() 2450 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd) argument 2460 if (cmd == SIOCDEVPRIVATE+1) { 2469 __FUNCTION__, cmd));
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_cfgp2p.c | 76 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd); 90 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd); 1286 strlcpy(hdr.cmd, add_del_cmd, sizeof(hdr.cmd)); in wl_cfgp2p_vndr_ie() 2450 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd) argument 2460 if (cmd == SIOCDEVPRIVATE+1) { 2469 __FUNCTION__, cmd));
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | qcom_nandc.c | 293 __le32 cmd; member 606 return ®s->cmd; in offset_to_nandc_reg() 684 u32 cmd, cfg0, cfg1, ecc_bch_cfg; in update_rw_regs() local 688 cmd = OP_PAGE_READ_WITH_ECC | PAGE_ACC | LAST_PAGE; in update_rw_regs() 690 cmd = OP_PAGE_READ | PAGE_ACC | LAST_PAGE; in update_rw_regs() 692 cmd = OP_PROGRAM_PAGE | PAGE_ACC | LAST_PAGE; in update_rw_regs() 709 nandc_set_reg(nandc, NAND_FLASH_CMD, cmd); in update_rw_regs()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_p2p.c | 2553 struct cmd_obj *cmd; in p2p_ps_wk_cmd() local 2565 cmd = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in p2p_ps_wk_cmd() 2566 if (cmd == NULL) { in p2p_ps_wk_cmd() 2570 cmd->padapter = padapter; in p2p_ps_wk_cmd() 2574 rtw_mfree((unsigned char *)cmd, sizeof(struct cmd_obj)); in p2p_ps_wk_cmd() 2584 init_h2fwcmd_w_parm_no_rsp(cmd, pdrvextra_cmd_parm, CMD_SET_DRV_EXTRA); in p2p_ps_wk_cmd() 2586 res = rtw_enqueue_cmd(pcmdpriv, cmd); in p2p_ps_wk_cmd()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_cfgp2p.c | 76 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd); 90 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd); 1286 strlcpy(hdr.cmd, add_del_cmd, sizeof(hdr.cmd)); in wl_cfgp2p_vndr_ie() 2450 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd) argument 2460 if (cmd == SIOCDEVPRIVATE+1) { 2469 __FUNCTION__, cmd));
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_cfgp2p.c | 74 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd); 88 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd); 1307 strlcpy(hdr.cmd, add_del_cmd, sizeof(hdr.cmd)); in wl_cfgp2p_vndr_ie() 2494 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd) in wl_cfgp2p_do_ioctl() argument 2504 if (cmd == SIOCDEVPRIVATE+1) { in wl_cfgp2p_do_ioctl() 2516 __FUNCTION__, cmd)); in wl_cfgp2p_do_ioctl()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/halrf/ |
| H A D | halrf.c | 3424 char *cmd[5] = {"-h", "on", "off", "info", "switch"}; in halrf_dpk_debug_cmd() local 3429 if ((strcmp(input[2], cmd[4]) != 0)) { in halrf_dpk_debug_cmd() 3437 if ((strcmp(input[2], cmd[0]) == 0)) { in halrf_dpk_debug_cmd() 3440 " %s\n", cmd[i]); in halrf_dpk_debug_cmd() 3442 } else if ((strcmp(input[2], cmd[1]) == 0)) { in halrf_dpk_debug_cmd() 3447 } else if ((strcmp(input[2], cmd[2]) == 0)){ in halrf_dpk_debug_cmd() 3452 } else if ((strcmp(input[2], cmd[3]) == 0)) in halrf_dpk_debug_cmd() 3454 else if ((strcmp(input[2], cmd[4]) == 0) && (strcmp(input[3], cmd[1]) == 0)) { in halrf_dpk_debug_cmd() 3458 } else if ((strcmp(input[2], cmd[4]) == 0) && (strcmp(input[3], cmd[2]) == 0)) { in halrf_dpk_debug_cmd()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | syscall.c | 3999 int cmd) in bpf_map_do_batch() argument 4001 bool has_read = cmd == BPF_MAP_LOOKUP_BATCH || in bpf_map_do_batch() 4002 cmd == BPF_MAP_LOOKUP_AND_DELETE_BATCH; in bpf_map_do_batch() 4003 bool has_write = cmd != BPF_MAP_LOOKUP_BATCH; in bpf_map_do_batch() 4027 if (cmd == BPF_MAP_LOOKUP_BATCH) in bpf_map_do_batch() 4029 else if (cmd == BPF_MAP_LOOKUP_AND_DELETE_BATCH) in bpf_map_do_batch() 4031 else if (cmd == BPF_MAP_UPDATE_BATCH) in bpf_map_do_batch() 4385 SYSCALL_DEFINE3(bpf, int, cmd, union bpf_attr __user *, uattr, unsigned int, size) in SYSCALL_DEFINE3() argument 4403 trace_android_vh_check_bpf_syscall(cmd, &attr, size); in SYSCALL_DEFINE3() 4405 err = security_bpf(cmd, &attr, size); in SYSCALL_DEFINE3() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/halrf/ |
| H A D | halrf.c | 3431 char *cmd[5] = {"-h", "on", "off", "info", "switch"}; in halrf_dpk_debug_cmd() local 3436 if ((strcmp(input[2], cmd[4]) != 0)) { in halrf_dpk_debug_cmd() 3444 if ((strcmp(input[2], cmd[0]) == 0)) { in halrf_dpk_debug_cmd() 3447 " %s\n", cmd[i]); in halrf_dpk_debug_cmd() 3449 } else if ((strcmp(input[2], cmd[1]) == 0)) { in halrf_dpk_debug_cmd() 3454 } else if ((strcmp(input[2], cmd[2]) == 0)){ in halrf_dpk_debug_cmd() 3459 } else if ((strcmp(input[2], cmd[3]) == 0)) in halrf_dpk_debug_cmd() 3461 else if ((strcmp(input[2], cmd[4]) == 0) && (strcmp(input[3], cmd[1]) == 0)) { in halrf_dpk_debug_cmd() 3465 } else if ((strcmp(input[2], cmd[4]) == 0) && (strcmp(input[3], cmd[2]) == 0)) { in halrf_dpk_debug_cmd()
|
| /OK3568_Linux_fs/kernel/sound/core/ |
| H A D | pcm_native.c | 194 unsigned cmd, void *arg) in snd_pcm_ops_ioctl() argument 197 return substream->ops->ioctl(substream, cmd, arg); in snd_pcm_ops_ioctl() 199 return snd_pcm_lib_ioctl(substream, cmd, arg); in snd_pcm_ops_ioctl() 3257 unsigned int cmd, void __user *arg) in snd_pcm_common_ioctl() argument 3269 switch (cmd) { in snd_pcm_common_ioctl() 3357 pcm_dbg(substream->pcm, "unknown ioctl = 0x%x\n", cmd); in snd_pcm_common_ioctl() 3361 static long snd_pcm_ioctl(struct file *file, unsigned int cmd, in snd_pcm_ioctl() argument 3368 if (((cmd >> 8) & 0xff) != 'A') in snd_pcm_ioctl() 3371 return snd_pcm_common_ioctl(file, pcm_file->substream, cmd, in snd_pcm_ioctl() 3386 unsigned int cmd, void *arg) in snd_pcm_kernel_ioctl() argument [all …]
|
| /OK3568_Linux_fs/kernel/fs/f2fs/ |
| H A D | segment.c | 629 struct flush_cmd *cmd, *next; in issue_flush_thread() local 635 cmd = llist_entry(fcc->dispatch_list, struct flush_cmd, llnode); in issue_flush_thread() 637 ret = submit_flush_wait(sbi, cmd->ino); in issue_flush_thread() 640 llist_for_each_entry_safe(cmd, next, in issue_flush_thread() 642 cmd->ret = ret; in issue_flush_thread() 643 complete(&cmd->wait); in issue_flush_thread() 656 struct flush_cmd cmd; in f2fs_issue_flush() local 679 cmd.ino = ino; in f2fs_issue_flush() 680 init_completion(&cmd.wait); in f2fs_issue_flush() 682 llist_add(&cmd.llnode, &fcc->issue_list); in f2fs_issue_flush() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/classes/ |
| H A D | systemd.bbclass | 136 … cmd = "grep %s %s | sed 's,%s=,,g' | tr ',' '\\n'" % (key, shlex.quote(fullpath), key) 137 pipe = os.popen(cmd, 'r')
|