| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt9xx/ |
| H A D | goodix_tool.c | 59 st_cmd_head cmd_head; variable 121 msgs[0].len = cmd_head.addr_len; in tool_i2c_read_no_extra() 129 for (i = 0; i < cmd_head.retry; i++) in tool_i2c_read_no_extra() 151 for (i = 0; i < cmd_head.retry; i++) in tool_i2c_write_no_extra() 223 memset(&cmd_head, 0, sizeof(cmd_head)); in init_wr_node() 224 cmd_head.data = NULL; in init_wr_node() 227 while ((!cmd_head.data) && i) in init_wr_node() 229 cmd_head.data = kzalloc(i * DATA_LENGTH_UINT, GFP_KERNEL); in init_wr_node() 230 if (NULL != cmd_head.data) in init_wr_node() 247 cmd_head.addr_len = 2; in init_wr_node() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/ |
| H A D | gt1x_tools.c | 51 st_cmd_head cmd_head; variable 81 memset(&cmd_head, 0, sizeof(cmd_head)); in gt1x_init_tool_node() 83 cmd_head.wr = 1; in gt1x_init_tool_node() 84 cmd_head.data = kzalloc(DATA_LENGTH_UINT, GFP_KERNEL); in gt1x_init_tool_node() 85 if (NULL == cmd_head.data) { in gt1x_init_tool_node() 107 kfree(cmd_head.data); in gt1x_deinit_tool_node() 108 cmd_head.data = NULL; in gt1x_deinit_tool_node() 180 memcpy(buf, cmd_head.flag_addr, cmd_head.addr_len); in comfirm() 182 for (i = 0; i < cmd_head.times; i++) { in comfirm() 188 if (true == relation(buf[GTP_ADDR_LENGTH], cmd_head.flag_val, cmd_head.flag_relation)) { in comfirm() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/i825xx/ |
| H A D | lib82596.c | 321 struct i596_cmd *cmd_head; member 455 cmd = lp->cmd_head; in i596_display_data() 601 lp->cmd_head = NULL; in init_i596_mem() 830 while (lp->cmd_head != NULL) { in i596_cleanup_cmd() 831 ptr = lp->cmd_head; in i596_cleanup_cmd() 832 lp->cmd_head = ptr->v_next; in i596_cleanup_cmd() 903 lp->cmd_head)); in i596_add_cmd() 913 if (lp->cmd_head != NULL) { in i596_add_cmd() 918 lp->cmd_head = cmd; in i596_add_cmd() 1171 while (lp->cmd_head != NULL) { in i596_interrupt() [all …]
|
| H A D | 82596.c | 329 struct i596_cmd *cmd_head; member 475 cmd = lp->cmd_head; in i596_display_data() 669 lp->cmd_head = lp->scb.cmd = I596_NULL; in init_i596_mem() 881 while (lp->cmd_head != I596_NULL) { in i596_cleanup_cmd() 882 ptr = lp->cmd_head; in i596_cleanup_cmd() 883 lp->cmd_head = ptr->v_next; in i596_cleanup_cmd() 951 if (lp->cmd_head != I596_NULL) { in i596_add_cmd() 955 lp->cmd_head = cmd; in i596_add_cmd() 1283 while ((lp->cmd_head != I596_NULL) && (lp->cmd_head->status & STAT_C)) { in i596_interrupt() 1284 ptr = lp->cmd_head; in i596_interrupt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/target/ |
| H A D | target_core_user.c | 816 u32 cmd_head; in is_ring_space_avail() local 820 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in is_ring_space_avail() 826 if (head_to_end(cmd_head, udev->cmdr_size) >= cmd_size) in is_ring_space_avail() 829 cmd_needed = cmd_size + head_to_end(cmd_head, udev->cmdr_size); in is_ring_space_avail() 831 space = spc_free(cmd_head, udev->cmdr_last_cleaned, udev->cmdr_size); in is_ring_space_avail() 833 pr_debug("no cmd space: %u %u %u\n", cmd_head, in is_ring_space_avail() 952 uint32_t cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in ring_insert_padding() local 955 if (head_to_end(cmd_head, udev->cmdr_size) < cmd_size) { in ring_insert_padding() 956 size_t pad_size = head_to_end(cmd_head, udev->cmdr_size); in ring_insert_padding() 958 hdr = (void *) mb + CMDR_OFF + cmd_head; in ring_insert_padding() [all …]
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | mxsimage.c | 148 struct sb_cmd_ctx *cmd_head; member 400 cctx = sctx->cmd_head; in sb_encrypt_image() 808 if (!sctx->cmd_head) { in sb_build_command_nop() 809 sctx->cmd_head = cctx; in sb_build_command_nop() 852 if (!sctx->cmd_head) { in sb_build_command_tag() 853 sctx->cmd_head = cctx; in sb_build_command_tag() 1021 if (!sctx->cmd_head) { in sb_build_command_load() 1022 sctx->cmd_head = cctx; in sb_build_command_load() 1118 if (!sctx->cmd_head) { in sb_build_command_fill() 1119 sctx->cmd_head = cctx; in sb_build_command_fill() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/debug/kdb/ |
| H A D | kdb_main.c | 872 static unsigned int cmd_head, cmd_tail; variable 1158 if (cmd_head == cmd_tail) in handle_ctrl_cmd() 1168 if (cmdptr != cmd_head) in handle_ctrl_cmd() 1361 *(cmd_hist[cmd_head]) = '\0'; in kdb_local() 1376 if (cmdptr == cmd_head) { in kdb_local() 1377 strscpy(cmd_hist[cmd_head], cmd_cur, in kdb_local() 1379 *(cmd_hist[cmd_head] + in kdb_local() 1380 strlen(cmd_hist[cmd_head])-1) = '\0'; in kdb_local() 1387 strscpy(cmd_hist[cmd_head], cmd_cur, in kdb_local() 1391 cmd_head = (cmd_head+1) % KDB_CMD_HISTORY_COUNT; in kdb_local() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | target_core_user.h | 55 __u32 cmd_head; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | target_core_user.h | 55 __u32 cmd_head; member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | target_core_user.h | 56 __u32 cmd_head; member
|
| /OK3568_Linux_fs/kernel/Documentation/target/ |
| H A D | tcmu-design.rst | 144 cmd_head 155 mailbox.cmd_head by the size of the command, modulo cmdr_size, and 158 signals the kernel via a 4-byte write(). When cmd_head equals 356 /* Process events from cmd ring until we catch up with cmd_head */ 357 while (ent != (void *)mb + mb->cmdr_off + mb->cmd_head) {
|
| /OK3568_Linux_fs/kernel/drivers/input/mouse/ |
| H A D | cyapa_gen5.c | 1936 struct pip_app_cmd_head *cmd_head; in cyapa_gen5_read_idac_data() local 2007 cmd_head = (struct pip_app_cmd_head *)cmd; in cyapa_gen5_read_idac_data() 2008 put_unaligned_le16(PIP_OUTPUT_REPORT_ADDR, &cmd_head->addr); in cyapa_gen5_read_idac_data() 2009 put_unaligned_le16(sizeof(cmd) - 2, &cmd_head->length); in cyapa_gen5_read_idac_data() 2010 cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_read_idac_data() 2011 cmd_head->cmd_code = cmd_code; in cyapa_gen5_read_idac_data() 2018 put_unaligned_le16(offset, &cmd_head->parameter_data[0]); in cyapa_gen5_read_idac_data() 2019 put_unaligned_le16(read_len, &cmd_head->parameter_data[2]); in cyapa_gen5_read_idac_data() 2020 cmd_head->parameter_data[4] = idac_data_type; in cyapa_gen5_read_idac_data()
|
| /OK3568_Linux_fs/kernel/drivers/net/can/usb/peak_usb/ |
| H A D | pcan_usb_fd.c | 176 void *cmd_head = pcan_usb_fd_cmd_buffer(dev); in pcan_usb_fd_send_cmd() local 189 cmd_len = cmd_tail - cmd_head; in pcan_usb_fd_send_cmd() 195 packet_ptr = cmd_head; in pcan_usb_fd_send_cmd()
|