Home
last modified time | relevance | path

Searched refs:__idx (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/scsi/csiostor/
Dcsio_wr.h452 #define csio_get_q(__hw, __idx) ((__hw)->wrm.q_arr[__idx]) argument
453 #define csio_q_type(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->type) argument
454 #define csio_q_pidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pidx) argument
455 #define csio_q_cidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->cidx) argument
456 #define csio_q_inc_idx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->inc_idx) argument
457 #define csio_q_vstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->vstart) argument
458 #define csio_q_pstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pstart) argument
459 #define csio_q_size(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->size) argument
460 #define csio_q_credits(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->credits) argument
461 #define csio_q_portid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->portid) argument
[all …]
/linux-6.1.9/tools/include/nolibc/
Dtypes.h128 int __idx; \
130 for (__idx = 0; __idx < __size; __idx++) \
131 __set->fds[__idx] = 0; \
/linux-6.1.9/arch/arm64/include/asm/
Dmemory.h348 u64 __idx = ((u64)__page - VMEMMAP_START) / sizeof(struct page);\
349 u64 __addr = PAGE_OFFSET + (__idx * PAGE_SIZE); \
354 u64 __idx = (__tag_reset((u64)x) - PAGE_OFFSET) / PAGE_SIZE; \
355 u64 __addr = VMEMMAP_START + (__idx * sizeof(struct page)); \
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt73usb.h84 #define SHARED_KEY_ENTRY(__idx) \ argument
86 ((__idx) * sizeof(struct hw_key_entry)) )
87 #define PAIRWISE_KEY_ENTRY(__idx) \ argument
89 ((__idx) * sizeof(struct hw_key_entry)) )
90 #define PAIRWISE_TA_ENTRY(__idx) \ argument
92 ((__idx) * sizeof(struct hw_pairwise_ta_entry)) )
Drt61pci.h129 #define SHARED_KEY_ENTRY(__idx) \ argument
131 ((__idx) * sizeof(struct hw_key_entry)))
132 #define PAIRWISE_KEY_ENTRY(__idx) \ argument
134 ((__idx) * sizeof(struct hw_key_entry)))
135 #define PAIRWISE_TA_ENTRY(__idx) \ argument
137 ((__idx) * sizeof(struct hw_pairwise_ta_entry)))
Drt2800.h2034 #define MAC_WCID_ENTRY(__idx) \ argument
2035 (MAC_WCID_BASE + ((__idx) * sizeof(struct mac_wcid_entry)))
2036 #define PAIRWISE_KEY_ENTRY(__idx) \ argument
2037 (PAIRWISE_KEY_TABLE_BASE + ((__idx) * sizeof(struct hw_key_entry)))
2038 #define MAC_IVEIV_ENTRY(__idx) \ argument
2039 (MAC_IVEIV_TABLE_BASE + ((__idx) * sizeof(struct mac_iveiv_entry)))
2040 #define MAC_WCID_ATTR_ENTRY(__idx) \ argument
2041 (MAC_WCID_ATTRIBUTE_BASE + ((__idx) * sizeof(u32)))
2042 #define SHARED_KEY_ENTRY(__idx) \ argument
2043 (SHARED_KEY_TABLE_BASE + ((__idx) * sizeof(struct hw_key_entry)))
[all …]
Drt2500usb.h455 #define KEY_ENTRY(__idx) \ argument
456 ( SEC_CSR0 + ((__idx) * 16) )
/linux-6.1.9/arch/ia64/kernel/
Dmca_drv.h64 ({ int __idx = peidx_##name##_idx(p, n); \
67 __ret = &(peidx_head(p)->info[__idx]); \
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_utils.h202 int __idx = ffs(mask) - 1; \
203 mask &= ~BIT(__idx); \
204 __idx; \
/linux-6.1.9/include/linux/
Dtracepoint.h186 int __maybe_unused __idx = 0; \
202 __idx = srcu_read_lock_notrace(&tracepoint_srcu);\
210 srcu_read_unlock_notrace(&tracepoint_srcu, __idx);\
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed.h949 #define GET_GTT_REG_ADDR(__base, __offset, __idx) \ argument
950 ((__base) + __offset ## _GTT_OFFSET((__idx)))
952 #define GET_GTT_BDQ_REG_ADDR(__base, __offset, __idx, __bdq_idx) \ argument
953 ((__base) + __offset ## _GTT_OFFSET((__idx), (__bdq_idx)))
/linux-6.1.9/mm/
Dz3fold.c375 static inline int __idx(struct z3fold_header *zhdr, enum buddy bud) in __idx() function
399 idx = __idx(zhdr, bud); in __encode_handle()
607 int first_idx = __idx(zhdr, FIRST); in compact_single_buddy()
608 int middle_idx = __idx(zhdr, MIDDLE); in compact_single_buddy()
609 int last_idx = __idx(zhdr, LAST); in compact_single_buddy()
669 __idx(new_zhdr, new_bud); in compact_single_buddy()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_mocs.c75 #define MOCS_ENTRY(__idx, __control_value, __l3cc_value) \ argument
76 [__idx] = { \
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_ptp.c1046 #define ptp_offset_init(__idx, __mbps, __egress, __ingress) do { \ argument
1047 ptp_offset[__idx].mbps = (__mbps); \
1048 ptp_offset[__idx].egress = (__egress); \
1049 ptp_offset[__idx].ingress = (__ingress); } \
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_init.c6177 #define trunk_link_status(__idx)\ argument
6178 bf_get(lpfc_acqe_fc_la_trunk_config_port##__idx, acqe_fc) ?\
6179 ((phba->trunk_link.link##__idx.state == LPFC_LINK_UP) ?\
6182 #define trunk_port_fault(__idx)\ argument
6183 bf_get(lpfc_acqe_fc_la_trunk_config_port##__idx, acqe_fc) ?\
6184 (port_fault & (1 << __idx) ? "YES" : "NO") : "NA"
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Drtw8852a_rfk.c2904 u8 __idx = (idx), __i, __v; \ in _tssi_set_tmeter_tbl()
2907 __v = (__ptr[__idx + __i]); \ in _tssi_set_tmeter_tbl()
Drtw8852c_rfk.c2735 u8 __idx = (idx), __i, __v; \ in _tssi_set_tmeter_tbl()
2738 __v = (__ptr[__idx + __i]); \ in _tssi_set_tmeter_tbl()