Home
last modified time | relevance | path

Searched defs:mask (Results 1 – 25 of 433) sorted by relevance

12345678910>>...18

/u-boot/arch/nios2/include/asm/bitops/
A Dnon-atomic.h17 unsigned long mask = BIT_MASK(nr); in __set_bit() local
27 unsigned long mask = BIT_MASK(nr); in __clear_bit() local
46 unsigned long mask = BIT_MASK(nr); in __change_bit() local
63 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() local
82 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() local
94 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit() local
A Datomic.h67 unsigned long mask = BIT_MASK(nr); in set_bit() local
88 unsigned long mask = BIT_MASK(nr); in clear_bit() local
109 unsigned long mask = BIT_MASK(nr); in change_bit() local
129 unsigned long mask = BIT_MASK(nr); in test_and_set_bit() local
153 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit() local
176 unsigned long mask = BIT_MASK(nr); in test_and_change_bit() local
/u-boot/board/ti/beagle/
A Dled.c29 static int get_led_gpio(led_id_t mask) in get_led_gpio()
43 void __led_init (led_id_t mask, int state) in __led_init()
53 void __led_toggle (led_id_t mask) in __led_toggle()
64 void __led_set (led_id_t mask, int state) in __led_set()
/u-boot/arch/arm/dts/
A Dpoplar-pinctrl.dtsi11 #define PINCTRL_PULLDOWN(value, enable, disable, mask) \ argument
13 #define PINCTRL_PULLUP(value, enable, disable, mask) \ argument
15 #define PINCTRL_SLEW_RATE(value, mask) (value << 8) (mask << 8) argument
16 #define PINCTRL_DRV_STRENGTH(value, mask) (value << 4) (mask << 4) argument
/u-boot/arch/arm/mach-zynqmp/
A Dpsu_spl_init.c14 int __maybe_unused mask_pollonvalue(unsigned long add, u32 mask, u32 value) in mask_pollonvalue()
26 __weak int mask_poll(u32 add, u32 mask) in mask_poll()
39 __weak u32 mask_read(u32 add, u32 mask) in mask_read()
51 __weak void psu_mask_write(unsigned long offset, unsigned long mask, in psu_mask_write()
62 __weak void prog_reg(unsigned long addr, unsigned long mask, in prog_reg()
/u-boot/drivers/gpio/
A Dat91_gpio.c49 u32 mask; in at91_set_port_pullup() local
75 u32 mask; in at91_set_pio_periph() local
93 u32 mask; in at91_set_a_periph() local
112 u32 mask; in at91_set_b_periph() local
131 u32 mask; in at91_pio3_set_a_periph() local
154 u32 mask; in at91_pio3_set_b_periph() local
176 u32 mask; in at91_pio3_set_c_periph() local
198 u32 mask; in at91_pio3_set_d_periph() local
228 u32 mask; in at91_set_port_input() local
254 u32 mask; in at91_set_port_output() local
[all …]
A Datmel_pio4.c52 u32 reg, mask; in atmel_pio4_config_io_func() local
130 u32 reg, mask; in atmel_pio4_set_pio_output() local
156 u32 reg, mask; in atmel_pio4_get_pio_input() local
200 u32 mask = BIT(line); in atmel_pio4_direction_input() local
216 u32 mask = BIT(line); in atmel_pio4_direction_output() local
236 u32 mask = BIT(line); in atmel_pio4_get_value() local
247 u32 mask = BIT(line); in atmel_pio4_set_value() local
262 u32 mask = BIT(line); in atmel_pio4_get_function() local
A Dlpc32xx_gpio.c69 int port, mask; in lpc32xx_gpio_direction_input() local
111 int port, rank, mask, value; in lpc32xx_gpio_get_value() local
151 int port, mask; in gpio_set() local
185 int port, mask; in gpio_clr() local
233 int port, mask; in lpc32xx_gpio_direction_output() local
A Dgpio-uniphier.c42 unsigned int *bank, u32 *mask) in uniphier_gpio_get_bank_and_mask()
49 unsigned int reg, u32 mask, u32 val) in uniphier_gpio_reg_update()
60 unsigned int reg, u32 mask, u32 val) in uniphier_gpio_bank_write()
75 u32 mask; in uniphier_gpio_offset_write() local
87 u32 mask; in uniphier_gpio_offset_read() local
/u-boot/drivers/pinctrl/
A Dpinctrl-at91.c122 static void at91_mux_disable_interrupt(struct at91_port *pio, u32 mask) in at91_mux_disable_interrupt()
135 static void at91_mux_set_output(struct at91_port *pio, unsigned mask, in at91_mux_set_output()
147 static void at91_mux_set_A_periph(struct at91_port *pio, u32 mask) in at91_mux_set_A_periph()
152 static void at91_mux_set_B_periph(struct at91_port *pio, u32 mask) in at91_mux_set_B_periph()
187 u32 mask, bool is_on) in at91_mux_pio3_set_deglitch()
207 u32 mask, bool is_on) in at91_mux_pio3_set_pulldown()
216 u32 mask) in at91_mux_pio3_disable_schmitt_trig()
349 static void at91_mux_gpio_disable(struct at91_port *pio, u32 mask) in at91_mux_gpio_disable()
361 struct at91_port *pio, u32 mask, enum at91_mux mux) in at91_pmx_set()
394 u32 mask = BIT(pin); in at91_pinconf_set() local
[all …]
/u-boot/include/
A Dbitfield.h61 uint mask = bitfield_mask(shift, width); in bitfield_replace() local
67 static inline uint bitfield_shift(uint mask) in bitfield_shift()
73 static inline uint bitfield_extract_by_mask(uint reg_val, uint mask) in bitfield_extract_by_mask()
84 static inline uint bitfield_replace_by_mask(uint reg_val, uint mask, in bitfield_replace_by_mask()
A Dcpu_func.h23 static inline int cpumask_next(int cpu, unsigned int mask) in cpumask_next()
31 #define for_each_cpu(iter, cpu, num_cpus, mask) \ argument
/u-boot/arch/microblaze/include/asm/
A Dbitops.h39 int mask; in set_bit() local
52 int mask; in __set_bit() local
69 int mask; in clear_bit() local
84 int mask; in change_bit() local
97 int mask; in __change_bit() local
107 int mask, retval; in test_and_set_bit() local
123 int mask, retval; in __test_and_set_bit() local
135 int mask, retval; in test_and_clear_bit() local
151 int mask, retval; in __test_and_clear_bit() local
200 int mask; in __test_bit() local
[all …]
/u-boot/board/corscience/tricorder/
A Dled.c17 void __led_init(led_id_t mask, int state) in __led_init()
22 void __led_toggle(led_id_t mask) in __led_toggle()
51 void __led_set(led_id_t mask, int state) in __led_set()
/u-boot/arch/sh/include/asm/
A Dbitops.h16 int mask; in set_bit() local
34 int mask; in clear_bit() local
47 int mask; in change_bit() local
60 int mask, retval; in test_and_set_bit() local
76 int mask, retval; in test_and_clear_bit() local
92 int mask, retval; in test_and_change_bit() local
/u-boot/drivers/misc/
A Dgpio_led.c18 static int gpio_led_gpio_value(led_id_t mask, int state) in gpio_led_gpio_value()
30 void __led_init(led_id_t mask, int state) in __led_init()
43 void __led_set(led_id_t mask, int state) in __led_set()
50 void __led_toggle(led_id_t mask) in __led_toggle()
A Dpca9551_led.c67 u8 shift, buf, mask; in pca9551_led_set_state() local
125 void __led_set(led_id_t mask, int state) in __led_set()
133 void __led_toggle(led_id_t mask) in __led_toggle()
141 void __led_blink(led_id_t mask, int freq) in __led_blink()
/u-boot/arch/mips/include/asm/
A Dbitops.h201 int mask, retval; in __test_and_set_bit() local
253 int mask, retval; in __test_and_clear_bit() local
304 int mask, retval; in __test_and_change_bit() local
329 int mask; in set_bit() local
351 int mask; in __set_bit() local
371 int mask; in clear_bit() local
393 int mask; in change_bit() local
430 int mask, retval; in test_and_set_bit() local
455 int mask, retval; in __test_and_set_bit() local
476 int mask, retval; in test_and_clear_bit() local
[all …]
/u-boot/arch/nds32/include/asm/
A Dbitops.h40 int mask; in __set_bit() local
54 int mask; in __clear_bit() local
70 int mask; in __change_bit() local
82 int mask, retval; in __test_and_set_bit() local
96 int mask, retval; in __test_and_clear_bit() local
110 int mask, retval; in __test_and_change_bit() local
/u-boot/arch/riscv/include/asm/
A Dbitops.h38 int mask; in __set_bit() local
50 int mask; in __clear_bit() local
61 int mask; in __change_bit() local
71 int mask, retval; in __test_and_set_bit() local
83 int mask, retval; in __test_and_clear_bit() local
95 int mask, retval; in __test_and_change_bit() local
/u-boot/drivers/power/regulator/
A Drk8xx.c304 uint mask, value, en_reg; in _buck_set_enable() local
384 uint mask = 0; in _buck_get_enable() local
426 uint mask = 0; in _buck_set_suspend_enable() local
463 uint mask = 0; in _buck_get_suspend_enable() local
526 uint mask = 0; in _ldo_get_enable() local
625 uint mask; in _ldo_set_suspend_enable() local
662 uint mask; in _ldo_get_suspend_enable() local
893 uint mask = 0; in switch_set_enable() local
923 uint mask = 0; in switch_get_enable() local
960 uint mask = 0; in switch_set_suspend_enable() local
[all …]
/u-boot/arch/arm/cpu/arm920t/ep93xx/
A Dled.c51 void __led_init(led_id_t mask, int state) in __led_init()
56 void __led_toggle(led_id_t mask) in __led_toggle()
72 void __led_set(led_id_t mask, int state) in __led_set()
/u-boot/arch/arm/mach-zynq/include/mach/
A Dps7_init_gpl.h21 #define EMIT_MASKWRITE(addr, mask, val) OPCODE_MASKWRITE | addr, mask, val argument
22 #define EMIT_MASKPOLL(addr, mask) OPCODE_MASKPOLL | addr, mask argument
23 #define EMIT_MASKDELAY(addr, mask) OPCODE_MASKDELAY | addr, mask argument
/u-boot/arch/powerpc/include/asm/
A Dbitops.h34 unsigned long mask = 1 << (nr & 0x1f); in set_bit() local
51 unsigned long mask = 1 << (nr & 0x1f); in clear_bit() local
68 unsigned long mask = 1 << (nr & 0x1f); in change_bit() local
85 unsigned int mask = 1 << (nr & 0x1f); in test_and_set_bit() local
104 unsigned int mask = 1 << (nr & 0x1f); in test_and_clear_bit() local
123 unsigned int mask = 1 << (nr & 0x1f); in test_and_change_bit() local
287 int mask; in ext2_set_bit() local
300 int mask; in ext2_clear_bit() local
/u-boot/drivers/bios_emulator/x86emu/
A Dops2.c527 u32 srcval,mask; in x86emuOp2_bts_R() local
540 u16 srcval,mask; in x86emuOp2_bts_R() local
556 u32 mask; in x86emuOp2_bts_R() local
568 u16 mask; in x86emuOp2_bts_R() local
854 u32 srcval,mask; in x86emuOp2_btr_R() local
881 u32 mask; in x86emuOp2_btr_R() local
893 u16 mask; in x86emuOp2_btr_R() local
1149 u32 mask; in x86emuOp2_btX_I() local
1173 u16 mask; in x86emuOp2_btX_I() local
1245 u32 mask; in x86emuOp2_btc_R() local
[all …]

Completed in 33 milliseconds

12345678910>>...18