Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/csiostor/
H A 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 …]
/openbmc/linux/tools/include/nolibc/
H A Dtypes.h154 int __idx; \
156 for (__idx = 0; __idx < __size; __idx++) \
157 __set->fds[__idx] = 0; \
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A 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)) )
H A 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)))
H A 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
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)))
2044 #define SHARED_KEY_MODE_ENTRY(__idx) \ argument
[all …]
H A Drt2500usb.h455 #define KEY_ENTRY(__idx) \ argument
456 ( SEC_CSR0 + ((__idx) * 16) )
/openbmc/linux/arch/arm64/include/asm/
H A Dmemory.h370 u64 __idx = ((u64)__page - VMEMMAP_START) / sizeof(struct page);\
371 u64 __addr = PAGE_OFFSET + (__idx * PAGE_SIZE); \
376 u64 __idx = (__tag_reset((u64)x) - PAGE_OFFSET) / PAGE_SIZE; \
377 u64 __addr = VMEMMAP_START + (__idx * sizeof(struct page)); \
/openbmc/linux/arch/ia64/kernel/
H A Dmca_drv.h64 ({ int __idx = peidx_##name##_idx(p, n); \
67 __ret = &(peidx_head(p)->info[__idx]); \
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_utils.h196 int __idx = ffs(mask) - 1; \
197 mask &= ~BIT(__idx); \
198 __idx; \
/openbmc/linux/include/linux/
H A Dtracepoint.h197 int __maybe_unused __idx = 0; \
213 __idx = srcu_read_lock_notrace(&tracepoint_srcu);\
221 srcu_read_unlock_notrace(&tracepoint_srcu, __idx);\
/openbmc/linux/scripts/gdb/linux/
H A Dmm.py268__idx = int((page.cast(gdb.lookup_type("unsigned long")) - self.VMEMMAP_START).cast(utils.get_ulon…
269 return self.PAGE_OFFSET + (__idx * self.PAGE_SIZE)
275 __idx = int(self.kasan_reset_tag(va) - self.PAGE_OFFSET) // self.PAGE_SIZE
276 addr = self.VMEMMAP_START + (__idx * self.struct_page_size)
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed.h948 #define GET_GTT_REG_ADDR(__base, __offset, __idx) \ argument
949 ((__base) + __offset ## _GTT_OFFSET((__idx)))
951 #define GET_GTT_BDQ_REG_ADDR(__base, __offset, __idx, __bdq_idx) \ argument
952 ((__base) + __offset ## _GTT_OFFSET((__idx), (__bdq_idx)))
/openbmc/linux/mm/
H A Dz3fold.c361 static inline int __idx(struct z3fold_header *zhdr, enum buddy bud) in __idx() function
385 idx = __idx(zhdr, bud); in __encode_handle()
601 int first_idx = __idx(zhdr, FIRST); in compact_single_buddy()
602 int middle_idx = __idx(zhdr, MIDDLE); in compact_single_buddy()
603 int last_idx = __idx(zhdr, LAST); in compact_single_buddy()
663 __idx(new_zhdr, new_bud); in compact_single_buddy()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ptp.c1038 #define ptp_offset_init(__idx, __mbps, __egress, __ingress) do { \ argument
1039 ptp_offset[__idx].mbps = (__mbps); \
1040 ptp_offset[__idx].egress = (__egress); \
1041 ptp_offset[__idx].ingress = (__ingress); } \
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_mocs.c87 #define MOCS_ENTRY(__idx, __control_value, __l3cc_value) \ argument
88 [__idx] = { \
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_init.c6118 #define trunk_link_status(__idx)\ argument
6119 bf_get(lpfc_acqe_fc_la_trunk_config_port##__idx, acqe_fc) ?\
6120 ((phba->trunk_link.link##__idx.state == LPFC_LINK_UP) ?\
6123 #define trunk_port_fault(__idx)\ argument
6124 bf_get(lpfc_acqe_fc_la_trunk_config_port##__idx, acqe_fc) ?\
6125 (port_fault & (1 << __idx) ? "YES" : "NO") : "NA"
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8851b_rfk.c2658 u8 __idx = (idx), __i, __v; \ in _tssi_set_tmeter_tbl()
2661 __v = (__ptr[__idx + __i]); \ in _tssi_set_tmeter_tbl()
H A Drtw8852a_rfk.c2877 u8 __idx = (idx), __i, __v; \ in _tssi_set_tmeter_tbl()
2880 __v = (__ptr[__idx + __i]); \ in _tssi_set_tmeter_tbl()
H A Drtw8852c_rfk.c2960 u8 __idx = (idx), __i, __v; \ in _tssi_set_tmeter_tbl()
2963 __v = (__ptr[__idx + __i]); \ in _tssi_set_tmeter_tbl()
H A Drtw8852b_rfk.c2785 u8 __idx = (idx), __i, __v; \ in _tssi_set_tmeter_tbl()
2788 __v = (__ptr[__idx + __i]); \ in _tssi_set_tmeter_tbl()