Home
last modified time | relevance | path

Searched refs:GEN_MASK (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/i2c/busses/
Di2c-nomadik.c95 #define GEN_MASK(val, mask, sb) (((val) << (sb)) & (mask)) macro
289 mcr |= GEN_MASK(1, I2C_MCR_AM, 12); in load_i2c_mcr_reg()
290 mcr |= GEN_MASK(dev->cli.slave_adr, I2C_MCR_A7, 1); in load_i2c_mcr_reg()
293 mcr |= GEN_MASK(0, I2C_MCR_SB, 11); in load_i2c_mcr_reg()
297 mcr |= GEN_MASK(I2C_WRITE, I2C_MCR_OP, 0); in load_i2c_mcr_reg()
299 mcr |= GEN_MASK(I2C_READ, I2C_MCR_OP, 0); in load_i2c_mcr_reg()
303 mcr |= GEN_MASK(1, I2C_MCR_STOP, 14); in load_i2c_mcr_reg()
305 mcr &= ~(GEN_MASK(1, I2C_MCR_STOP, 14)); in load_i2c_mcr_reg()
307 mcr |= GEN_MASK(dev->cli.count, I2C_MCR_LENGTH, 15); in load_i2c_mcr_reg()
/linux-2.6.39/arch/alpha/kernel/
Derr_impl.h39 #define GEN_MASK(f) ((u64)f##__M << f##__S) macro
Derr_marvel.c386 uncrr_sym_valid |= GEN_MASK(IO7__PO7_UNCRR_SYM__DETECT_SP); in marvel_print_po7_err_sum()
393 uncrr_sym_valid |= GEN_MASK(IO7__PO7_UNCRR_SYM__STRV_VTR); in marvel_print_po7_err_sum()
397 uncrr_sym_valid |= GEN_MASK(IO7__PO7_UNCRR_SYM__DETECT_SP); in marvel_print_po7_err_sum()
414 uncrr_sym_valid |= GEN_MASK(IO7__PO7_UNCRR_SYM__VICTIM_SP); in marvel_print_po7_err_sum()
670 #define IO7__POX_ERRSUM__UPE_ERROR GEN_MASK(IO7__POX_ERRSUM__UPE_ERROR) in marvel_print_pox_err()