| /OK3568_Linux_fs/kernel/drivers/hid/intel-ish-hid/ |
| H A D | ishtp-hid-client.c | 30 size_t cur_pos, size_t payload_len) in report_bad_packet() argument 42 (unsigned int)cur_pos, in report_bad_packet() 65 size_t payload_len, total_len, cur_pos, raw_len; in process_recv() local 77 cur_pos = 0; in process_recv() 80 if (cur_pos + sizeof(struct hostif_msg) > total_len) { in process_recv() 90 recv_msg = (struct hostif_msg *)(recv_buf + cur_pos); in process_recv() 94 if (cur_pos + payload_len + sizeof(struct hostif_msg) > in process_recv() 97 report_bad_packet(hid_ishtp_cl, recv_msg, cur_pos, in process_recv() 112 cur_pos, in process_recv() 161 cur_pos, in process_recv() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/block/ |
| H A D | dasd_fba.c | 285 int cur_pos = 0; in count_ccws() local 293 cur_pos = wz_stop - first_rec + 1; in count_ccws() 297 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in count_ccws() 304 cur_pos += d_stop - (first_rec + cur_pos) + 1; in count_ccws() 308 if (cur_pos == 0 || first_rec + cur_pos - 1 < last_rec) in count_ccws() 341 int cur_pos = 0; /* Current position within the extent */ in dasd_fba_build_cp_discard() local 379 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard() 384 cur_pos = wz_count; in dasd_fba_build_cp_discard() 388 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in dasd_fba_build_cp_discard() 396 d_count = d_stop - (first_rec + cur_pos) + 1; in dasd_fba_build_cp_discard() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | mp6507.c | 80 u32 cur_pos; member 662 if (ctrl->val > motor->iris.cur_pos) in motor_s_ctrl() 666 abs(ctrl->val - motor->iris.cur_pos)); in motor_s_ctrl() 671 abs(ctrl->val - motor->iris.cur_pos)); in motor_s_ctrl() 672 motor->iris.cur_pos = ctrl->val; in motor_s_ctrl() 676 if (ctrl->val > motor->focus.cur_pos) in motor_s_ctrl() 680 abs(ctrl->val - motor->focus.cur_pos)); in motor_s_ctrl() 685 abs(ctrl->val - motor->focus.cur_pos)); in motor_s_ctrl() 686 motor->focus.cur_pos = ctrl->val; in motor_s_ctrl() 690 if (ctrl->val > motor->zoom.cur_pos) in motor_s_ctrl() [all …]
|
| H A D | vm149c.c | 148 unsigned int *cur_pos) in vm149c_get_pos() argument 170 *cur_pos = abs_step; in vm149c_get_pos() 171 dev_dbg(&client->dev, "%s: get position %d\n", __func__, *cur_pos); in vm149c_get_pos()
|
| H A D | fp5510.c | 337 unsigned int *cur_pos) in fp5510_get_pos() argument 359 *cur_pos = abs_step; in fp5510_get_pos() 360 dev_dbg(&client->dev, "%s: get position %d\n", __func__, *cur_pos); in fp5510_get_pos()
|
| H A D | aw8601.c | 208 unsigned int *cur_pos) in aw8601_get_pos() argument 229 *cur_pos = abs_step; in aw8601_get_pos() 230 dev_dbg(&client->dev, "%s: get position %d\n", __func__, *cur_pos); in aw8601_get_pos()
|
| H A D | gt9760s.c | 348 static int gt9760s_get_pos(struct gt9760s_device *dev_vcm, u32 *cur_pos) in gt9760s_get_pos() argument 370 *cur_pos = abs_step; in gt9760s_get_pos() 371 dev_dbg(&client->dev, "%s: get position %d\n", __func__, *cur_pos); in gt9760s_get_pos()
|
| H A D | dw9800w.c | 217 unsigned int *cur_pos) in dw9800w_get_pos() argument 235 *cur_pos = abs_step; in dw9800w_get_pos() 236 dev_dbg(&client->dev, "%s: get position %d\n", __func__, *cur_pos); in dw9800w_get_pos()
|
| H A D | dw9763.c | 263 unsigned int *cur_pos) in dw9763_get_pos() argument 281 *cur_pos = abs_step; in dw9763_get_pos() 282 dev_dbg(&client->dev, "%s: get position %d\n", __func__, *cur_pos); in dw9763_get_pos()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/b2c2/ |
| H A D | flexcop-pci.c | 187 u32 cur_pos = cur_addr - fc_pci->dma[0].dma_addr0; in flexcop_pci_isr() local 188 if (cur_pos > fc_pci->dma[0].size * 2) in flexcop_pci_isr() 193 v.raw, (unsigned long long)cur_addr, cur_pos, in flexcop_pci_isr() 200 if (cur_pos < fc_pci->last_dma1_cur_pos) { in flexcop_pci_isr() 212 if (cur_pos > fc_pci->last_dma1_cur_pos) { in flexcop_pci_isr() 214 cur_pos - fc_pci->last_dma1_cur_pos); in flexcop_pci_isr() 218 cur_pos - fc_pci->last_dma1_cur_pos); in flexcop_pci_isr() 222 fc_pci->last_dma1_cur_pos = cur_pos; in flexcop_pci_isr()
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | kobil_sct.c | 108 int cur_pos; /* index of the next char to send in buf */ member 123 priv->cur_pos = 0; in kobil_port_probe() 328 todo = priv->filled - priv->cur_pos; in kobil_write() 335 priv->buf + priv->cur_pos, length); in kobil_write() 338 priv->cur_pos = priv->cur_pos + length; in kobil_write() 342 todo = priv->filled - priv->cur_pos; in kobil_write() 349 priv->cur_pos = 0; in kobil_write()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | genelf_debug.c | 40 size_t cur_pos; member 50 for (i = 0 ; i < be->cur_pos; i++) in buffer_ext_dump() 61 if ((be->cur_pos + sz) < be_sz) { in buffer_ext_add() 62 memcpy(be->data + be->cur_pos, addr, sz); in buffer_ext_add() 63 be->cur_pos += sz; in buffer_ext_add() 86 be->cur_pos = 0; in buffer_ext_init() 93 return be->cur_pos; in buffer_ext_size()
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-tegra114.c | 180 unsigned cur_pos; member 262 unsigned remain_len = t->len - tspi->cur_pos; in tegra_spi_calculate_curr_xfer_param() 326 if (nbytes > t->len - tspi->cur_pos) in tegra_spi_fill_tx_fifo_from_client_txbuf() 327 nbytes = t->len - tspi->cur_pos; in tegra_spi_fill_tx_fifo_from_client_txbuf() 372 if (len > t->len - tspi->cur_pos) in tegra_spi_read_rx_fifo_to_client_rxbuf() 373 len = t->len - tspi->cur_pos; in tegra_spi_read_rx_fifo_to_client_rxbuf() 398 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_spi_copy_client_txbuf_to_spi_txbuf() 407 if (consume > t->len - tspi->cur_pos) in tegra_spi_copy_client_txbuf_to_spi_txbuf() 408 consume = t->len - tspi->cur_pos; in tegra_spi_copy_client_txbuf_to_spi_txbuf() 447 if (consume > t->len - tspi->cur_pos) in tegra_spi_copy_spi_rxbuf_to_client_rxbuf() [all …]
|
| H A D | spi-tegra20-sflash.c | 115 unsigned cur_pos; member 161 unsigned remain_len = t->len - tsd->cur_pos; in tegra_sflash_calculate_curr_xfer_param() 265 tsd->cur_pos = 0; in tegra_sflash_start_transfer_one() 381 tsd->cur_pos = tsd->cur_tx_pos; in handle_cpu_based_xfer() 383 tsd->cur_pos = tsd->cur_rx_pos; in handle_cpu_based_xfer() 385 if (tsd->cur_pos == t->len) { in handle_cpu_based_xfer()
|
| H A D | spi-tegra20-slink.c | 165 unsigned cur_pos; member 258 unsigned remain_len = t->len - tspi->cur_pos; in tegra_slink_calculate_curr_xfer_param() 373 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_slink_copy_client_txbuf_to_spi_txbuf() 691 tspi->cur_pos = 0; in tegra_slink_start_transfer_one() 865 tspi->cur_pos = tspi->cur_tx_pos; in handle_cpu_based_xfer() 867 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer() 869 if (tspi->cur_pos == t->len) { in handle_cpu_based_xfer() 939 tspi->cur_pos = tspi->cur_tx_pos; in handle_dma_based_xfer() 941 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer() 943 if (tspi->cur_pos == t->len) { in handle_dma_based_xfer()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_cmdbuf.c | 122 size_t cur_pos; member 670 if (man->cur_pos == 0) { in __vmw_cmdbuf_cur_flush() 675 man->cur->cb_header->length = man->cur_pos; in __vmw_cmdbuf_cur_flush() 680 man->cur_pos = 0; in __vmw_cmdbuf_cur_flush() 1010 if (cur && (size + man->cur_pos > cur->size || in vmw_cmdbuf_reserve_cur() 1034 return (void *) (man->cur->cmd + man->cur_pos); in vmw_cmdbuf_reserve_cur() 1052 man->cur_pos += size; in vmw_cmdbuf_commit_cur() 1113 man->cur_pos = size; in vmw_cmdbuf_commit()
|
| /OK3568_Linux_fs/kernel/fs/f2fs/ |
| H A D | segment.h | 727 int cur_pos = 0, next_pos; in check_block_count() local 735 cur_pos); in check_block_count() 736 valid_blocks += next_pos - cur_pos; in check_block_count() 740 cur_pos); in check_block_count() 741 cur_pos = next_pos; in check_block_count() 743 } while (cur_pos < usable_blks_per_seg); in check_block_count()
|
| /OK3568_Linux_fs/kernel/fs/udf/ |
| H A D | dir.c | 143 loff_t cur_pos = nf_pos; in udf_readdir() local 156 if (cur_pos < emit_pos) in udf_readdir()
|
| /OK3568_Linux_fs/kernel/fs/reiserfs/ |
| H A D | dir.c | 144 loff_t cur_pos = deh_offset(deh); in reiserfs_readdir_inode() local 224 next_pos = cur_pos + 1; in reiserfs_readdir_inode()
|
| /OK3568_Linux_fs/external/mpp/mpp/common/ |
| H A D | jpegd_syntax.h | 148 RK_U8 *cur_pos; member
|
| /OK3568_Linux_fs/kernel/include/xen/interface/io/ |
| H A D | sndif.h | 1043 struct xensnd_cur_pos_evt cur_pos; member
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/move/algo/detail/ |
| H A D | adaptive_sort_merge.hpp | 893 void move_data_backward( RandIt cur_pos in move_data_backward() argument 900 boost::move_backward(cur_pos, cur_pos+l_data, new_pos+l_data); in move_data_backward() 903 boost::adl_move_swap_ranges_backward(cur_pos, cur_pos+l_data, new_pos+l_data); in move_data_backward() 910 void move_data_forward( RandIt cur_pos in move_data_forward() argument 917 boost::move(cur_pos, cur_pos+l_data, new_pos); in move_data_forward() 920 boost::adl_move_swap_ranges(cur_pos, cur_pos+l_data, new_pos); in move_data_forward()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/anr/ |
| H A D | rk_aiq_anr_algo_mfnr.cpp | 1207 int cur_pos; in select_mfnr_params_by_ISO() local 1214 cur_pos = intep_pos[idx]; in select_mfnr_params_by_ISO() 1225 if(off + st > cur_pos && off != cur_pos) in select_mfnr_params_by_ISO() 1227 if((cur_pos - off) & off4) in select_mfnr_params_by_ISO() 1229 else if((cur_pos - off) & off8) in select_mfnr_params_by_ISO() 1231 else if((cur_pos - off) & off16) in select_mfnr_params_by_ISO() 1236 if(off + st == cur_pos) in select_mfnr_params_by_ISO()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/amfnr/ |
| H A D | rk_aiq_amfnr_algo_mfnr_v1.cpp | 1086 int cur_pos; in select_mfnr_params_by_ISO_v1() local 1093 cur_pos = intep_pos[idx]; in select_mfnr_params_by_ISO_v1() 1104 if(off + st > cur_pos && off != cur_pos) in select_mfnr_params_by_ISO_v1() 1106 if((cur_pos - off) & off4) in select_mfnr_params_by_ISO_v1() 1108 else if((cur_pos - off) & off8) in select_mfnr_params_by_ISO_v1() 1110 else if((cur_pos - off) & off16) in select_mfnr_params_by_ISO_v1() 1115 if(off + st == cur_pos) in select_mfnr_params_by_ISO_v1()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | relay.c | 1241 unsigned int cur_pos = read_start + total_len; in subbuf_splice_actor() local 1252 this_end = cur_pos + this_len; in subbuf_splice_actor() 1254 this_len = nonpad_end - cur_pos; in subbuf_splice_actor()
|