Home
last modified time | relevance | path

Searched refs:reg_mask (Results 1 – 11 of 11) sorted by relevance

/external/libffi/src/avr32/
Dffi.c75 unsigned int reg_mask = 0; in ffi_prep_args() local
83 reg_mask |= 1; in ffi_prep_args()
97 if(reg_mask != 0x1f) in ffi_prep_args()
108 while((reg_mask >> index) & 1) in ffi_prep_args()
112 reg_mask |= (1 << index); in ffi_prep_args()
116 if(!((reg_mask >> 1) & 1)) in ffi_prep_args()
119 reg_mask |= (3 << 1); in ffi_prep_args()
121 else if(!((reg_mask >> 3) & 1)) in ffi_prep_args()
124 reg_mask |= (3 << 3); in ffi_prep_args()
163 if((reg_mask & (1 << i)) == 0) in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/avr32/
Dffi.c75 unsigned int reg_mask = 0; in ffi_prep_args() local
83 reg_mask |= 1; in ffi_prep_args()
97 if(reg_mask != 0x1f) in ffi_prep_args()
108 while((reg_mask >> index) & 1) in ffi_prep_args()
112 reg_mask |= (1 << index); in ffi_prep_args()
116 if(!((reg_mask >> 1) & 1)) in ffi_prep_args()
119 reg_mask |= (3 << 1); in ffi_prep_args()
121 else if(!((reg_mask >> 3) & 1)) in ffi_prep_args()
124 reg_mask |= (3 << 3); in ffi_prep_args()
163 if((reg_mask & (1 << i)) == 0) in ffi_prep_args()
[all …]
/external/u-boot/drivers/usb/host/
Dohci-sunxi.c55 u8 reg_mask = 0; in ohci_usb_probe() local
100 reg_mask = ((uintptr_t)regs - (SUNXI_USB1_BASE + 0x400)) / BASE_DIST; in ohci_usb_probe()
104 priv->ahb_gate_mask <<= reg_mask * AHB_CLK_DIST; in ohci_usb_probe()
105 extra_ahb_gate_mask <<= reg_mask * AHB_CLK_DIST; in ohci_usb_probe()
106 priv->usb_gate_mask <<= reg_mask; in ohci_usb_probe()
Dehci-sunxi.c52 u8 reg_mask = 0; in ehci_usb_probe() local
92 reg_mask = ((uintptr_t)hccr - SUNXI_USB1_BASE) / BASE_DIST; in ehci_usb_probe()
95 priv->ahb_gate_mask <<= reg_mask * AHB_CLK_DIST; in ehci_usb_probe()
96 extra_ahb_gate_mask <<= reg_mask * AHB_CLK_DIST; in ehci_usb_probe()
/external/u-boot/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c68 u32 reg_mask; member
105 .reg_mask = _mask, \
115 .reg_mask = _mask, \
125 .reg_mask = _mask, \
135 .reg_mask = _mask, \
146 .reg_mask = _mask, \
272 unsigned int mask = grp->reg_mask; in armada_37xx_pmx_set_by_name()
/external/u-boot/drivers/ddr/marvell/a38x/
Dddr3_training_ip_def.h188 unsigned int reg_mask; member
Dddr3_training_leveling.c1716 u32 reg_val, reg_mask; in mv_ddr_rl_dqs_burst() local
1723 reg_mask = (TRAINING_ECC_MUX_MASK << TRAINING_ECC_MUX_OFFS) | in mv_ddr_rl_dqs_burst()
1725 reg_val &= ~reg_mask; in mv_ddr_rl_dqs_burst()
1732 reg_mask = (TRN_START_MASK << TRN_START_OFFS); in mv_ddr_rl_dqs_burst()
1733 reg_val &= ~reg_mask; in mv_ddr_rl_dqs_burst()
Dddr3_init.h165 int ddr3_tip_reg_read(u32 dev_num, u32 reg_addr, u32 *data, u32 reg_mask);
Dddr3_training_ip_flow.h143 u32 reg_addr, u32 data_value, u32 reg_mask);
Dddr3_training.c1153 u32 data_value, u32 reg_mask) in ddr3_tip_bus_read_modify_write() argument
1171 data_value = (data_val & (~reg_mask)) | (data_value & reg_mask); in ddr3_tip_bus_read_modify_write()
2100 odpg_default_value[index_cnt].reg_mask)); in ddr3_tip_restore_dunit_regs()
/external/vixl/src/aarch64/
Dsimulator-aarch64.cc341 uint64_t reg_mask = (reg_size == kWRegSize) ? kWRegMask : kXRegMask; in AddWithCarry() local
344 left &= reg_mask; in AddWithCarry()
345 right &= reg_mask; in AddWithCarry()
346 uint64_t result = (left + right + carry_in) & reg_mask; in AddWithCarry()
2682 int64_t reg_mask = instr->GetSixtyFourBits() ? kXRegMask : kWRegMask; in VisitBitfield() local
2689 mask = (static_cast<unsigned>(diff) < (reg_size - 1)) ? mask : reg_mask; in VisitBitfield()