Searched refs:value (Results 1 – 8 of 8) sorted by relevance
| /platform/mediatek/common/gic/ |
| A D | mt_gic_v3.c | 109 unsigned int value; in mt_gic_redist_init() local 112 value = DRV_Reg32(GIC_REDIS_BASE + GIC_REDIS_WAKER); in mt_gic_redist_init() 113 value &= ~GICR_WAKER_ProcessorSleep; in mt_gic_redist_init() 114 DRV_WriteReg32(GIC_REDIS_BASE + GIC_REDIS_WAKER, value); in mt_gic_redist_init() 232 unsigned int value; in mt_irq_set_polarity() local 242 value = DRV_Reg32(INT_POL_CTL0 + (reg_index * 4)); in mt_irq_set_polarity() 243 value |= (1 << offset); // always invert the incoming IRQ's polarity in mt_irq_set_polarity() 244 DRV_WriteReg32((INT_POL_CTL0 + (reg_index * 4)), value); in mt_irq_set_polarity() 246 value = DRV_Reg32(INT_POL_CTL0 + (reg_index * 4)); in mt_irq_set_polarity() 247 value &= ~(0x1 << offset); in mt_irq_set_polarity() [all …]
|
| /platform/mediatek/mt6735/ |
| A D | interrupts.c | 176 unsigned int value; in mt_irq_set_polarity() local 186 value = DRV_Reg32(INT_POL_CTL0 + (reg_index * 4)); in mt_irq_set_polarity() 187 value |= (1 << offset); // always invert the incoming IRQ's polarity in mt_irq_set_polarity() 188 DRV_WriteReg32((INT_POL_CTL0 + (reg_index * 4)), value); in mt_irq_set_polarity() 190 value = DRV_Reg32(INT_POL_CTL0 + (reg_index * 4)); in mt_irq_set_polarity() 191 value &= ~(0x1 << offset); in mt_irq_set_polarity() 192 DRV_WriteReg32(INT_POL_CTL0 + (reg_index * 4), value); in mt_irq_set_polarity()
|
| /platform/bcm28xx/ |
| A D | mailbox.c | 37 static status_t mailbox_write(const enum mailbox_channel ch, uint32_t value) { in mailbox_write() argument 38 value = value | ch; in mailbox_write() 50 mailbox_regs[MAILBOX_WRITE] = value; in mailbox_write()
|
| /platform/pc/ |
| A D | ide.c | 182 static void ide_write_reg8(struct device *dev, int index, uint8_t value); 183 static void ide_write_reg16(struct device *dev, int index, uint16_t value); 184 static void ide_write_reg32(struct device *dev, int index, uint32_t value); 563 static void ide_write_reg8(struct device *dev, int index, uint8_t value) { in ide_write_reg8() argument 568 outp(state->regs[index], value); in ide_write_reg8() 576 outpw(state->regs[index], value); in ide_write_reg16() 584 outpd(state->regs[index], value); in ide_write_reg32() 684 uint8_t value; in ide_poll_status() local 688 value = ide_read_reg8(dev, IDE_REG_ALT_STATUS); in ide_poll_status() 690 if (value & IDE_DRV_ERR) { in ide_poll_status() [all …]
|
| /platform/lpc43xx/ |
| A D | udc-common.h | 46 uint16_t value; member
|
| A D | udc.c | 356 s.type, s.request, s.value, s.index, s.length); in handle_setup() 368 struct udc_descriptor *desc = udc_descriptor_find(s.value); in handle_setup() 378 if ((s.value == 0) && (s.index == 0) && (s.length == 1)) { in handle_setup() 384 if (s.value == 1) { in handle_setup() 400 usb->online = s.value ? 1 : 0; in handle_setup() 404 writel(((s.value & 0x7F) << 25) | (1 << 24), usb->base + USB_DEVICEADDR); in handle_setup() 414 if ((s.value != 0) || (s.length != 0)) { in handle_setup() 432 s.type, s.request, s.value, s.index, s.length); in handle_setup()
|
| /platform/stm32f0xx/ |
| A D | timer_capture.c | 363 uint64_t value = stm32_timer_calc_value(tc, sr, cnt); in stm32_timer_capture_get_counter() local 366 return value; in stm32_timer_capture_get_counter()
|
| /platform/cc13xx/include/platform/ |
| A D | ti-rf.h | 304 uint32_t value; member
|
Completed in 19 milliseconds