Home
last modified time | relevance | path

Searched refs:entry_idx (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcam.c262 u8 entry_idx = 0; in rtl_cam_get_free_entry() local
276 for (entry_idx = 4; entry_idx < TOTAL_CAM_ENTRY; entry_idx++) { in rtl_cam_get_free_entry()
279 rtlpriv->sec.hwsec_cam_bitmap, entry_idx); in rtl_cam_get_free_entry()
280 rtlpriv->sec.hwsec_cam_bitmap |= BIT(0) << entry_idx; in rtl_cam_get_free_entry()
281 memcpy(rtlpriv->sec.hwsec_cam_sta_addr[entry_idx], in rtl_cam_get_free_entry()
283 return entry_idx; in rtl_cam_get_free_entry()
/linux/drivers/net/dsa/microchip/
H A Dksz9477_tc_flower.c160 int entry_idx) in ksz9477_flower_parse_action() argument
192 entry = &acl->acles.entries[entry_idx]; in ksz9477_flower_parse_action()
195 ksz9477_acl_processing_rule_set_action(entry->entry, entry_idx); in ksz9477_flower_parse_action()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrc.c137 while (crc->entry_idx < func->num_entries) { in nv50_crc_get_entries()
144 source, crc->entry_idx); in nv50_crc_get_entries()
150 crc->entry_idx++; in nv50_crc_get_entries()
182 crc->entry_idx = 0; in nv50_crc_handle_vblank()
213 - crc->entry_idx, in nv50_crc_handle_vblank()
287 crc->entry_idx = 0; in nv50_crc_atomic_init_notifier_contexts()
H A Dcrc.h70 short entry_idx; member
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dacpi.c712 int entry_idx = 1; in iwl_acpi_get_wgds_table() local
750 entry = &wifi_pkg->package.elements[entry_idx]; in iwl_acpi_get_wgds_table()
751 entry_idx++; in iwl_acpi_get_wgds_table()
798 entry = &wifi_pkg->package.elements[entry_idx]; in iwl_acpi_get_wgds_table()
799 entry_idx++; in iwl_acpi_get_wgds_table()
816 entry = &wifi_pkg->package.elements[entry_idx]; in iwl_acpi_get_wgds_table()
817 entry_idx++; in iwl_acpi_get_wgds_table()
/linux/net/netlink/
H A Dgenetlink.c151 int entry_idx; member
219 i = iter->entry_idx - family->n_ops - family->n_small_ops; in genl_op_from_split()
240 iter->entry_idx += cnt; in genl_op_from_split()
341 iter->entry_idx = 0; in genl_op_iter_init()
356 if (iter->entry_idx < family->n_ops) { in genl_op_iter_next()
357 genl_op_from_full(family, iter->entry_idx, &op); in genl_op_iter_next()
358 } else if (iter->entry_idx < family->n_ops + family->n_small_ops) { in genl_op_iter_next()
359 genl_op_from_small(family, iter->entry_idx - family->n_ops, in genl_op_iter_next()
361 } else if (iter->entry_idx < in genl_op_iter_next()
373 iter->entry_idx++; in genl_op_iter_next()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_common.h295 unsigned int entry_idx) in mbox_cmd_log_entry() argument
297 return &((struct mbox_cmd *)&(log)[1])[entry_idx]; in mbox_cmd_log_entry()
H A Dcxgb4vf_main.c1972 int entry_idx, i; in mboxlog_show() local
1982 entry_idx = log->cursor + ((uintptr_t)v - 2); in mboxlog_show()
1983 if (entry_idx >= log->size) in mboxlog_show()
1984 entry_idx -= log->size; in mboxlog_show()
1985 entry = mbox_cmd_log_entry(log, entry_idx); in mboxlog_show()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800mmio.c46 idx = entry->entry_idx; in rt2800mmio_get_dma_done()
468 entry->entry_idx); in rt2800mmio_kick_queue()
475 entry->entry_idx); in rt2800mmio_kick_queue()
648 entry->entry_idx); in rt2800mmio_clear_entry()
H A Drt2x00queue.h376 unsigned int entry_idx; member
H A Drt61pci.c1813 rt2x00_set_field32(&word, TXD_W5_PID_SUBTYPE, entry->entry_idx); in rt61pci_write_tx_desc()
1912 beacon_base = HW_BEACON_OFFSET(entry->entry_idx); in rt61pci_write_beacon()
1955 HW_BEACON_OFFSET(entry->entry_idx), 0); in rt61pci_clear_beacon()
2117 entry_done->entry_idx); in rt61pci_txdone()
H A Drt2x00debug.c172 dump_hdr->entry_index = entry->entry_idx; in rt2x00debug_dump_frame()
H A Drt2800usb.c387 return entry->entry_idx; in rt2800usb_get_dma_done()
H A Drt73usb.c1566 beacon_base = HW_BEACON_OFFSET(entry->entry_idx); in rt73usb_write_beacon()
1606 beacon_base = HW_BEACON_OFFSET(entry->entry_idx); in rt73usb_clear_beacon()
H A Drt2x00queue.c1121 entries[i].entry_idx = i; in rt2x00queue_alloc_entries()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_if.c274 static void set_dma_attr(struct hinic_hwif *hwif, u32 entry_idx, in set_dma_attr() argument
282 addr = HINIC_CSR_DMA_ATTR_ADDR(entry_idx); in set_dma_attr()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ddp.c307 state->entry_idx = 0; in ice_pkg_enum_entry()
310 state->entry_idx++; in ice_pkg_enum_entry()
317 entry = state->handler(state->sect_type, state->sect, state->entry_idx, in ice_pkg_enum_entry()
324 state->entry_idx = 0; in ice_pkg_enum_entry()
326 state->entry_idx, offset); in ice_pkg_enum_entry()
H A Dice_ddp.h449 u32 entry_idx; member
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_com.h767 u16 entry_idx, u16 entry_value);
H A Dena_com.c2579 u16 entry_idx, u16 entry_value) in ena_com_indirect_table_fill_entry() argument
2583 if (unlikely(entry_idx >= (1 << rss->tbl_log_size))) in ena_com_indirect_table_fill_entry()
2589 rss->host_rss_ind_tbl[entry_idx] = entry_value; in ena_com_indirect_table_fill_entry()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dfw.c1990 u8 entry_idx; in rtw89_fw_h2c_ba_cam() local
1995 &entry_idx) : in rtw89_fw_h2c_ba_cam()
1997 &entry_idx); in rtw89_fw_h2c_ba_cam()
2018 h2c->w1 |= le32_encode_bits(entry_idx, RTW89_H2C_BA_CAM_W1_ENTRY_IDX_V1); in rtw89_fw_h2c_ba_cam()
2020 h2c->w0 |= le32_encode_bits(entry_idx, RTW89_H2C_BA_CAM_W0_ENTRY_IDX); in rtw89_fw_h2c_ba_cam()
2061 u8 entry_idx, u8 uid) in rtw89_fw_h2c_init_ba_cam_v0_ext() argument
2077 h2c->w1 = le32_encode_bits(entry_idx, RTW89_H2C_BA_CAM_W1_ENTRY_IDX_V1) | in rtw89_fw_h2c_init_ba_cam_v0_ext()
2104 u8 entry_idx = chip->bacam_num; in rtw89_fw_h2c_init_dynamic_ba_cam_v0_ext() local
2109 rtw89_fw_h2c_init_ba_cam_v0_ext(rtwdev, entry_idx, uid); in rtw89_fw_h2c_init_dynamic_ba_cam_v0_ext()
2110 entry_idx++; in rtw89_fw_h2c_init_dynamic_ba_cam_v0_ext()
[all …]
/linux/drivers/infiniband/hw/irdma/
H A Dtype.h1094 u16 entry_idx; member
1312 u8 entry_idx; member
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_lib.c3237 unsigned int entry_idx; in cudbg_collect_mbox_log() local
3252 entry_idx = log->cursor + k; in cudbg_collect_mbox_log()
3253 if (entry_idx >= log->size) in cudbg_collect_mbox_log()
3254 entry_idx -= log->size; in cudbg_collect_mbox_log()
3256 entry = mbox_cmd_log_entry(log, entry_idx); in cudbg_collect_mbox_log()
H A Dcxgb4_debugfs.c1159 int entry_idx, i; in mboxlog_show() local
1169 entry_idx = log->cursor + ((uintptr_t)v - 2); in mboxlog_show()
1170 if (entry_idx >= log->size) in mboxlog_show()
1171 entry_idx -= log->size; in mboxlog_show()
1172 entry = mbox_cmd_log_entry(log, entry_idx); in mboxlog_show()
H A Dcxgb4.h526 unsigned int entry_idx) in mbox_cmd_log_entry() argument
528 return &((struct mbox_cmd *)&(log)[1])[entry_idx]; in mbox_cmd_log_entry()

12