Home
last modified time | relevance | path

Searched refs:rm (Results 1 – 24 of 24) sorted by relevance

/drivers/macintosh/
Drack-meter.c54 struct rackmeter *rm; member
97 static void rackmeter_setup_i2s(struct rackmeter *rm) in rackmeter_setup_i2s() argument
99 struct macio_chip *macio = rm->mdev->bus->chip; in rackmeter_setup_i2s()
108 pmac_call_feature(PMAC_FTR_SOUND_CHIP_ENABLE, rm->i2s, 0, 1); in rackmeter_setup_i2s()
123 out_le32(rm->i2s_regs + 0x10, 0x01fa0000); in rackmeter_setup_i2s()
124 (void)in_le32(rm->i2s_regs + 0x10); in rackmeter_setup_i2s()
134 static void rackmeter_set_default_pattern(struct rackmeter *rm) in rackmeter_set_default_pattern() argument
140 rm->ubuf[i] = (i & 1) * 255; in rackmeter_set_default_pattern()
142 rm->ubuf[i] = ((~i) & 1) * 255; in rackmeter_set_default_pattern()
146 static void rackmeter_do_pause(struct rackmeter *rm, int pause) in rackmeter_do_pause() argument
[all …]
/drivers/net/ethernet/chelsio/cxgb/
Dcommon.h75 #define t1_rx_mode_promisc(rm) (rm->dev->flags & IFF_PROMISC) argument
76 #define t1_rx_mode_allmulti(rm) (rm->dev->flags & IFF_ALLMULTI) argument
77 #define t1_rx_mode_mc_cnt(rm) (netdev_mc_count(rm->dev)) argument
78 #define t1_get_netdev(rm) (rm->dev) argument
Dpm3393.c351 static int pm3393_set_rx_mode(struct cmac *cmac, struct t1_rx_mode *rm) in pm3393_set_rx_mode() argument
366 if (t1_rx_mode_promisc(rm)) { in pm3393_set_rx_mode()
370 if (t1_rx_mode_allmulti(rm)) { in pm3393_set_rx_mode()
377 } else if (t1_rx_mode_mc_cnt(rm)) { in pm3393_set_rx_mode()
383 netdev_for_each_mc_addr(ha, t1_get_netdev(rm)) { in pm3393_set_rx_mode()
Dgmac.h111 int (*set_rx_mode)(struct cmac *, struct t1_rx_mode *rm);
Dvsc7326.c434 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) in mac_set_rx_mode() argument
442 if (t1_rx_mode_promisc(rm)) in mac_set_rx_mode()
Dcxgb2.c123 struct t1_rx_mode rm; in t1_set_rxmode() local
125 rm.dev = dev; in t1_set_rxmode()
126 mac->ops->set_rx_mode(mac, &rm); in t1_set_rxmode()
/drivers/input/touchscreen/
Dintel-mid-touch.c500 u8 ra, rm; in mrstouch_adc_init() local
546 rm = 0x5; in mrstouch_adc_init()
550 rm = 0x0; in mrstouch_adc_init()
562 err = intel_scu_ipc_update_register(PMIC_REG_MADCINT, rm, 0x03); in mrstouch_adc_init()
/drivers/mtd/nand/
Dmpc5121_nfc.c541 struct mpc512x_reset_module *rm; in mpc5121_nfc_read_hw_config() local
557 rm = of_iomap(rmnode, 0); in mpc5121_nfc_read_hw_config()
558 if (!rm) { in mpc5121_nfc_read_hw_config()
564 rcwh = in_be32(&rm->rcwhr); in mpc5121_nfc_read_hw_config()
609 iounmap(rm); in mpc5121_nfc_read_hw_config()
/drivers/parport/
Dparport_gsc.h153 const unsigned char rm = (PARPORT_CONTROL_STROBE | in parport_gsc_read_control() local
158 return priv->ctr & rm; /* Use soft copy */ in parport_gsc_read_control()
Dparport_ip32.c947 const unsigned int rm = in parport_ip32_read_control() local
949 return __parport_ip32_read_control(p) & rm; in parport_ip32_read_control()
/drivers/pinctrl/
Dpinctrl-st.c1055 struct regmap *rm = info->regmap; in st_pctl_dt_setup_retime_packed() local
1070 rt_p->clk1notclk0 = devm_regmap_field_alloc(dev, rm, clk1notclk0); in st_pctl_dt_setup_retime_packed()
1071 rt_p->delay_0 = devm_regmap_field_alloc(dev, rm, delay_0); in st_pctl_dt_setup_retime_packed()
1072 rt_p->delay_1 = devm_regmap_field_alloc(dev, rm, delay_1); in st_pctl_dt_setup_retime_packed()
1073 rt_p->invertclk = devm_regmap_field_alloc(dev, rm, invertclk); in st_pctl_dt_setup_retime_packed()
1074 rt_p->retime = devm_regmap_field_alloc(dev, rm, retime); in st_pctl_dt_setup_retime_packed()
1075 rt_p->clknotdata = devm_regmap_field_alloc(dev, rm, clknotdata); in st_pctl_dt_setup_retime_packed()
1076 rt_p->double_edge = devm_regmap_field_alloc(dev, rm, double_edge); in st_pctl_dt_setup_retime_packed()
1091 struct regmap *rm = info->regmap; in st_pctl_dt_setup_retime_dedicated() local
1102 rt_d->rt[j] = devm_regmap_field_alloc(dev, rm, reg); in st_pctl_dt_setup_retime_dedicated()
Dpinctrl-tegra20.c2132 MUX_PG(rm, I2C1, RSVD2, RSVD3, RSVD4, 0x14, 25, 0x80, 14, 0xa4, 0),
/drivers/video/console/
Dsticore.c848 u32 *rm; in sti_try_rom_generic() local
866 rm = (u32*) &sti->rm_entry; in sti_try_rom_generic()
867 *rm++ = gsc_readl(address+rm_offset+0x00); in sti_try_rom_generic()
868 *rm++ = gsc_readl(address+rm_offset+0x04); in sti_try_rom_generic()
869 *rm++ = gsc_readl(address+rm_offset+0x08); in sti_try_rom_generic()
870 *rm++ = gsc_readl(address+rm_offset+0x0c); in sti_try_rom_generic()
/drivers/media/rc/keymaps/
DMakefile14 rc-avermedia-m733a-rm-k6.o \
15 rc-avermedia-rm-ks.o \
/drivers/hwmon/
Dasc7621.c813 #define PREAD(name, n, pri, rm, rl, m, s, r) \ argument
815 .priority = pri, .msb[0] = rm, .lsb[0] = rl, .mask[0] = m, \
818 #define PWRITE(name, n, pri, rm, rl, m, s, r) \ argument
820 .priority = pri, .msb[0] = rm, .lsb[0] = rl, .mask[0] = m, \
827 #define PWRITEM(name, n, pri, rm, rl, m, s, r) \ argument
829 .priority = pri, .msb = rm, .lsb = rl, .mask = m, .shift = s,}
/drivers/scsi/aic7xxx/aicasm/
DMakefile56 rm -f $(clean-files)
/drivers/net/wan/
DMakefile53 rm -f $(obj)/wanxlfw.bin $(obj)/wanxlfw.o
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.h120 enum xgene_enet_rm rm; member
Dxgene_enet_main.c91 return ((u16)pdata->rm << 10) | ring->num; in xgene_enet_dst_ring_num()
887 pdata->rm = RM3; in xgene_enet_setup_ops()
892 pdata->rm = RM1; in xgene_enet_setup_ops()
897 pdata->rm = RM0; in xgene_enet_setup_ops()
/drivers/gpu/drm/armada/
Darmada_crtc.c500 uint32_t lm, rm, tm, bm, val, sclk; in armada_drm_crtc_mode_set() local
512 rm = adj->crtc_hsync_start - adj->crtc_hdisplay; in armada_drm_crtc_mode_set()
521 adj->crtc_htotal, lm, rm); in armada_drm_crtc_mode_set()
583 armada_reg_queue_set(regs, i, (lm << 16) | rm, LCD_SPU_H_PORCH); in armada_drm_crtc_mode_set()
/drivers/s390/net/
Dctcm_mpc.c130 __u32 ct, sw, rm, dup; in ctcmpc_dumpit() local
144 rm = 16; in ctcmpc_dumpit()
180 rm--; in ctcmpc_dumpit()
198 rm = 16; in ctcmpc_dumpit()
202 for ( ; rm > 0; rm--, sw++) { in ctcmpc_dumpit()
/drivers/video/fbdev/
Dpm3fb.c295 unsigned long rm = 1 | (3 << 7); in pm3fb_init_engine() local
301 rm |= 3 << 15; in pm3fb_init_engine()
308 rm |= 2 << 15; in pm3fb_init_engine()
320 PM3_WRITE_REG(par, PM3RasterizerMode, rm); in pm3fb_init_engine()
/drivers/gpu/drm/nouveau/core/engine/fifo/
Dnv04.c222 u32 rm = ((1ULL << c->bits) - 1) << c->regs; in nv04_fifo_chan_fini() local
224 u32 rv = (nv_rd32(priv, c->regp) & rm) >> c->regs; in nv04_fifo_chan_fini()
/drivers/isdn/hardware/mISDN/
Dhfcmulti.c926 hfcmulti_resync(struct hfc_multi *locked, struct hfc_multi *newmaster, int rm) in hfcmulti_resync() argument
1016 if (!rm) in hfcmulti_resync()
1028 plxsd_checksync(struct hfc_multi *hc, int rm) in plxsd_checksync() argument
1036 hfcmulti_resync(hc, hc, rm); in plxsd_checksync()
1044 hfcmulti_resync(hc, NULL, rm); in plxsd_checksync()