Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 8 of 8) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/hif/src/
Dmp_dev.c77 uint32_t shift = 0; in set_target_reg_bits() local
80 while (!((bitmask >> shift) & 0x01)) in set_target_reg_bits()
81 shift++; in set_target_reg_bits()
83 value |= (((val) << shift) & (bitmask)); in set_target_reg_bits()
92 uint32_t shift = 0; in get_target_reg_bits() local
94 while (!((bitmask >> shift) & 0x01)) in get_target_reg_bits()
95 shift++; in get_target_reg_bits()
97 return (value >> shift) & bitmask; in get_target_reg_bits()
Dhif_exec.c671 int shift = hif_ext_group->scale_bin_shift; in hif_exec_poll() local
682 normalized_budget = NAPI_BUDGET_TO_INTERNAL_BUDGET(budget, shift); in hif_exec_poll()
720 work_done = INTERNAL_BUDGET_TO_NAPI_BUDGET(work_done, shift); in hif_exec_poll()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/
Dhal_flow.h80 key_bitwise_shift_left(uint8_t *key, int len, int shift) in key_bitwise_shift_left() argument
85 while (shift--) { in key_bitwise_shift_left()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn9224/
Dhal_9224_tx.h751 uint32_t reg_addr, reg_val = 0, mask, shift; in hal_tx_update_ppe_pri2tid_9224() local
763 shift = HWIO_TCL_R0_PPE_INT_PRI_TID_MAP0_INT_PRI_0_SHFT + (pri * 0x3); in hal_tx_update_ppe_pri2tid_9224()
771 shift = in hal_tx_update_ppe_pri2tid_9224()
780 reg_val |= (pri << shift) & mask; in hal_tx_update_ppe_pri2tid_9224()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn6432/
Dhal_6432_tx.h672 uint32_t reg_addr, reg_val = 0, mask, shift; in hal_tx_update_ppe_pri2tid_6432() local
684 shift = HWIO_TCL_R0_PPE_INT_PRI_TID_MAP0_INT_PRI_0_SHFT + (pri * 0x3); in hal_tx_update_ppe_pri2tid_6432()
692 shift = in hal_tx_update_ppe_pri2tid_6432()
701 reg_val |= (pri << shift) & mask; in hal_tx_update_ppe_pri2tid_6432()
/wlan-driver/fw-api/fw/
Dhtt_isoc.h117 unsigned shift, in htt_isoc_t2h_field_set() argument
127 *msg_addr32 |= (value << shift); in htt_isoc_t2h_field_set()
135 #define HTT_ISOC_T2H_FIELD_GET(msg_addr32, offset32, mask, shift) \ argument
136 (((*(msg_addr32 + offset32)) & mask) >> shift)
/wlan-driver/qcacld-3.0/core/dp/txrx/
Dol_tx_send.c1546 int shift = 0; in ol_tx_delay_avg() local
1553 shift++; in ol_tx_delay_avg()
1556 num >>= shift; in ol_tx_delay_avg()
/wlan-driver/fw-api/hw/qca8074/v1/
DHALhwio.h552 #define out_dword_masked_ns_shift(io, mask, val, current_reg_content, shift) \ argument
554 (((uint32)((val) & (mask))) << shift )) )