/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | surface_encoder_adapter.cpp | 60 void OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) override
64 void OnOutputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) override
67 surfaceEncoderAdapter->OnOutputBufferAvailable(index, buffer);
84 void OnInputParameterWithAttrAvailable(uint32_t index, std::shared_ptr<Format> attribute,
88 surfaceEncoderAdapter->OnInputParameterWithAttrAvailable(index, attribute, parameter);
506 void SurfaceEncoderAdapter::TransCoderOnOutputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer)
in TransCoderOnOutputBufferAvailable() argument 553 indexs_.push_back(index);
in TransCoderOnOutputBufferAvailable() 559 void SurfaceEncoderAdapter::OnOutputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer)
in OnOutputBufferAvailable() argument 565 TransCoderOnOutputBufferAvailable(index, buffer);
in OnOutputBufferAvailable() 612 indexs_.push_back(index);
in OnOutputBufferAvailable() 703 OnInputParameterWithAttrAvailable(uint32_t index, std::shared_ptr<Format> &attribute, std::shared_ptr<Format> ¶meter) OnInputParameterWithAttrAvailable() argument [all...] |
/foundation/resourceschedule/device_usage_statistics/frameworks/src/ |
H A D | bundle_state_common.cpp | 107 int32_t index = 0; in GetBundleActiveEventForResult() local 133 NAPI_CALL_RETURN_VOID(env, napi_set_element(env, result, index, bundleActiveState)); in GetBundleActiveEventForResult() 134 index++; in GetBundleActiveEventForResult() 141 int32_t index = 0; in GetBundleStateInfoByIntervalForResult() local 165 NAPI_CALL_RETURN_VOID(env, napi_set_element(env, result, index, packageObject)); in GetBundleStateInfoByIntervalForResult() 166 index++; in GetBundleStateInfoByIntervalForResult() 173 int32_t index = 0; in GetBundleActiveEventStatsForResult() local 191 NAPI_CALL_RETURN_VOID(env, napi_set_element(env, result, index, eventStatsObject)); in GetBundleActiveEventStatsForResult() 192 index++; in GetBundleActiveEventStatsForResult() 199 int32_t index in GetBundleActiveNotificationNumberForResult() local 302 int32_t index = 0; GetModuleRecordForResult() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | data_query.cpp | 614 DataQuery& DataQuery::SetSuggestIndex(const std::string &index) in SetSuggestIndex() argument 616 std::string suggestIndex = index; in SetSuggestIndex() 623 query_->SuggestIndex(index); in SetSuggestIndex() 773 size_t index = 0; // search from the beginning of the string in EscapeSpace() local 775 index = input.find(DataQuery::SPECIAL, index); in EscapeSpace() 776 if (index == std::string::npos) { in EscapeSpace() 779 input.replace(index, 1, DataQuery::SPECIAL_ESCAPE); // 1 char to be replaced in EscapeSpace() 780 index += 3; // replaced with 3 chars, keep searching the remaining string in EscapeSpace() 782 index in EscapeSpace() [all...] |
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
H A D | drivers.c | 59 parse_tree_node(struct device *parent, int index, struct hardware_path *modpath); 652 * @index: the current BC index 656 static int match_pci_device(struct device *dev, int index, in match_pci_device() argument 662 if (index == 5) { in match_pci_device() 669 /* index might be out of bounds for bc[] */ in match_pci_device() 670 if (index >= 6) in match_pci_device() 674 return (modpath->bc[index] == id); in match_pci_device() 681 * @index: the current BC index 685 match_parisc_device(struct device *dev, int index, struct hardware_path *modpath) match_parisc_device() argument 695 int index; global() member 732 parse_tree_node(struct device *parent, int index, struct hardware_path *modpath) parse_tree_node() argument [all...] |
/kernel/linux/linux-5.10/drivers/accessibility/speakup/ |
H A D | kobjects.c | 122 unsigned long index = 0; in chars_chartab_store() local 161 index = simple_strtoul(cp, &temp, 10); in chars_chartab_store() 162 if (index > 255) { in chars_chartab_store() 194 if (spk_characters[index] != spk_default_chars[index]) in chars_chartab_store() 195 kfree(spk_characters[index]); in chars_chartab_store() 196 spk_characters[index] = desc; in chars_chartab_store() 205 if (charclass != spk_chartab[index]) { in chars_chartab_store() 206 spk_chartab[index] = charclass; in chars_chartab_store() 715 int index in message_show_helper() local 761 unsigned long index = 0; message_store_helper() local [all...] |
/kernel/linux/linux-6.6/arch/parisc/kernel/ |
H A D | drivers.c | 59 parse_tree_node(struct device *parent, int index, struct hardware_path *modpath); 652 * @index: the current BC index 656 static int match_pci_device(struct device *dev, int index, in match_pci_device() argument 662 if (index == 5) { in match_pci_device() 669 /* index might be out of bounds for bc[] */ in match_pci_device() 670 if (index >= 6) in match_pci_device() 674 return (modpath->bc[index] == id); in match_pci_device() 681 * @index: the current BC index 685 match_parisc_device(struct device *dev, int index, struct hardware_path *modpath) match_parisc_device() argument 695 int index; global() member 732 parse_tree_node(struct device *parent, int index, struct hardware_path *modpath) parse_tree_node() argument [all...] |
/kernel/linux/linux-5.10/drivers/iio/ |
H A D | inkern.c | 99 * __of_iio_simple_xlate - translate iiospec to the IIO channel index 105 * whether IIO index is less than num_channels (that is specified in the 115 dev_err(&indio_dev->dev, "invalid channel index %u\n", in __of_iio_simple_xlate() 124 struct device_node *np, int index) in __of_iio_channel_get() 133 index, &iiospec); in __of_iio_channel_get() 147 index = indio_dev->info->of_xlate(indio_dev, &iiospec); in __of_iio_channel_get() 149 index = __of_iio_simple_xlate(indio_dev, &iiospec); in __of_iio_channel_get() 151 if (index < 0) in __of_iio_channel_get() 153 channel->channel = &indio_dev->channels[index]; in __of_iio_channel_get() 159 return index; in __of_iio_channel_get() 123 __of_iio_channel_get(struct iio_channel *channel, struct device_node *np, int index) __of_iio_channel_get() argument 162 of_iio_channel_get(struct device_node *np, int index) of_iio_channel_get() argument 192 int index = 0; of_iio_channel_get_by_name() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
H A D | pio.c | 30 * PIO controller ID and store the packet index number in generate_cookie() 37 cookie = (((u16)q->index + 1) << 12); in generate_cookie() 38 cookie |= pack->index; in generate_cookie() 80 unsigned int index) in index_to_pioqueue_base() 102 B43_WARN_ON(index >= ARRAY_SIZE(bases_rev11)); in index_to_pioqueue_base() 103 return bases_rev11[index]; in index_to_pioqueue_base() 105 B43_WARN_ON(index >= ARRAY_SIZE(bases)); in index_to_pioqueue_base() 106 return bases[index]; in index_to_pioqueue_base() 124 unsigned int index) in b43_setup_pioqueue_tx() 135 q->mmio_base = index_to_pioqueue_base(dev, index) in b43_setup_pioqueue_tx() 79 index_to_pioqueue_base(struct b43_wldev *dev, unsigned int index) index_to_pioqueue_base() argument 123 b43_setup_pioqueue_tx(struct b43_wldev *dev, unsigned int index) b43_setup_pioqueue_tx() argument 159 b43_setup_pioqueue_rx(struct b43_wldev *dev, unsigned int index) b43_setup_pioqueue_rx() argument [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | audit_tree.c | 36 unsigned index; /* index; upper bit indicates 'will prune' */ member 84 * node.index allows to get from node.list to containing chunk. 203 chunk->owners[i].index = i; in alloc_chunk() 274 int index = p->index & ~(1U<<31); in find_chunk() local 275 p -= index; in find_chunk() 309 new->owners[i].index = old->owners[j].index - j + i; in replace_chunk() 432 chunk->owners[0].index in create_chunk() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | mmu.c | 311 pt->index = 0; in psb_mmu_alloc_pt() 319 uint32_t index = psb_mmu_pd_index(addr); in psb_mmu_pt_alloc_map_lock() local 325 pt = pd->tables[index]; in psb_mmu_pt_alloc_map_lock() 333 if (pd->tables[index]) { in psb_mmu_pt_alloc_map_lock() 337 pt = pd->tables[index]; in psb_mmu_pt_alloc_map_lock() 342 pd->tables[index] = pt; in psb_mmu_pt_alloc_map_lock() 343 v[index] = (page_to_pfn(pt->p) << 12) | pd->pd_mask; in psb_mmu_pt_alloc_map_lock() 344 pt->index = index; in psb_mmu_pt_alloc_map_lock() 348 psb_mmu_clflush(pd->driver, (void *)&v[index]); in psb_mmu_pt_alloc_map_lock() 359 uint32_t index = psb_mmu_pd_index(addr); psb_mmu_pt_map_lock() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch-flower.c | 204 int index = 0; in dpaa2_switch_acl_entry_add_to_list() local 208 return index; in dpaa2_switch_acl_entry_add_to_list() 215 index++; in dpaa2_switch_acl_entry_add_to_list() 218 return index; in dpaa2_switch_acl_entry_add_to_list() 223 int index) in dpaa2_switch_acl_entry_get_by_index() 229 if (i == index) in dpaa2_switch_acl_entry_get_by_index() 257 int index, i, precedence, err; in dpaa2_switch_acl_tbl_add_entry() local 259 /* Add the new ACL entry to the linked list and get its index */ in dpaa2_switch_acl_tbl_add_entry() 260 index = dpaa2_switch_acl_entry_add_to_list(block, entry); in dpaa2_switch_acl_tbl_add_entry() 266 for (i = 0; i < index; in dpaa2_switch_acl_tbl_add_entry() 222 dpaa2_switch_acl_entry_get_by_index(struct dpaa2_switch_filter_block *block, int index) dpaa2_switch_acl_entry_get_by_index() argument 303 int index = 0; dpaa2_switch_acl_entry_get_index() local 331 int index, i, precedence, err; dpaa2_switch_acl_tbl_remove_entry() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.h | 227 int index; member 687 #define mlx5_esw_for_each_vport(esw, index, vport) \ 688 xa_for_each(&((esw)->vports), index, vport) 690 #define mlx5_esw_for_each_entry_marked(xa, index, entry, last, filter) \ 691 for (index = 0, entry = xa_find(xa, &index, last, filter); \ 692 entry; entry = xa_find_after(xa, &index, last, filter)) 694 #define mlx5_esw_for_each_vport_marked(esw, index, vport, last, filter) \ 695 mlx5_esw_for_each_entry_marked(&((esw)->vports), index, vport, last, filter) 697 #define mlx5_esw_for_each_vf_vport(esw, index, vpor [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_base.c | 44 unsigned int i, index = 0; in __ice_vsi_get_qs_sc() local 48 index = find_next_zero_bit(qs_cfg->pf_map, in __ice_vsi_get_qs_sc() 49 qs_cfg->pf_map_size, index); in __ice_vsi_get_qs_sc() 50 if (index >= qs_cfg->pf_map_size) in __ice_vsi_get_qs_sc() 52 set_bit(index, qs_cfg->pf_map); in __ice_vsi_get_qs_sc() 53 qs_cfg->vsi_map[i + qs_cfg->vsi_map_offset] = (u16)index; in __ice_vsi_get_qs_sc() 59 for (index = 0; index < i; index++) { in __ice_vsi_get_qs_sc() 60 clear_bit(qs_cfg->vsi_map[index], qs_cf in __ice_vsi_get_qs_sc() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | net_driver.h | 179 * Is our index within @channel->tx_queue array. 473 * @rx_pkt_index: Ring index of first buffer for next packet to be delivered 552 * @index: Index of the channel/IRQ 560 unsigned int index; member 773 * @filter_id: index in software filter table. May be 897 * @irq_level: IRQ level/index for IRQs not triggered by an event queue 1461 unsigned int index); 1537 efx_get_channel(struct efx_nic *efx, unsigned index) in efx_get_channel() argument 1539 EFX_WARN_ON_ONCE_PARANOID(index >= efx->n_channels); in efx_get_channel() 1540 return efx->channel[index]; in efx_get_channel() 1558 efx_get_tx_channel(struct efx_nic *efx, unsigned int index) efx_get_tx_channel() argument 1565 efx_get_xdp_channel(struct efx_nic *efx, unsigned int index) efx_get_xdp_channel() argument 1597 efx_get_tx_queue(struct efx_nic *efx, unsigned int index, unsigned int type) efx_get_tx_queue() argument 1649 efx_rx_buffer(struct efx_rx_queue *rx_queue, unsigned int index) efx_rx_buffer() argument [all...] |
/kernel/linux/linux-6.6/drivers/accessibility/speakup/ |
H A D | kobjects.c | 122 unsigned long index = 0; in chars_chartab_store() local 161 index = simple_strtoul(cp, &temp, 10); in chars_chartab_store() 162 if (index > 255) { in chars_chartab_store() 194 if (spk_characters[index] != spk_default_chars[index]) in chars_chartab_store() 195 kfree(spk_characters[index]); in chars_chartab_store() 196 spk_characters[index] = desc; in chars_chartab_store() 205 if (charclass != spk_chartab[index]) { in chars_chartab_store() 206 spk_chartab[index] = charclass; in chars_chartab_store() 715 int index in message_show_helper() local 761 unsigned long index = 0; message_store_helper() local [all...] |
/kernel/linux/linux-6.6/fs/overlayfs/ |
H A D | params.c | 32 module_param_named(index, ovl_index_def, bool, 0644); 33 MODULE_PARM_DESC(index, 34 "Default to on or off for the inodes index feature"); 154 fsparam_enum("index", Opt_index, ovl_parameter_bool), 605 config->index = result.uint_32; in ovl_parse_param() 606 ctx->set.index = true; in ovl_parse_param() 732 ofs->config.index = ovl_index_def; in ovl_init_fs_context() 797 /* Workdir/index are useless in non-upper mount */ in ovl_fs_params_verify() 805 if (config->index && set.index) { in ovl_fs_params_verify() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | audit_tree.c | 36 unsigned index; /* index; upper bit indicates 'will prune' */ member 84 * node.index allows to get from node.list to containing chunk. 203 chunk->owners[i].index = i; in alloc_chunk() 274 int index = p->index & ~(1U<<31); in find_chunk() local 275 p -= index; in find_chunk() 309 new->owners[i].index = old->owners[j].index - j + i; in replace_chunk() 432 chunk->owners[0].index in create_chunk() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
H A D | pio.c | 30 * PIO controller ID and store the packet index number in generate_cookie() 37 cookie = (((u16)q->index + 1) << 12); in generate_cookie() 38 cookie |= pack->index; in generate_cookie() 80 unsigned int index) in index_to_pioqueue_base() 102 B43_WARN_ON(index >= ARRAY_SIZE(bases_rev11)); in index_to_pioqueue_base() 103 return bases_rev11[index]; in index_to_pioqueue_base() 105 B43_WARN_ON(index >= ARRAY_SIZE(bases)); in index_to_pioqueue_base() 106 return bases[index]; in index_to_pioqueue_base() 124 unsigned int index) in b43_setup_pioqueue_tx() 135 q->mmio_base = index_to_pioqueue_base(dev, index) in b43_setup_pioqueue_tx() 79 index_to_pioqueue_base(struct b43_wldev *dev, unsigned int index) index_to_pioqueue_base() argument 123 b43_setup_pioqueue_tx(struct b43_wldev *dev, unsigned int index) b43_setup_pioqueue_tx() argument 159 b43_setup_pioqueue_rx(struct b43_wldev *dev, unsigned int index) b43_setup_pioqueue_rx() argument [all...] |
/kernel/linux/linux-6.6/drivers/phy/allwinner/ |
H A D | phy-sun4i-usb.c | 127 int index; member 146 container_of((phy), struct sun4i_usb_phy_data, phys[(phy)->index]) 184 u32 temp, usbc_bit = BIT(phy->index * 2); in sun4i_usb_phy_write() 243 phy->index == phy_data->cfg->hsic_index) in sun4i_usb_phy_passby() 282 if (data->cfg->needs_phy2_siddq && phy->index != 2) { in sun4i_usb_phy_init() 332 if (phy->index == 0) { in sun4i_usb_phy_init() 340 if (phy->index == 0) in sun4i_usb_phy_init() 353 if (phy->index == 0) { in sun4i_usb_phy_init() 374 if (phy->index == 0) { in sun4i_usb_phy_exit() 388 if (data->cfg->needs_phy2_siddq && phy->index ! in sun4i_usb_phy_exit() [all...] |
/kernel/linux/linux-6.6/drivers/iio/ |
H A D | inkern.c | 121 * __fwnode_iio_simple_xlate - translate iiospec to the IIO channel index 127 * whether IIO index is less than num_channels (that is specified in the 137 dev_err(&indio_dev->dev, "invalid channel index %llu\n", in __fwnode_iio_simple_xlate() 146 struct fwnode_handle *fwnode, int index) in __fwnode_iio_channel_get() 155 index, &iiospec); in __fwnode_iio_channel_get() 168 index = indio_dev->info->fwnode_xlate(indio_dev, &iiospec); in __fwnode_iio_channel_get() 170 index = __fwnode_iio_simple_xlate(indio_dev, &iiospec); in __fwnode_iio_channel_get() 172 if (index < 0) in __fwnode_iio_channel_get() 174 channel->channel = &indio_dev->channels[index]; in __fwnode_iio_channel_get() 180 return index; in __fwnode_iio_channel_get() 145 __fwnode_iio_channel_get(struct iio_channel *channel, struct fwnode_handle *fwnode, int index) __fwnode_iio_channel_get() argument 183 fwnode_iio_channel_get(struct fwnode_handle *fwnode, int index) fwnode_iio_channel_get() argument 211 int index = 0; __fwnode_iio_channel_get_by_name() local [all...] |
/test/testfwk/arkxtest/uitest/core/ |
H A D | select_strategy.cpp | 294 size_t index = 0; in LocateNodeAfterBeforeAnchor() local 296 index = targetWidgets[targetWidgets.size() - 1] + 1; in LocateNodeAfterBeforeAnchor() 298 for (; index < visitWidgets.size() - 1; ++index) { in LocateNodeAfterBeforeAnchor() 301 isMyselfMatch = visitWidgets[index].MatchAttr(myselfIt) && isMyselfMatch; in LocateNodeAfterBeforeAnchor() 306 targetWidgets.emplace_back(index); in LocateNodeAfterBeforeAnchor() 376 // restore current index and set top to anchor index in LocateNodeWithInAnchor() 620 for (size_t index = 0; index < visitWidget in LocateNodeWithInComplexSelect() [all...] |
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/ |
H A D | VDecEncNdkSample.cpp | 52 void VdecAsyncNeedInputData(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData) in VdecAsyncNeedInputData() argument 60 vcodecSignal_->inQueueDec_.push(index); in VdecAsyncNeedInputData() 65 void VdecAsyncNewOutputData(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, in VdecAsyncNewOutputData() argument 74 vcodecSignal_->outQueueDec_.push(index); in VdecAsyncNewOutputData() 92 void VencAsyncNewOutputData(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, in VencAsyncNewOutputData() argument 101 vcodecSignal_->outQueueEnc_.push(index); in VencAsyncNewOutputData() 378 int32_t VDecEncNdkSample::PushInbufferDec(uint32_t index, uint32_t bufferSize) in PushInbufferDec() argument 401 return OH_VideoDecoder_PushInputData(vdec_, index, attr); in PushInbufferDec() 417 uint32_t index = vcodecSignal_->inQueueDec_.front(); in InputFuncDec() local 443 if (PushInbufferDec(index, bufferSiz in InputFuncDec() 496 uint32_t index = vcodecSignal_->outQueueDec_.front(); OutputFuncDec() local 718 uint32_t index = vcodecSignal_->outQueueEnc_.front(); OutputFuncEnc() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | tegra-xudc.c | 399 unsigned int index; member 791 dev_info(xudc->dev, "phy index could not be found for shared USB PHY"); in tegra_xudc_get_phy_index() 816 dev_dbg(xudc->dev, "%s(): current phy index is %d\n", __func__, in tegra_xudc_vbus_notify() 888 unsigned int index; in trb_virt_to_phys() local 890 index = trb - ep->transfer_ring; in trb_virt_to_phys() 892 if (WARN_ON(index >= XUDC_TRANSFER_RING_SIZE)) in trb_virt_to_phys() 895 return (ep->transfer_ring_phys + index * sizeof(*trb)); in trb_virt_to_phys() 902 unsigned int index; in trb_phys_to_virt() local 904 index = (addr - ep->transfer_ring_phys) / sizeof(*trb); in trb_phys_to_virt() 906 if (WARN_ON(index > in trb_phys_to_virt() 2256 u32 index = le16_to_cpu(ctrl->wIndex); tegra_xudc_ep0_set_feature() local 2365 u32 val, ep, index = le16_to_cpu(ctrl->wIndex); tegra_xudc_ep0_get_status() local 3140 tegra_xudc_alloc_ep(struct tegra_xudc *xudc, unsigned int index) tegra_xudc_alloc_ep() argument 3189 tegra_xudc_free_ep(struct tegra_xudc *xudc, unsigned int index) tegra_xudc_free_ep() argument [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | extent_io.c | 171 unsigned long index = start >> PAGE_SHIFT; in extent_range_clear_dirty_for_io() local 175 while (index <= end_index) { in extent_range_clear_dirty_for_io() 176 page = find_get_page(inode->i_mapping, index); in extent_range_clear_dirty_for_io() 180 index++; in extent_range_clear_dirty_for_io() 213 pgoff_t index = start_index; in __process_pages_contig() local 218 while (index <= end_index) { in __process_pages_contig() 221 found_folios = filemap_get_folios_contig(mapping, &index, in __process_pages_contig() 238 unsigned long index = start >> PAGE_SHIFT; in __unlock_for_delalloc() local 242 if (index == locked_page->index in __unlock_for_delalloc() 258 pgoff_t index = start_index; lock_delalloc_pages() local 1151 int index; contiguous_readpages() local 1881 pgoff_t index; btree_write_cache_pages() local 2009 pgoff_t index; extent_write_cache_pages() local 3562 unsigned long index = start >> PAGE_SHIFT; alloc_extent_buffer() local 4270 unsigned long index = get_eb_page_index(cur); memset_extent_buffer() local 4298 unsigned long index = get_eb_page_index(cur); copy_extent_buffer_full() local 4401 unsigned long index = get_eb_page_index(bytenr); extent_buffer_get_byte() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | tegra-xudc.c | 398 unsigned int index; member 794 dev_info(xudc->dev, "phy index could not be found for shared USB PHY"); in tegra_xudc_get_phy_index() 814 dev_dbg(xudc->dev, "%s(): current phy index is %d\n", __func__, in tegra_xudc_update_data_role() 898 unsigned int index; in trb_virt_to_phys() local 900 index = trb - ep->transfer_ring; in trb_virt_to_phys() 902 if (WARN_ON(index >= XUDC_TRANSFER_RING_SIZE)) in trb_virt_to_phys() 905 return (ep->transfer_ring_phys + index * sizeof(*trb)); in trb_virt_to_phys() 912 unsigned int index; in trb_phys_to_virt() local 914 index = (addr - ep->transfer_ring_phys) / sizeof(*trb); in trb_phys_to_virt() 916 if (WARN_ON(index > in trb_phys_to_virt() 2267 u32 index = le16_to_cpu(ctrl->wIndex); tegra_xudc_ep0_set_feature() local 2376 u32 val, ep, index = le16_to_cpu(ctrl->wIndex); tegra_xudc_ep0_get_status() local 3151 tegra_xudc_alloc_ep(struct tegra_xudc *xudc, unsigned int index) tegra_xudc_alloc_ep() argument 3200 tegra_xudc_free_ep(struct tegra_xudc *xudc, unsigned int index) tegra_xudc_free_ep() argument [all...] |