Searched refs:reg_mask (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x_init.h | 227 } reg_mask; /* Register mask (all valid bits) */ member 324 return bnx2x_blocks_parity_data[idx].reg_mask.e1; in bnx2x_parity_reg_mask() 326 return bnx2x_blocks_parity_data[idx].reg_mask.e1h; in bnx2x_parity_reg_mask() 328 return bnx2x_blocks_parity_data[idx].reg_mask.e2; in bnx2x_parity_reg_mask() 370 u32 reg_mask = bnx2x_parity_reg_mask(bp, i); in bnx2x_clear_blocks_parity() local 372 if (reg_mask) { in bnx2x_clear_blocks_parity() 375 if (reg_val & reg_mask) in bnx2x_clear_blocks_parity() 379 reg_val & reg_mask); in bnx2x_clear_blocks_parity() 403 u32 reg_mask = bnx2x_parity_reg_mask(bp, i); in bnx2x_enable_blocks_parity() local 405 if (reg_mask) in bnx2x_enable_blocks_parity() [all …]
|
/linux-2.6.39/drivers/mfd/ |
D | htc-egpio.c | 37 int reg_mask; member 203 reg, (egpio->cached_values >> shift) & ei->reg_mask); in egpio_set() 210 egpio_writew((egpio->cached_values >> shift) & ei->reg_mask, ei, reg); in egpio_set() 244 if (!((egpio->is_out >> shift) & ei->reg_mask)) in egpio_write_cache() 248 (egpio->cached_values >> shift) & ei->reg_mask, in egpio_write_cache() 252 & ei->reg_mask, ei, reg); in egpio_write_cache() 304 ei->reg_mask = (1 << pdata->reg_width) - 1; in egpio_probe()
|
/linux-2.6.39/include/sound/ |
D | pcm_oss.h | 86 unsigned int reg_mask; member
|
/linux-2.6.39/arch/arm/mach-tegra/ |
D | clock.h | 120 u32 reg_mask; member
|
/linux-2.6.39/drivers/video/via/ |
D | hw.c | 1199 int reg_mask; in viafb_load_reg() local 1208 reg_mask = 0; in viafb_load_reg() 1217 reg_mask = reg_mask | (BIT0 << j); in viafb_load_reg() 1224 viafb_write_reg_mask(cr_index, VIACR, data, reg_mask); in viafb_load_reg() 1226 viafb_write_reg_mask(cr_index, VIASR, data, reg_mask); in viafb_load_reg()
|
/linux-2.6.39/drivers/hwmon/ |
D | adt7470.c | 360 int reg_mask; in adt7470_update_device() local 366 reg_mask = ADT7470_PWM2_AUTO_MASK; in adt7470_update_device() 368 reg_mask = ADT7470_PWM1_AUTO_MASK; in adt7470_update_device() 371 if (i2c_smbus_read_byte_data(client, reg) & reg_mask) in adt7470_update_device()
|
/linux-2.6.39/sound/core/oss/ |
D | pcm_oss.c | 3030 pcm->oss.reg_mask |= 1; in snd_pcm_oss_register_minor() 3035 pcm->oss.reg_mask |= 2; in snd_pcm_oss_register_minor() 3047 if (pcm->oss.reg_mask & 1) { in snd_pcm_oss_disconnect_minor() 3048 pcm->oss.reg_mask &= ~1; in snd_pcm_oss_disconnect_minor() 3052 if (pcm->oss.reg_mask & 2) { in snd_pcm_oss_disconnect_minor() 3053 pcm->oss.reg_mask &= ~2; in snd_pcm_oss_disconnect_minor()
|