/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_main.c | 905 * @address: tcam index 1475 (priv->soft_mac_tbl + i)->index = DSAF_INVALID_ENTRY_IDX; in hns_dsaf_init() 1517 if ((soft_mac_entry->index != DSAF_INVALID_ENTRY_IDX) && in hns_dsaf_find_soft_mac_entry() 1520 /* return find result --soft index */ in hns_dsaf_find_soft_mac_entry() 1521 return soft_mac_entry->index; in hns_dsaf_find_soft_mac_entry() 1542 if (soft_mac_entry->index == DSAF_INVALID_ENTRY_IDX) in hns_dsaf_find_empty_mac_entry() 1543 /* return find result --soft index */ in hns_dsaf_find_empty_mac_entry() 1565 if (soft_mac_entry->index == DSAF_INVALID_ENTRY_IDX) in hns_dsaf_find_empty_mac_entry_reverse() 1671 soft_mac_entry->index = entry_index; in hns_dsaf_set_mac_uc_entry() 1847 soft_mac_entry->index in hns_dsaf_add_mac_mc_port() 2191 hns_dsaf_get_inode_prio_reg(int index) hns_dsaf_get_inode_prio_reg() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/agere/ |
H A D | et131x.c | 354 u32 index; /* Ring indexes */ member 524 int index = 0; in eeprom_write() local 622 if ((val & 0xFF00) != 0xC000 || index == 10000) in eeprom_write() 624 index++; in eeprom_write() 1953 /* Save the Virtual address of this index for in et131x_rx_dma_memory_alloc() 2234 /* Illegal buffer or ring index cannot be used by S/W*/ in nic_rx_pkts() 2549 tcb->index = NUM_DESC_PER_RING_TX - 1; in nic_send_packet() 2551 tcb->index = ET_DMA10_WRAP|(NUM_DESC_PER_RING_TX - 1); in nic_send_packet() 2553 tcb->index = tx_ring->send_idx - 1; in nic_send_packet() 2667 } while (desc != tx_ring->tx_desc_ring + INDEX10(tcb->index)); in free_send_packet() 2740 u32 index; et131x_handle_send_pkts() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/ |
H A D | main.c | 420 * Return: Trusted index of target hardware queue 492 cmd->hwq_index = hwq->index; in send_tmf() 723 * @index: Index of the hardware queue. 728 u32 index) in term_intr() 739 hwq = get_hwq(afu, index); in term_intr() 749 if (index == PRIMARY_HWQ) in term_intr() 770 * @index: Index of the hardware queue. 774 static void term_mc(struct cxlflash_cfg *cfg, u32 index) in term_mc() argument 786 hwq = get_hwq(afu, index); in term_mc() 794 if (index ! in term_mc() 727 term_intr(struct cxlflash_cfg *cfg, enum undo_level level, u32 index) term_intr() argument 2004 init_mc(struct cxlflash_cfg *cfg, u32 index) init_mc() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
H A D | rtl8723b_hal_init.c | 2958 u32 index; in rtl8723b_cal_txdesc_chksum() local 2970 for (index = 0; index < count; index++) { in rtl8723b_cal_txdesc_chksum() 2971 checksum |= le16_to_cpu(*(__le16 *)(usPtr + index)); in rtl8723b_cal_txdesc_chksum() 3661 u8 index = 0; in c2h_handler_8723b() local 3688 for (index = 0; index < pC2hEvent->plen; index++) { in c2h_handler_8723b() 3689 RT_TRACE(_module_hal_init_c_, _drv_info_, ("[BT], tmpBuf[%d]= 0x%x\n", index, pC2hEven in c2h_handler_8723b() 3711 u8 index = 0; process_c2h_event() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_main.c | 905 * @address: tcam index 1475 (priv->soft_mac_tbl + i)->index = DSAF_INVALID_ENTRY_IDX; in hns_dsaf_init() 1517 if ((soft_mac_entry->index != DSAF_INVALID_ENTRY_IDX) && in hns_dsaf_find_soft_mac_entry() 1520 /* return find result --soft index */ in hns_dsaf_find_soft_mac_entry() 1521 return soft_mac_entry->index; in hns_dsaf_find_soft_mac_entry() 1542 if (soft_mac_entry->index == DSAF_INVALID_ENTRY_IDX) in hns_dsaf_find_empty_mac_entry() 1543 /* return find result --soft index */ in hns_dsaf_find_empty_mac_entry() 1565 if (soft_mac_entry->index == DSAF_INVALID_ENTRY_IDX) in hns_dsaf_find_empty_mac_entry_reverse() 1671 soft_mac_entry->index = entry_index; in hns_dsaf_set_mac_uc_entry() 1847 soft_mac_entry->index in hns_dsaf_add_mac_mc_port() 2191 hns_dsaf_get_inode_prio_reg(int index) hns_dsaf_get_inode_prio_reg() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/agere/ |
H A D | et131x.c | 354 u32 index; /* Ring indexes */ member 524 int index = 0; in eeprom_write() local 622 if ((val & 0xFF00) != 0xC000 || index == 10000) in eeprom_write() 624 index++; in eeprom_write() 1953 /* Save the Virtual address of this index for in et131x_rx_dma_memory_alloc() 2234 /* Illegal buffer or ring index cannot be used by S/W*/ in nic_rx_pkts() 2548 tcb->index = NUM_DESC_PER_RING_TX - 1; in nic_send_packet() 2550 tcb->index = ET_DMA10_WRAP|(NUM_DESC_PER_RING_TX - 1); in nic_send_packet() 2552 tcb->index = tx_ring->send_idx - 1; in nic_send_packet() 2666 } while (desc != tx_ring->tx_desc_ring + INDEX10(tcb->index)); in free_send_packet() 2739 u32 index; et131x_handle_send_pkts() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/ |
H A D | main.c | 420 * Return: Trusted index of target hardware queue 492 cmd->hwq_index = hwq->index; in send_tmf() 723 * @index: Index of the hardware queue. 728 u32 index) in term_intr() 739 hwq = get_hwq(afu, index); in term_intr() 749 if (index == PRIMARY_HWQ) in term_intr() 770 * @index: Index of the hardware queue. 774 static void term_mc(struct cxlflash_cfg *cfg, u32 index) in term_mc() argument 786 hwq = get_hwq(afu, index); in term_mc() 794 if (index ! in term_mc() 727 term_intr(struct cxlflash_cfg *cfg, enum undo_level level, u32 index) term_intr() argument 1981 init_mc(struct cxlflash_cfg *cfg, u32 index) init_mc() argument [all...] |
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_utils.cpp | 130 int index = distance(deviceTypes.begin(), pos); in GetTargetDevice() local 131 dev = alldevicesID[index]; in GetTargetDevice()
|
/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/ |
H A D | js_mission_info_utils.cpp | 118 uint32_t index = 0; in CreateJsMissionInfoArray() local 120 napi_set_element(env, arrayValue, index++, CreateJsMissionInfo(env, missionInfo)); in CreateJsMissionInfoArray()
|
/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | indexer_component.h | 165 int32_t GetSectionIndexInIndexer(int32_t index); 259 bool RemoveSectionHead(int32_t index);
|
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_javascript_value.h | 315 WebJavaScriptValue& GetListValue(unsigned int index) in GetListValue() argument 317 return listValue_[index]; in GetListValue()
|
/foundation/arkui/ace_engine/frameworks/core/components/option/ |
H A D | option_component.h | 219 void SetIndex(std::size_t index) in SetIndex() argument 221 index_ = index; in SetIndex()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/ |
H A D | folder_stack_pattern.cpp | 89 auto index = hostNode->GetChildIndexById(controlPartsStackNode->GetId()); in SetLayoutBeforeAnimation() local 90 auto controlPartsStackWrapper = hostNode->GetOrCreateChildByIndex(index); in SetLayoutBeforeAnimation()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/swiper/ |
H A D | swiper_declaration.cpp | 248 std::unique_ptr<JsonValue> indexValue = argsValue->GetArrayItem(0)->GetValue("index"); in CallSpecializedMethod() 250 LOGE("get index failed"); in CallSpecializedMethod() 253 int32_t index = indexValue->GetInt(); in CallSpecializedMethod() local 254 controller->SwipeTo(index); in CallSpecializedMethod()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_layout_info.h | 159 int32_t y = -1; /**< Main-axis position (line index) of the item. */ 160 int32_t x = -1; /**< Cross-axis position (column index) of the item. */ 163 * @brief Traverse the matrix backward to find the last item index, starting from Line [endLine]. 166 * @param endLine index of the line to start traversing. 167 * @return last item index above endLine (inclusive) and the position it resides in. 197 * @brief Perform a binary search to find item with [index] in the gridMatrix_. 199 * @param index target item index 202 std::map<int32_t, std::map<int32_t, int32_t>>::const_iterator FindInMatrix(int32_t index) const; 214 * @return The line index an [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
H A D | grid_scroll_layout_algorithm.h | 121 bool CheckGridPlaced(int32_t index, int32_t main, int32_t cross, int32_t mainSpan, int32_t crossSpan); 127 bool IsIndexInMatrix(int32_t index, int32_t& startLine); 170 * @param startIdx index of the first GridItem in viewport 209 int32_t currentMainLineIndex_ = 0; // it equals to row index in vertical grid 210 int32_t moveToEndLineIndex_ = -1; // place index in the last line when scroll to index after matrix 224 // Map structure: [index, crossPosition], store cross position of each item.
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_pattern.h | 213 void SetIndex(int32_t index) in SetIndex() argument 215 index_ = index; in SetIndex()
|
/foundation/ability/ability_runtime/frameworks/js/napi/js_mission_manager/ |
H A D | js_mission_info_utils.cpp | 120 uint32_t index = 0; in CreateJsMissionInfoArray() local 122 napi_set_element(env, arrayValue, index++, CreateJsMissionInfo(env, missionInfo)); in CreateJsMissionInfoArray()
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | list_component.h | 370 int32_t index = 0; // Update the item index by the order in list. in UpdateListItemIndex() local 374 listItemComponent->SetIndex(index++); in UpdateListItemIndex()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | title_bar_pattern.h | 255 void SetMoveIndex(int32_t index) in SetMoveIndex() argument 257 moveIndex_ = index; in SetMoveIndex()
|
/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | node_data_cache.cpp | 153 const RefPtr<NG::FrameNode>& node, const std::string& id, const std::string& name, int index) in PutMultiple() 157 json->Put(KEY_INDEX, index); in PutMultiple() 152 PutMultiple( const RefPtr<NG::FrameNode>& node, const std::string& id, const std::string& name, int index) PutMultiple() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | grid_model_impl.cpp | 237 auto onDragStart = [func = std::move(value)](const ItemDragInfo& dragInfo, int32_t index) -> RefPtr<Component> { in SetOnItemDragStart() 240 func(dragInfo, index); in SetOnItemDragStart()
|
/foundation/arkui/ace_engine/test/component_test/tools/middle_ground/public/ |
H A D | index.js | 197 let index = checkboxLst.findIndex(subArray => JSON.stringify(subArray) === JSON.stringify(val)); 198 checkboxLst.splice(index, 1);
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | indexer_composed_element.cpp | 243 auto index = std::to_string(i); in GetArrayValue() local 244 jsonValueArray->Put(index.c_str(), StringUtils::Str16ToStr8(value[i]).c_str()); in GetArrayValue()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | for_each_node.cpp | 290 RefPtr<FrameNode> ForEachNode::GetFrameNode(int32_t index) in GetFrameNode() argument 292 return AceType::DynamicCast<FrameNode>(GetFrameChildByIndex(index, false, false)); in GetFrameNode()
|