Home
last modified time | relevance | path

Searched refs:_ch (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/
D3945.h471 #define FH39_TFDB(_ch, buf) (FH39_TFDB_TBL + \ argument
472 ((_ch) * 2 + (buf)) * 0x28)
473 #define FH39_TFDB_CHNL_BUF_CTRL_REG(_ch) (FH39_TFDB_TBL + 0x50 * (_ch)) 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
483 #define FH39_RCSR_RBD_BASE(_ch) (FH39_RCSR(_ch) + 0x04) argument
484 #define FH39_RCSR_WPTR(_ch) (FH39_RCSR(_ch) + 0x20) argument
[all …]
/linux-6.6.21/drivers/pwm/
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
/linux-6.6.21/drivers/usb/dwc2/
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
/linux-6.6.21/sound/soc/codecs/
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
122 #define PEB2466_TH_FILTER_P1(_ch) PEB2466_MAKE_COP(_ch, 0x0) argument
123 #define PEB2466_TH_FILTER_P2(_ch) PEB2466_MAKE_COP(_ch, 0x1) argument
124 #define PEB2466_TH_FILTER_P3(_ch) PEB2466_MAKE_COP(_ch, 0x2) argument
125 #define PEB2466_IMR1_FILTER_P1(_ch) PEB2466_MAKE_COP(_ch, 0x4) argument
[all …]
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
/linux-6.6.21/drivers/iio/adc/
Dmp2629_adc.c32 #define MP2629_ADC_CHAN(_ch, _type) { \ argument
35 .datasheet_name = #_ch, \
36 .channel = MP2629_ ## _ch, \
37 .address = MP2629_REG_ ## _ch, \
/linux-6.6.21/drivers/dma/dw-edma/
Ddw-hdma-v0-debugfs.c23 #define REGS_CH_ADDR(dw, name, _dir, _ch) \ argument
28 __ch_regs = REGS_ADDR(dw, ch[_ch].rd); \
30 __ch_regs = REGS_ADDR(dw, ch[_ch].wr); \
Ddw-edma-v0-debugfs.c23 #define REGS_CH_ADDR(dw, name, _dir, _ch) \ argument
30 __ch_regs = REGS_ADDR(dw, type.unroll.ch[_ch].rd); \
32 __ch_regs = REGS_ADDR(dw, type.unroll.ch[_ch].wr); \
/linux-6.6.21/drivers/hwmon/
Dbt1-pvt.h160 #define PVT_SENSOR_INFO(_ch, _label, _type, _mode, _thres) \ argument
162 .channel = _ch, \
/linux-6.6.21/drivers/iio/light/
Dsi1145.c850 #define SI1145_PROXIMITY_CHANNEL(_si, _ch) { \ argument
853 .channel = _ch, \
860 .address = SI1145_REG_PS1_DATA + _ch * 2, \
872 #define SI1145_CURRENT_CHANNEL(_ch) { \ argument
875 .channel = _ch, \
Dsi1133.c468 #define SI1133_CHANNEL(_ch, _type) \ argument
470 .channel = _ch, \
/linux-6.6.21/drivers/misc/sgi-xp/
Dxpc.h691 #define XPC_DISCONNECT_CHANNEL(_ch, _reason, _irqflgs) \ argument
692 xpc_disconnect_channel(__LINE__, _ch, _reason, _irqflgs)
/linux-6.6.21/net/sctp/
Dinput.c682 struct sctp_chunkhdr *ch, _ch; in sctp_rcv_ootb() local
688 if (offset + sizeof(_ch) > skb->len) in sctp_rcv_ootb()
691 ch = skb_header_pointer(skb, offset, sizeof(*ch), &_ch); in sctp_rcv_ootb()
694 if (!ch || ntohs(ch->length) < sizeof(_ch)) in sctp_rcv_ootb()
/linux-6.6.21/drivers/phy/renesas/
Dphy-rcar-gen3-usb2.c415 static irqreturn_t rcar_gen3_phy_usb2_irq(int irq, void *_ch) in rcar_gen3_phy_usb2_irq() argument
417 struct rcar_gen3_chan *ch = _ch; in rcar_gen3_phy_usb2_irq()