Home
last modified time | relevance | path

Searched defs:_ch (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/pwm/
H A Dpwm-lpc18xx-sct.c45 #define LPC18XX_PWM_RES_SHIFT(_ch) (_ch * 2) argument
46 #define LPC18XX_PWM_RES(_ch, _action) (_action << LPC18XX_PWM_RES_SHIFT(_ch)) argument
47 #define LPC18XX_PWM_RES_MASK(_ch) (0x3 << LPC18XX_PWM_RES_SHIFT(_ch)) argument
50 #define LPC18XX_PWM_MATCH(_ch) (LPC18XX_PWM_MATCH_BASE + _ch * 4) argument
53 #define LPC18XX_PWM_MATCHREL(_ch) (LPC18XX_PWM_MATCHREL_BASE + _ch * 4) argument
56 #define LPC18XX_PWM_EVSTATEMSK(_ch) (LPC18XX_PWM_EVSTATEMSK_BASE + _ch * 8) argument
62 #define LPC18XX_PWM_EVCTRL_MATCH(_ch) _ch argument
68 #define LPC18XX_PWM_OUTPUTSET(_ch) (LPC18XX_PWM_OUTPUTSET_BASE + _ch * 8) argument
71 #define LPC18XX_PWM_OUTPUTCL(_ch) (LPC18XX_PWM_OUTPUTCL_BASE + _ch * 8) argument
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945.h471 #define FH39_TFDB(_ch, buf) (FH39_TFDB_TBL + \ argument
476 #define FH39_CBCC(_ch) (FH39_CBCC_TBL + (_ch) * 0x8) argument
477 #define FH39_CBCC_CTRL(_ch) (FH39_CBCC(_ch) + 0x00) argument
478 #define FH39_CBCC_BASE(_ch) (FH39_CBCC(_ch) + 0x04) argument
481 #define FH39_RCSR(_ch) (FH39_RCSR_TBL + (_ch) * 0x40) argument
482 #define FH39_RCSR_CONFIG(_ch) (FH39_RCSR(_ch) + 0x00) argument
484 #define FH39_RCSR_WPTR(_ch) (FH39_RCSR(_ch) + 0x20) argument
494 #define FH39_TCSR(_ch) (FH39_TCSR_TBL + (_ch) * 0x20) argument
495 #define FH39_TCSR_CONFIG(_ch) (FH39_TCSR(_ch) + 0x00) argument
496 #define FH39_TCSR_CREDIT(_ch) (FH39_TCSR(_ch) + 0x04) argument
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dpeb2466.c81 #define PEB2466_CR0(_ch) PEB2466_MAKE_SOP(_ch, 0x0) argument
91 #define PEB2466_CR1(_ch) PEB2466_MAKE_SOP(_ch, 0x1) argument
101 #define PEB2466_CR2(_ch) PEB2466_MAKE_SOP(_ch, 0x2) argument
102 #define PEB2466_CR3(_ch) PEB2466_MAKE_SOP(_ch, 0x3) argument
103 #define PEB2466_CR4(_ch) PEB2466_MAKE_SOP(_ch, 0x4) argument
104 #define PEB2466_CR5(_ch) PEB2466_MAKE_SOP(_ch, 0x5) argument
127 #define PEB2466_FRX_FILTER(_ch) PEB2466_MAKE_COP(_ch, 0x6) argument
129 #define PEB2466_AX_FILTER(_ch) PEB2466_MAKE_COP(_ch, 0x8) argument
130 #define PEB2466_AR_FILTER(_ch) PEB2466_MAKE_COP(_ch, 0x9) argument
131 #define PEB2466_TG1(_ch) PEB2466_MAKE_COP(_ch, 0xc) argument
[all …]
H A Didt821034.c111 #define IDT821034_MODE_CODEC(_ch) (0x80 | ((_ch) << 2)) argument
112 #define IDT821034_MODE_SLIC(_ch) (0xD0 | ((_ch) << 2)) argument
113 #define IDT821034_MODE_GAIN(_ch) (0xC0 | ((_ch) << 2)) argument
393 #define IDT821034_ID(_ch, _dir) (((_ch) & 0x03) | (_dir)) argument
394 #define IDT821034_ID_OUT(_ch) IDT821034_ID(_ch, IDT821034_DIR_OUT) argument
395 #define IDT821034_ID_IN(_ch) IDT821034_ID(_ch, IDT821034_DIR_IN) argument
/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.h136 #define hcchar(_ch) hreg1[((_ch) << 3) + 0] /* 500, 520, ... */ argument
137 #define hcsplt(_ch) hreg1[((_ch) << 3) + 1] /* 504, 524, ... */ argument
138 #define hcint(_ch) hreg1[((_ch) << 3) + 2] /* 508, 528, ... */ argument
139 #define hcintmsk(_ch) hreg1[((_ch) << 3) + 3] /* 50c, 52c, ... */ argument
140 #define hctsiz(_ch) hreg1[((_ch) << 3) + 4] /* 510, 530, ... */ argument
141 #define hcdma(_ch) hreg1[((_ch) << 3) + 5] /* 514, 534, ... */ argument
142 #define hcdmab(_ch) hreg1[((_ch) << 3) + 7] /* 51c, 53c, ... */ argument
/openbmc/linux/drivers/iio/adc/
H A Dmp2629_adc.c32 #define MP2629_ADC_CHAN(_ch, _type) { \ argument
/openbmc/qemu/include/hw/usb/
H A Ddwc2-regs.h755 #define HCCHAR(_ch) HSOTG_REG(0x0500 + 0x20 * (_ch)) argument
772 #define HCSPLT(_ch) HSOTG_REG(0x0504 + 0x20 * (_ch)) argument
786 #define HCINT(_ch) HSOTG_REG(0x0508 + 0x20 * (_ch)) argument
787 #define HCINTMSK(_ch) HSOTG_REG(0x050c + 0x20 * (_ch)) argument
804 #define HCTSIZ(_ch) HSOTG_REG(0x0510 + 0x20 * (_ch)) argument
822 #define HCDMA(_ch) HSOTG_REG(0x0514 + 0x20 * (_ch)) argument
824 #define HCDMAB(_ch) HSOTG_REG(0x051c + 0x20 * (_ch)) argument
826 #define HCFIFO(_ch) HSOTG_REG(0x1000 + 0x1000 * (_ch)) argument
/openbmc/linux/drivers/usb/dwc2/
H A Dhw.h731 #define HCCHAR(_ch) HSOTG_REG(0x0500 + 0x20 * (_ch)) argument
748 #define HCSPLT(_ch) HSOTG_REG(0x0504 + 0x20 * (_ch)) argument
762 #define HCINT(_ch) HSOTG_REG(0x0508 + 0x20 * (_ch)) argument
763 #define HCINTMSK(_ch) HSOTG_REG(0x050c + 0x20 * (_ch)) argument
780 #define HCTSIZ(_ch) HSOTG_REG(0x0510 + 0x20 * (_ch)) argument
798 #define HCDMA(_ch) HSOTG_REG(0x0514 + 0x20 * (_ch)) argument
800 #define HCDMAB(_ch) HSOTG_REG(0x051c + 0x20 * (_ch)) argument
802 #define HCFIFO(_ch) HSOTG_REG(0x1000 + 0x1000 * (_ch)) argument
/openbmc/linux/drivers/dma/dw-edma/
H A Ddw-hdma-v0-debugfs.c23 #define REGS_CH_ADDR(dw, name, _dir, _ch) \ argument
H A Ddw-edma-v0-debugfs.c23 #define REGS_CH_ADDR(dw, name, _dir, _ch) \ argument
/openbmc/linux/drivers/iio/light/
H A Dsi1145.c850 #define SI1145_PROXIMITY_CHANNEL(_si, _ch) { \ argument
872 #define SI1145_CURRENT_CHANNEL(_ch) { \ argument
H A Dsi1133.c468 #define SI1133_CHANNEL(_ch, _type) \ argument
/openbmc/linux/drivers/hwmon/
H A Dbt1-pvt.h160 #define PVT_SENSOR_INFO(_ch, _label, _type, _mode, _thres) \ argument
/openbmc/linux/drivers/phy/renesas/
H A Dphy-rcar-gen3-usb2.c415 static irqreturn_t rcar_gen3_phy_usb2_irq(int irq, void *_ch) in rcar_gen3_phy_usb2_irq()
/openbmc/linux/net/sctp/
H A Dinput.c682 struct sctp_chunkhdr *ch, _ch; in sctp_rcv_ootb() local
/openbmc/linux/drivers/misc/sgi-xp/
H A Dxpc.h691 #define XPC_DISCONNECT_CHANNEL(_ch, _reason, _irqflgs) \ argument