Home
last modified time | relevance | path

Searched defs:idx (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/drivers/net/ibm_newemac/
Drgmii.c37 #define RGMII_FER_MASK(idx) (0x7 << ((idx) * 4)) argument
38 #define RGMII_FER_RTBI(idx) (0x4 << ((idx) * 4)) argument
39 #define RGMII_FER_RGMII(idx) (0x5 << ((idx) * 4)) argument
40 #define RGMII_FER_TBI(idx) (0x6 << ((idx) * 4)) argument
41 #define RGMII_FER_GMII(idx) (0x7 << ((idx) * 4)) argument
42 #define RGMII_FER_MII(idx) RGMII_FER_GMII(idx) argument
45 #define RGMII_SSR_MASK(idx) (0x7 << ((idx) * 8)) argument
46 #define RGMII_SSR_100(idx) (0x2 << ((idx) * 8)) argument
47 #define RGMII_SSR_1000(idx) (0x4 << ((idx) * 8)) argument
Dzmii.c32 #define ZMII_FER_MDI(idx) (0x80000000 >> ((idx) * 4)) argument
36 #define ZMII_FER_SMII(idx) (0x40000000 >> ((idx) * 4)) argument
37 #define ZMII_FER_RMII(idx) (0x20000000 >> ((idx) * 4)) argument
38 #define ZMII_FER_MII(idx) (0x10000000 >> ((idx) * 4)) argument
41 #define ZMII_SSR_SCI(idx) (0x40000000 >> ((idx) * 4)) argument
42 #define ZMII_SSR_FSS(idx) (0x20000000 >> ((idx) * 4)) argument
43 #define ZMII_SSR_SP(idx) (0x10000000 >> ((idx) * 4)) argument
/drivers/net/chelsio/
Dfpga_defs.h214 #define MAC_REG_ADDR(idx, reg) (MAC_REG_BASE + (idx) * 128 + (reg)) argument
216 #define MAC_REG_IDLO(idx) MAC_REG_ADDR(idx, A_GMAC_MACID_LO) argument
217 #define MAC_REG_IDHI(idx) MAC_REG_ADDR(idx, A_GMAC_MACID_HI) argument
218 #define MAC_REG_CSR(idx) MAC_REG_ADDR(idx, A_GMAC_CSR) argument
219 #define MAC_REG_IFS(idx) MAC_REG_ADDR(idx, A_GMAC_IFS) argument
220 #define MAC_REG_LARGEFRAMELENGTH(idx) MAC_REG_ADDR(idx, A_GMAC_JUMBO_FRAME_LEN) argument
221 #define MAC_REG_LINKDLY(idx) MAC_REG_ADDR(idx, A_GMAC_LNK_DLY) argument
222 #define MAC_REG_PAUSETIME(idx) MAC_REG_ADDR(idx, A_GMAC_PAUSETIME) argument
223 #define MAC_REG_CASTLO(idx) MAC_REG_ADDR(idx, A_GMAC_MCAST_LO) argument
224 #define MAC_REG_MCASTHI(idx) MAC_REG_ADDR(idx, A_GMAC_MCAST_HI) argument
[all …]
/drivers/hwmon/
Dadt7475.c96 #define TACH_REG(idx) (REG_TACH_BASE + ((idx) * 2)) argument
97 #define TACH_MIN_REG(idx) (REG_TACH_MIN_BASE + ((idx) * 2)) argument
99 #define PWM_REG(idx) (REG_PWM_BASE + (idx)) argument
100 #define PWM_MAX_REG(idx) (REG_PWM_MAX_BASE + (idx)) argument
101 #define PWM_MIN_REG(idx) (REG_PWM_MIN_BASE + (idx)) argument
102 #define PWM_CONFIG_REG(idx) (REG_PWM_CONFIG_BASE + (idx)) argument
104 #define VOLTAGE_REG(idx) (REG_VOLTAGE_BASE + (idx)) argument
105 #define VOLTAGE_MIN_REG(idx) (REG_VOLTAGE_MIN_BASE + ((idx) * 2)) argument
106 #define VOLTAGE_MAX_REG(idx) (REG_VOLTAGE_MAX_BASE + ((idx) * 2)) argument
108 #define TEMP_REG(idx) (REG_TEMP_BASE + (idx)) argument
[all …]
/drivers/pnp/
Dmanager.c22 static int pnp_assign_port(struct pnp_dev *dev, struct pnp_port *rule, int idx) in pnp_assign_port()
65 static int pnp_assign_mem(struct pnp_dev *dev, struct pnp_mem *rule, int idx) in pnp_assign_mem()
117 static int pnp_assign_irq(struct pnp_dev *dev, struct pnp_irq *rule, int idx) in pnp_assign_irq()
175 static int pnp_assign_dma(struct pnp_dev *dev, struct pnp_dma *rule, int idx) in pnp_assign_dma()
/drivers/media/video/pvrusb2/
Dpvrusb2-encoder.c44 unsigned int idx,addr; in pvr2_encoder_write_words() local
90 unsigned int idx; in pvr2_encoder_read_words() local
151 unsigned int idx; in pvr2_encoder_cmd() local
319 unsigned int idx; in pvr2_encoder_vcmd() local
Dpvrusb2-std.c123 unsigned int idx; in find_std_name() local
285 unsigned int idx; in match_std() local
297 int idx; in pvr2_std_fill() local
325 unsigned int idx,bcnt,idx2; in pvr2_std_create_enum() local
Dpvrusb2-ioread.c55 unsigned int idx; in pvr2_ioread_init() local
78 unsigned int idx; in pvr2_ioread_done() local
205 unsigned int idx; in pvr2_ioread_setup() local
308 unsigned int idx; in pvr2_ioread_filter() local
Dpvrusb2-hdw.c1338 unsigned int idx; in pvr2_locate_firmware() local
1894 unsigned int idx; in pvr2_hdw_setup_std() local
1933 unsigned int idx; in pvr2_hdw_setup_low() local
2170 unsigned int idx,cnt1,cnt2,m; in pvr2_hdw_create() local
2526 unsigned int idx; in pvr2_hdw_internal_find_stdenum() local
2543 unsigned int idx; in pvr2_hdw_internal_set_std_avail() local
2580 unsigned int idx) in pvr2_hdw_get_stdenum_value()
2603 unsigned int idx) in pvr2_hdw_get_ctrl_by_index()
2615 unsigned int idx; in pvr2_hdw_get_ctrl_by_id() local
2632 unsigned int idx; in pvr2_hdw_get_ctrl_v4l() local
[all …]
/drivers/net/phy/
Dphy.c176 int idx = 0; in phy_find_setting() local
196 static inline int phy_find_valid(int idx, u32 features) in phy_find_valid()
215 int idx; in phy_sanitize_settings() local
476 int idx; in phy_force_reduction() local
820 int idx; in phy_state_machine() local
/drivers/staging/agnx/
Dxmit.c62 static inline void rx_desc_init(struct agnx_priv *priv, unsigned int idx) in rx_desc_init()
82 static inline void rx_desc_reinit(struct agnx_priv *priv, unsigned int idx) in rx_desc_reinit()
91 static inline void rx_desc_reusing(struct agnx_priv *priv, unsigned int idx) in rx_desc_reusing()
102 static void rx_desc_free(struct agnx_priv *priv, unsigned int idx) in rx_desc_free()
131 static void txm_desc_free(struct agnx_priv *priv, unsigned int idx) in txm_desc_free()
139 static void txd_desc_free(struct agnx_priv *priv, unsigned int idx) in txd_desc_free()
398 unsigned int idx; in handle_tx_irq() local
/drivers/media/dvb/dvb-core/
Ddvb_ringbuffer.c182 ssize_t dvb_ringbuffer_pkt_read_user(struct dvb_ringbuffer *rbuf, size_t idx, in dvb_ringbuffer_pkt_read_user()
210 ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx, in dvb_ringbuffer_pkt_read()
235 void dvb_ringbuffer_pkt_dispose(struct dvb_ringbuffer *rbuf, size_t idx) in dvb_ringbuffer_pkt_dispose()
254 ssize_t dvb_ringbuffer_pkt_next(struct dvb_ringbuffer *rbuf, size_t idx, size_t* pktlen) in dvb_ringbuffer_pkt_next()
/drivers/isdn/hisax/
Davm_pci.c79 register u_char idx = (offset > 0x2f) ? AVM_ISAC_REG_HIGH : AVM_ISAC_REG_LOW; in ReadISAC() local
90 register u_char idx = (offset > 0x2f) ? AVM_ISAC_REG_HIGH : AVM_ISAC_REG_LOW; in WriteISAC() local
113 register u_int idx = chan ? AVM_HDLC_2 : AVM_HDLC_1; in ReadHDLCPCI() local
124 register u_int idx = chan ? AVM_HDLC_2 : AVM_HDLC_1; in WriteHDLCPCI() local
133 register u_char idx = chan ? AVM_HDLC_2 : AVM_HDLC_1; in ReadHDLCPnP() local
144 register u_char idx = chan ? AVM_HDLC_2 : AVM_HDLC_1; in WriteHDLCPnP() local
248 u_char idx = bcs->channel ? AVM_HDLC_2 : AVM_HDLC_1; in hdlc_empty_fifo() local
Dhisax_fcpcipnp.c154 unsigned char idx = (offset > 0x2f) ? in fcpci_read_isac() local
172 unsigned char idx = (offset > 0x2f) ? in fcpci_write_isac() local
211 int idx = nr ? AVM_IDX_HDLC_2 : AVM_IDX_HDLC_1; in fcpci_read_hdlc_status() local
224 int idx = bcs->channel ? AVM_IDX_HDLC_2 : AVM_IDX_HDLC_1; in __fcpci_write_ctrl() local
327 unsigned char idx = nr ? AVM_IDX_HDLC_2 : AVM_IDX_HDLC_1; in fcpnp_read_hdlc_status() local
343 unsigned char idx = bcs->channel ? AVM_IDX_HDLC_2 : AVM_IDX_HDLC_1; in __fcpnp_write_ctrl() local
435 unsigned char idx = bcs->channel ? AVM_IDX_HDLC_2 : AVM_IDX_HDLC_1; in hdlc_empty_fifo() local
/drivers/pci/
Dhtirq.c31 unsigned idx; member
93 int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update) in __ht_create_irq()
154 int ht_create_irq(struct pci_dev *dev, int idx) in ht_create_irq()
/drivers/serial/
D68360serial.c328 int idx; in rs_360_stop() local
353 int idx; in rs_360_start() local
619 int idx; in rs_360_interrupt() local
708 int idx; in startup() local
803 int idx; in shutdown() local
860 int i, bits, sbits, idx; in change_speed() local
1335 int idx; in begin_break() local
1353 int idx; in end_break() local
1580 int idx; in rs_360_close() local
2085 static void my_console_write(int idx, const char *s, in my_console_write()
[all …]
D8250_pci.c112 struct uart_port *port, int idx) in addidata_apci7800_setup()
139 struct uart_port *port, int idx) in afavlab_setup()
194 struct uart_port *port, int idx) in pci_hp_diva_setup()
312 struct uart_port *port, int idx) in sbs_setup()
469 struct uart_port *port, int idx) in pci_siig_setup()
541 struct uart_port *port, int idx) in pci_timedia_setup()
575 struct uart_port *port, int idx) in titan_400l_800l_setup()
782 struct uart_port *port, int idx) in pci_default_setup()
803 struct uart_port *port, int idx) in skip_tx_en_setup()
/drivers/scsi/cxgb3i/
Dcxgb3i_ddp.c88 unsigned int idx, unsigned int npods, in set_ddp_map()
116 static int clear_ddp_map(struct cxgb3i_ddp_info *ddp, unsigned int idx, in clear_ddp_map()
168 int idx, int count) in ddp_free_gl_skb()
179 static inline int ddp_alloc_gl_skb(struct cxgb3i_ddp_info *ddp, int idx, in ddp_alloc_gl_skb()
373 int idx = -1, idx_max; in cxgb3i_ddp_tag_reserve() local
445 u32 idx; in cxgb3i_ddp_tag_release() local
/drivers/mfd/
Ducb1x00-core.c242 int ucb1x00_hook_irq(struct ucb1x00 *ucb, unsigned int idx, void (*fn)(int, void *), void *devid) in ucb1x00_hook_irq()
272 void ucb1x00_enable_irq(struct ucb1x00 *ucb, unsigned int idx, int edges) in ucb1x00_enable_irq()
301 void ucb1x00_disable_irq(struct ucb1x00 *ucb, unsigned int idx, int edges) in ucb1x00_disable_irq()
335 int ucb1x00_free_irq(struct ucb1x00 *ucb, unsigned int idx, void *devid) in ucb1x00_free_irq()
/drivers/net/wireless/p54/
Dp54pci.c131 u32 limit, idx, i; in p54p_refill_rx_ring() local
176 u32 idx, i; in p54p_check_rx_ring() local
222 u32 idx, i; in p54p_check_tx_ring() local
310 u32 device_idx, idx, i; in p54p_tx() local
/drivers/net/wireless/rtl818x/
Drtl8187.h126 u8 *addr, u8 idx) in rtl818x_ioread8_idx()
144 __le16 *addr, u8 idx) in rtl818x_ioread16_idx()
162 __le32 *addr, u8 idx) in rtl818x_ioread32_idx()
180 u8 *addr, u8 val, u8 idx) in rtl818x_iowrite8_idx()
194 __le16 *addr, u16 val, u8 idx) in rtl818x_iowrite16_idx()
211 __le32 *addr, u32 val, u8 idx) in rtl818x_iowrite32_idx()
/drivers/isdn/i4l/
Disdn_audio.h24 int idx; member
30 unsigned int idx; member
/drivers/mtd/maps/
Dtqm8xxl.c114 int idx = 0, ret = 0; in init_tqm_mtd() local
236 unsigned int idx = 0; in cleanup_tqm_mtd() local
/drivers/char/
Dpty.c280 int idx = tty->index; in pty_install() local
506 struct inode *ptm_inode, int idx) in ptm_unix98_lookup()
524 struct inode *pts_inode, int idx) in pts_unix98_lookup()
545 int idx = tty->index; in pty_unix98_install() local
/drivers/media/video/ivtv/
Divtv-irq.c108 int idx = s->sg_pending_size; in stream_enc_dma_append() local
321 int idx = 0; in ivtv_dma_stream_dec_prepare() local
932 int idx = (i + itv->irq_rr_idx) % IVTV_MAX_STREAMS; in ivtv_irq_handler() local
951 int idx = (i + itv->irq_rr_idx) % IVTV_MAX_STREAMS; in ivtv_irq_handler() local

12345678910>>...16