| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | command.py | 64 command = commandline.pop(0) 67 if command != "updateConfig" and command != "setFeatures": 80 if hasattr(CommandsSync, command): 82 command_method = getattr(self.cmds_sync, command) 104 if command not in CommandsAsync.__dict__: 106 self.currentAsyncCommand = (command, commandline) 119 (command, options) = self.currentAsyncCommand 120 commandmethod = getattr(CommandsAsync, command) 169 def stateShutdown(self, command, params): argument 173 command.cooker.shutdown(False) [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/spi/ |
| H A D | sf_dataflash.c | 72 uint8_t command[16]; member 124 uint8_t *command; in spi_dataflash_erase() local 134 memset(dataflash->command, 0 , sizeof(dataflash->command)); in spi_dataflash_erase() 135 command = dataflash->command; in spi_dataflash_erase() 169 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in spi_dataflash_erase() 170 command[1] = (uint8_t)(pageaddr >> 16); in spi_dataflash_erase() 171 command[2] = (uint8_t)(pageaddr >> 8); in spi_dataflash_erase() 172 command[3] = 0; in spi_dataflash_erase() 176 command[0], command[1], command[2], command[3], in spi_dataflash_erase() 179 status = spi_write_then_read(spi, command, 4, NULL, NULL, 0); in spi_dataflash_erase() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wl_android.c | 390 uint8 *command; /* pointer to the actual command */ member 397 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 409 char *command, int total_len); 411 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 413 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 415 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 417 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 419 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 486 int wl_cfg80211_set_btcoex_dhcp(struct net_device *dev, dhd_pub_t *dhd, char *command); 502 static int wl_android_wbtext(struct net_device *dev, char *command, int total_len); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_android.c | 553 uint8 *command; /* pointer to the actual command */ member 560 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 572 char *command, int total_len); 574 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 576 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 578 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 580 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 582 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 607 wl_android_get_channel_list(struct net_device *dev, char *command, int total_len); 650 uint8 *command; /* pointer to the actual command */ member [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_android.c | 548 uint8 *command; /* pointer to the actual command */ member 555 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 567 char *command, int total_len); 569 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 571 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 573 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 575 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 577 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 602 wl_android_get_channel_list(struct net_device *dev, char *command, int total_len); 645 uint8 *command; /* pointer to the actual command */ member [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/os_dep/ |
| H A D | rtw_android.c | 76 static int rtw_android_get_rssi(struct net_device *net, char *command, in rtw_android_get_rssi() argument 85 bytes_written += snprintf(&command[bytes_written], total_len, in rtw_android_get_rssi() 93 static int rtw_android_get_link_speed(struct net_device *net, char *command, in rtw_android_get_link_speed() argument 100 return snprintf(command, total_len, "LinkSpeed %d", in rtw_android_get_link_speed() 104 static int rtw_android_get_macaddr(struct net_device *net, char *command, in rtw_android_get_macaddr() argument 107 return snprintf(command, total_len, "Macaddr = %pM", in rtw_android_get_macaddr() 111 static int android_set_cntry(struct net_device *net, char *command, in android_set_cntry() argument 115 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in android_set_cntry() 122 static int android_get_p2p_addr(struct net_device *net, char *command, in android_get_p2p_addr() argument 126 memcpy(command, net->dev_addr, ETH_ALEN); in android_get_p2p_addr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/pcmcia/ |
| H A D | nsp_debug.c | 88 static void print_commandk (unsigned char *command) in print_commandk() argument 92 print_opcodek(command[0]); in print_commandk() 94 if ((command[0] >> 5) == 6 || in print_commandk() 95 (command[0] >> 5) == 7 ) { in print_commandk() 98 s = COMMAND_SIZE(command[0]); in print_commandk() 101 printk("%02x ", command[i]); in print_commandk() 107 (((unsigned int)command[1] & 0x0f) << 16) | in print_commandk() 108 ( (unsigned int)command[2] << 8) | in print_commandk() 109 ( (unsigned int)command[3] ), in print_commandk() 110 (unsigned int)command[4] in print_commandk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_android.c | 534 uint8 *command; /* pointer to the actual command */ member 541 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 553 char *command, int total_len); 555 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 557 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 559 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 561 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 563 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 588 wl_android_get_channel_list(struct net_device *dev, char *command, int total_len); 631 uint8 *command; /* pointer to the actual command */ member [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_android.c | 607 uint8 *command; /* pointer to the actual command */ member 614 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 626 char *command, int total_len); 628 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 630 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 632 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 634 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 636 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 751 uint8 *command; /* pointer to the actual command */ member 758 const wl_drv_sub_cmd_t *cmd, char *command, wl_drv_cmd_info_t *cmd_info); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_android.c | 609 uint8 *command; /* pointer to the actual command */ member 616 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 628 char *command, int total_len); 630 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 632 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 634 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 636 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 638 const wl_natoe_sub_cmd_t *cmd, char *command, wl_natoe_cmd_info_t *cmd_info); 737 uint8 *command; /* pointer to the actual command */ member 744 const wl_drv_sub_cmd_t *cmd, char *command, wl_drv_cmd_info_t *cmd_info); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | nsp32_debug.c | 86 static void print_commandk (unsigned char *command) in print_commandk() argument 90 print_opcodek(command[0]); in print_commandk() 92 if ((command[0] >> 5) == 6 || in print_commandk() 93 (command[0] >> 5) == 7 ) { in print_commandk() 96 s = COMMAND_SIZE(command[0]); in print_commandk() 100 printk("%02x ", command[i]); in print_commandk() 106 (((unsigned int)command[1] & 0x0f) << 16) | in print_commandk() 107 ( (unsigned int)command[2] << 8) | in print_commandk() 108 ( (unsigned int)command[3] ), in print_commandk() 109 (unsigned int)command[4] in print_commandk() [all …]
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | tpm.c | 202 static uint32_t tpm_command_size(const void *command) in tpm_command_size() argument 205 return get_unaligned_be32(command + command_size_offset); in tpm_command_size() 232 static uint32_t tpm_sendrecv_command(const void *command, in tpm_sendrecv_command() argument 250 err = tpm_xfer(dev, command, tpm_command_size(command), in tpm_sendrecv_command() 274 const uint8_t command[12] = { in tpm_startup() local 281 0, command, sizeof(command), in tpm_startup() 290 const uint8_t command[10] = { in tpm_self_test_full() local 293 return tpm_sendrecv_command(command, NULL, NULL); in tpm_self_test_full() 298 const uint8_t command[10] = { in tpm_continue_self_test() local 301 return tpm_sendrecv_command(command, NULL, NULL); in tpm_continue_self_test() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/ |
| H A D | rtw_android.c | 142 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi() argument 150 bytes_written += snprintf(&command[bytes_written], total_len, "%s rssi %d", in rtw_android_get_rssi() 157 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed() argument 164 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in rtw_android_get_link_speed() 169 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr() argument 173 bytes_written = snprintf(command, total_len, "Macaddr = "MAC_FMT, MAC_ARG(net->dev_addr)); in rtw_android_get_macaddr() 177 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country() argument 180 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in rtw_android_set_country() 188 int rtw_android_get_p2p_dev_addr(struct net_device *net, char *command, int total_len) in rtw_android_get_p2p_dev_addr() argument 193 _rtw_memcpy(command, net->dev_addr, ETH_ALEN); in rtw_android_get_p2p_dev_addr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/ |
| H A D | rtw_android.c | 142 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi() argument 150 bytes_written += snprintf(&command[bytes_written], total_len, "%s rssi %d", in rtw_android_get_rssi() 157 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed() argument 164 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in rtw_android_get_link_speed() 169 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr() argument 173 bytes_written = snprintf(command, total_len, "Macaddr = "MAC_FMT, MAC_ARG(net->dev_addr)); in rtw_android_get_macaddr() 177 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country() argument 180 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in rtw_android_set_country() 188 int rtw_android_get_p2p_dev_addr(struct net_device *net, char *command, int total_len) in rtw_android_get_p2p_dev_addr() argument 193 _rtw_memcpy(command, net->dev_addr, ETH_ALEN); in rtw_android_get_p2p_dev_addr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/storage/ |
| H A D | shuttle_usbat.c | 346 unsigned char *command = us->iobuf; in usbat_set_shuttle_features() local 348 command[0] = 0x40; in usbat_set_shuttle_features() 349 command[1] = USBAT_CMD_SET_FEAT; in usbat_set_shuttle_features() 355 command[2] = epp_control; in usbat_set_shuttle_features() 363 command[3] = external_trigger; in usbat_set_shuttle_features() 370 command[4] = test_pattern; in usbat_set_shuttle_features() 376 command[5] = mask_byte; in usbat_set_shuttle_features() 384 command[6] = subcountL; in usbat_set_shuttle_features() 385 command[7] = subcountH; in usbat_set_shuttle_features() 387 return usbat_execute_command(us, command, 8); in usbat_set_shuttle_features() [all …]
|
| H A D | sddr09.c | 316 unsigned char *command, in sddr09_send_scsi_command() argument 318 return sddr09_send_command(us, 0, USB_DIR_OUT, command, command_len); in sddr09_send_scsi_command() 328 unsigned char *command = us->iobuf; 331 memset(command, 0, 6); 332 command[1] = LUNBITS; 334 result = sddr09_send_scsi_command(us, command, 6); 349 unsigned char *command = us->iobuf; in sddr09_request_sense() local 352 memset(command, 0, 12); in sddr09_request_sense() 353 command[0] = 0x03; in sddr09_request_sense() 354 command[1] = LUNBITS; in sddr09_request_sense() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/devices/ |
| H A D | sst25l.c | 93 unsigned char command[2]; in sst25l_write_enable() local 96 command[0] = enable ? SST25L_CMD_WREN : SST25L_CMD_WRDI; in sst25l_write_enable() 97 err = spi_write(flash->spi, command, 1); in sst25l_write_enable() 101 command[0] = SST25L_CMD_EWSR; in sst25l_write_enable() 102 err = spi_write(flash->spi, command, 1); in sst25l_write_enable() 106 command[0] = SST25L_CMD_WRSR; in sst25l_write_enable() 107 command[1] = enable ? 0 : SST25L_STATUS_BP0 | SST25L_STATUS_BP1; in sst25l_write_enable() 108 err = spi_write(flash->spi, command, 2); in sst25l_write_enable() 144 unsigned char command[4]; in sst25l_erase_sector() local 151 command[0] = SST25L_CMD_SECTOR_ERASE; in sst25l_erase_sector() [all …]
|
| H A D | mtd_dataflash.c | 87 u8 command[4]; member 155 u8 *command; in dataflash_erase() local 170 x.tx_buf = command = priv->command; in dataflash_erase() 187 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in dataflash_erase() 188 command[1] = (u8)(pageaddr >> 16); in dataflash_erase() 189 command[2] = (u8)(pageaddr >> 8); in dataflash_erase() 190 command[3] = 0; in dataflash_erase() 194 command[0], command[1], command[2], command[3], in dataflash_erase() 236 u8 *command; in dataflash_read() local 246 command = priv->command; in dataflash_read() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/ |
| H A D | rtw_android.c | 185 static int rtw_android_pno_setup(struct net_device *net, char *command, int total_len) in rtw_android_pno_setup() argument 206 str_ptr = command + cmdlen; in rtw_android_pno_setup() 369 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi() argument 377 bytes_written += snprintf(&command[bytes_written], total_len, "%s rssi %d", in rtw_android_get_rssi() 384 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed() argument 391 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in rtw_android_get_link_speed() 396 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr() argument 400 bytes_written = snprintf(command, total_len, "Macaddr = "MAC_FMT, MAC_ARG(net->dev_addr)); in rtw_android_get_macaddr() 404 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country() argument 407 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in rtw_android_set_country() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/ |
| H A D | rtw_android.c | 185 static int rtw_android_pno_setup(struct net_device *net, char *command, int total_len) in rtw_android_pno_setup() argument 206 str_ptr = command + cmdlen; in rtw_android_pno_setup() 367 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi() argument 375 bytes_written += snprintf(&command[bytes_written], total_len, "%s rssi %d", in rtw_android_get_rssi() 382 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed() argument 389 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in rtw_android_get_link_speed() 394 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr() argument 398 bytes_written = snprintf(command, total_len, "Macaddr = "MAC_FMT, MAC_ARG(net->dev_addr)); in rtw_android_get_macaddr() 402 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country() argument 405 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in rtw_android_set_country() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/ |
| H A D | rtw_android.c | 186 static int rtw_android_pno_setup(struct net_device *net, char *command, int total_len) in rtw_android_pno_setup() argument 207 str_ptr = command + cmdlen; in rtw_android_pno_setup() 368 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi() argument 376 bytes_written += snprintf(&command[bytes_written], total_len, "%s rssi %d", in rtw_android_get_rssi() 383 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed() argument 390 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in rtw_android_get_link_speed() 395 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr() argument 399 bytes_written = snprintf(command, total_len, "Macaddr = "MAC_FMT, MAC_ARG(net->dev_addr)); in rtw_android_get_macaddr() 403 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country() argument 406 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in rtw_android_set_country() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/ |
| H A D | rtw_android.c | 186 static int rtw_android_pno_setup(struct net_device *net, char *command, int total_len) in rtw_android_pno_setup() argument 207 str_ptr = command + cmdlen; in rtw_android_pno_setup() 368 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi() argument 376 bytes_written += snprintf(&command[bytes_written], total_len, "%s rssi %d", in rtw_android_get_rssi() 383 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed() argument 390 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in rtw_android_get_link_speed() 395 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr() argument 399 bytes_written = snprintf(command, total_len, "Macaddr = "MAC_FMT, MAC_ARG(net->dev_addr)); in rtw_android_get_macaddr() 403 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country() argument 406 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in rtw_android_set_country() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/ |
| H A D | rtw_android.c | 185 static int rtw_android_pno_setup(struct net_device *net, char *command, int total_len) in rtw_android_pno_setup() argument 206 str_ptr = command + cmdlen; in rtw_android_pno_setup() 369 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi() argument 377 bytes_written += snprintf(&command[bytes_written], total_len, "%s rssi %d", in rtw_android_get_rssi() 384 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed() argument 391 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in rtw_android_get_link_speed() 396 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr() argument 400 bytes_written = snprintf(command, total_len, "Macaddr = "MAC_FMT, MAC_ARG(net->dev_addr)); in rtw_android_get_macaddr() 404 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country() argument 407 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in rtw_android_set_country() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/ |
| H A D | rtw_android.c | 185 static int rtw_android_pno_setup(struct net_device *net, char *command, int total_len) in rtw_android_pno_setup() argument 206 str_ptr = command + cmdlen; in rtw_android_pno_setup() 367 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi() argument 375 bytes_written += snprintf(&command[bytes_written], total_len, "%s rssi %d", in rtw_android_get_rssi() 382 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed() argument 389 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in rtw_android_get_link_speed() 394 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr() argument 398 bytes_written = snprintf(command, total_len, "Macaddr = "MAC_FMT, MAC_ARG(net->dev_addr)); in rtw_android_get_macaddr() 402 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country() argument 405 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in rtw_android_set_country() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/ |
| H A D | rtw_android.c | 186 static int rtw_android_pno_setup(struct net_device *net, char *command, int total_len) in rtw_android_pno_setup() argument 207 str_ptr = command + cmdlen; in rtw_android_pno_setup() 368 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi() argument 376 bytes_written += snprintf(&command[bytes_written], total_len, "%s rssi %d", in rtw_android_get_rssi() 383 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed() argument 390 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in rtw_android_get_link_speed() 395 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr() argument 399 bytes_written = snprintf(command, total_len, "Macaddr = "MAC_FMT, MAC_ARG(net->dev_addr)); in rtw_android_get_macaddr() 403 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country() argument 406 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in rtw_android_set_country() [all …]
|