Searched refs:data_mask (Results 1 – 7 of 7) sorted by relevance
/arch/cris/arch-v32/drivers/mach-a3/ |
D | gpio.c | 89 unsigned char data_mask; member 310 unsigned char clk_mask, unsigned char data_mask) in gpio_write_bit() argument 315 shadow |= data_mask; in gpio_write_bit() 317 shadow &= ~data_mask; in gpio_write_bit() 332 priv->data_mask); in gpio_write_byte() 336 priv->data_mask); in gpio_write_byte() 364 if (priv->clk_mask == 0 || priv->data_mask == 0) in gpio_write() 369 count, priv->data_mask, priv->clk_mask, priv->write_msb)); in gpio_write() 404 priv->data_mask = 0; in gpio_open() 603 unsigned long dir_shadow, clk_mask, data_mask, write_msb; in gpio_ioctl_unlocked() local [all …]
|
/arch/cris/arch-v32/drivers/mach-fs/ |
D | gpio.c | 91 unsigned char data_mask; member 356 unsigned char data, clk_mask, data_mask, write_msb; in gpio_write() local 373 data_mask = priv->data_mask; in gpio_write() 376 if (clk_mask == 0 || data_mask == 0) in gpio_write() 380 "msb: %i\n", count, data_mask, clk_mask, write_msb)); in gpio_write() 392 *port = shadow |= data_mask; in gpio_write() 394 *port = shadow &= ~data_mask; in gpio_write() 405 *port = shadow |= data_mask; in gpio_write() 407 *port = shadow &= ~data_mask; in gpio_write() 440 priv->data_mask = 0; in gpio_open() [all …]
|
/arch/cris/include/uapi/asm/ |
D | etraxgpio.h | 128 #define IO_CFG_WRITE_MODE_VALUE(msb, data_mask, clk_mask) \ argument 129 ( (((msb)&1) << 16) | (((data_mask) &0xFF) << 8) | ((clk_mask) & 0xFF) )
|
/arch/cris/arch-v10/drivers/ |
D | gpio.c | 64 unsigned char data_mask; member 253 *priv->port = *priv->shadow |= priv->data_mask; in gpio_write_bit() 255 *priv->port = *priv->shadow &= ~(priv->data_mask); in gpio_write_bit() 290 if (priv->clk_mask == 0 || priv->data_mask == 0) { in gpio_write() 297 count, priv->data_mask, priv->clk_mask, priv->write_msb)); in gpio_write() 347 priv->data_mask = 0; in gpio_open() 630 priv->data_mask = (arg >> 8) & 0xFF; in gpio_ioctl() 636 (priv->data_mask & priv->changeable_bits) && in gpio_ioctl() 638 (priv->data_mask & *priv->dir_shadow))) in gpio_ioctl() 641 priv->data_mask = 0; in gpio_ioctl()
|
/arch/mips/lasat/ |
D | picvue.h | 10 u32 data_mask; member
|
D | picvue.c | 40 data &= ~picvue->data_mask; in pvc_write_byte() 55 byte = (pvc_reg_read() & picvue->data_mask) >> picvue->data_shift; in pvc_read_byte()
|
/arch/parisc/kernel/ |
D | perf.c | 673 uint64_t data, data_mask = 0; in perf_rdr_read_ubuf() local 689 data_mask = 1; in perf_rdr_read_ubuf() 690 data_mask <<= (64 - xbits); in perf_rdr_read_ubuf() 691 data_mask--; in perf_rdr_read_ubuf() 706 buffer[i-1] |= ((data >> xbits) & data_mask); in perf_rdr_read_ubuf()
|