/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | cam.c | 262 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 D | ksz9477_tc_flower.c | 160 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 D | crc.c | 137 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 D | crc.h | 70 short entry_idx; member
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | acpi.c | 712 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 D | genetlink.c | 151 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 D | t4vf_common.h | 295 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 D | cxgb4vf_main.c | 1972 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 D | rt2800mmio.c | 46 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 D | rt2x00queue.h | 376 unsigned int entry_idx; member
|
H A D | rt61pci.c | 1813 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 D | rt2x00debug.c | 172 dump_hdr->entry_index = entry->entry_idx; in rt2x00debug_dump_frame()
|
H A D | rt2800usb.c | 387 return entry->entry_idx; in rt2800usb_get_dma_done()
|
H A D | rt73usb.c | 1566 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 D | rt2x00queue.c | 1121 entries[i].entry_idx = i; in rt2x00queue_alloc_entries()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_if.c | 274 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 D | ice_ddp.c | 307 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 D | ice_ddp.h | 449 u32 entry_idx; member
|
/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_com.h | 767 u16 entry_idx, u16 entry_value);
|
H A D | ena_com.c | 2579 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 D | fw.c | 1990 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 D | type.h | 1094 u16 entry_idx; member 1312 u8 entry_idx; member
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_lib.c | 3237 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 D | cxgb4_debugfs.c | 1159 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 D | cxgb4.h | 526 unsigned int entry_idx) in mbox_cmd_log_entry() argument 528 return &((struct mbox_cmd *)&(log)[1])[entry_idx]; in mbox_cmd_log_entry()
|