Searched refs:GEN_MASK (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-nomadik.c | 92 #define GEN_MASK(val, mask, sb) (((val) << (sb)) & (mask)) macro 305 mcr |= GEN_MASK(dev->cli.slave_adr, I2C_MCR_A7, 1); in load_i2c_mcr_reg() 309 mcr |= GEN_MASK(2, I2C_MCR_AM, 12); in load_i2c_mcr_reg() 318 mcr |= GEN_MASK(slave_adr_3msb_bits, I2C_MCR_EA10, 8); in load_i2c_mcr_reg() 321 mcr |= GEN_MASK(1, I2C_MCR_AM, 12); in load_i2c_mcr_reg() 325 mcr |= GEN_MASK(0, I2C_MCR_SB, 11); in load_i2c_mcr_reg() 329 mcr |= GEN_MASK(I2C_WRITE, I2C_MCR_OP, 0); in load_i2c_mcr_reg() 331 mcr |= GEN_MASK(I2C_READ, I2C_MCR_OP, 0); in load_i2c_mcr_reg() 335 mcr |= GEN_MASK(1, I2C_MCR_STOP, 14); in load_i2c_mcr_reg() 337 mcr &= ~(GEN_MASK(1, I2C_MCR_STOP, 14)); in load_i2c_mcr_reg() [all …]
|
/Linux-v5.10/arch/alpha/kernel/ |
D | err_impl.h | 42 #define GEN_MASK(f) ((u64)f##__M << f##__S) macro
|
D | err_marvel.c | 387 uncrr_sym_valid |= GEN_MASK(IO7__PO7_UNCRR_SYM__DETECT_SP); in marvel_print_po7_err_sum() 394 uncrr_sym_valid |= GEN_MASK(IO7__PO7_UNCRR_SYM__STRV_VTR); in marvel_print_po7_err_sum() 398 uncrr_sym_valid |= GEN_MASK(IO7__PO7_UNCRR_SYM__DETECT_SP); in marvel_print_po7_err_sum() 415 uncrr_sym_valid |= GEN_MASK(IO7__PO7_UNCRR_SYM__VICTIM_SP); in marvel_print_po7_err_sum() 671 #define IO7__POX_ERRSUM__UPE_ERROR GEN_MASK(IO7__POX_ERRSUM__UPE_ERROR) in marvel_print_pox_err()
|