Searched refs:sel (Results 1 - 25 of 45) sorted by relevance

12

/drivers/net/wireless/brcm80211/brcmsmac/
H A Dantsel.h24 bool sel,
H A Dphy_shim.c206 int len, u32 sel)
208 brcms_b_copyfrom_objmem(physhim->wlc_hw, offset, buf, len, sel);
213 int l, u32 sel)
215 brcms_b_copyto_objmem(physhim->wlc_hw, offset, buf, l, sel);
205 wlapi_copyfrom_objmem(struct phy_shim_info *physhim, uint offset, void *buf, int len, u32 sel) argument
212 wlapi_copyto_objmem(struct phy_shim_info *physhim, uint offset, const void *buf, int l, u32 sel) argument
H A Dantsel.c25 #define ANT_SELCFG_AUTO 0x80 /* bit indicates antenna sel AUTO */
259 brcms_c_antsel_antcfg_get(struct antsel_info *asi, bool usedef, bool sel, argument
272 if (!sel) {
H A Dphy_shim.h171 void *buf, int, u32 sel);
H A Dmain.h707 u32 sel);
709 void *buf, int len, u32 sel);
/drivers/firmware/
H A Ddmi-sysfs.c271 struct dmi_system_event_log sel; \
272 if (sizeof(sel) > dmi_entry_length(dh)) \
274 memcpy(&sel, dh, sizeof(sel)); \
275 return sprintf(buf, "%u\n", sel._field); \
277 static DMI_SYSFS_MAPPED_ATTR(sel, _field)
311 typedef u8 (*sel_io_reader)(const struct dmi_system_event_log *sel,
316 static u8 read_sel_8bit_indexed_io(const struct dmi_system_event_log *sel, argument
322 outb((u8)offset, sel->io.index_addr);
323 ret = inb(sel
328 read_sel_2x8bit_indexed_io(const struct dmi_system_event_log *sel, loff_t offset) argument
341 read_sel_16bit_indexed_io(const struct dmi_system_event_log *sel, loff_t offset) argument
359 dmi_sel_raw_read_io(struct dmi_sysfs_entry *entry, const struct dmi_system_event_log *sel, char *buf, loff_t pos, size_t count) argument
376 dmi_sel_raw_read_phys32(struct dmi_sysfs_entry *entry, const struct dmi_system_event_log *sel, char *buf, loff_t pos, size_t count) argument
402 struct dmi_system_event_log sel; local
[all...]
/drivers/media/common/tuners/
H A Dmt20xx.c109 unsigned int fref,lo1,lo1n,lo1a,s,sel,lo1freq, desired_lo1, local
122 if(s>1890) sel=0;
123 else if(s>1720) sel=1;
124 else if(s>1530) sel=2;
125 else if(s>1370) sel=3;
126 else sel=4; // >1090
129 if(s>1790) sel=0; // <1958
130 else if(s>1617) sel=1;
131 else if(s>1449) sel=2;
132 else if(s>1291) sel
205 mt2032_optimize_vco(struct dvb_frontend *fe,int sel,int lock) argument
247 int lint_try,ret,sel,lock=0; local
[all...]
/drivers/tty/vt/
H A Dselection.c150 * @sel: user selection info
158 int set_selection(const struct tiocl_selection __user *sel, struct tty_struct *tty) argument
171 if (!access_ok(VERIFY_READ, sel, sizeof(*sel)))
173 __get_user(xs, &sel->xs);
174 __get_user(ys, &sel->ys);
175 __get_user(xe, &sel->xe);
176 __get_user(ye, &sel->ye);
177 __get_user(sel_mode, &sel->sel_mode);
/drivers/regulator/
H A Danatop-regulator.c50 u32 val, sel; local
68 sel = DIV_ROUND_UP(uv - anatop_reg->min_voltage, 25000);
69 if (sel * 25000 + anatop_reg->min_voltage > anatop_reg->max_voltage)
71 val = anatop_reg->min_bit_val + sel;
72 *selector = sel;
H A Ds5m8767.c314 int sel, reg, mask, ret; local
335 sel = s5m8767_convert_voltage_to_sel(desc, min_uV, max_uV);
336 if (sel < 0)
337 return sel;
345 val |= sel;
348 *selector = sel;
/drivers/input/serio/
H A Dps2mult.c30 unsigned char sel; member in struct:ps2mult_port
71 serio_write(mx_serio, port->sel);
73 dev_dbg(&mx_serio->dev, "switched to sel %02x\n", port->sel);
183 psm->ports[i].sel = ps2mult_controls[i];
/drivers/net/ethernet/chelsio/cxgb/
H A Despi.c318 u32 sel; local
323 sel = V_MONITORED_PORT_NUM((addr & 0x3c) >> 2);
330 if ((sel != (espi->misc_ctrl & MON_MASK))) {
331 writel(((espi->misc_ctrl & ~MON_MASK) | sel),
333 sel = readl(adapter->regs + A_ESPI_SCH_TOKEN3);
336 sel = readl(adapter->regs + A_ESPI_SCH_TOKEN3);
338 return sel;
/drivers/mfd/
H A Dtwl4030-madc.c118 .sel = TWL4030_MADC_RTSELECT_LSB,
123 .sel = TWL4030_MADC_SW1SELECT_LSB,
129 .sel = TWL4030_MADC_SW2SELECT_LSB,
530 ret = twl_i2c_write_u8(TWL4030_MODULE_MADC, ch_msb, method->sel + 1);
533 "unable to write sel register 0x%X\n", method->sel + 1);
536 ret = twl_i2c_write_u8(TWL4030_MODULE_MADC, ch_lsb, method->sel);
539 "unable to write sel register 0x%X\n", method->sel + 1);
556 "unable to write sel re
[all...]
/drivers/net/wireless/bcmdhd/
H A Dhndpmu.c54 uint8 sel; /* Chip-specific select value */ member in struct:__anon3303
57 /* SDIO Drive Strength to sel value table for PMU Rev 1 */
64 /* SDIO Drive Strength to sel value table for PMU Rev 2, 3 */
74 /* SDIO Drive Strength to sel value table for PMU Rev 8 (1.8V) */
85 /* SDIO Drive Strength to sel value table for PMU Rev 11 (1.8v) */
96 /* SDIO Drive Strength to sel value table for PMU Rev 11 (1.2v) */
98 /* SDIO Drive Strength to sel value table for PMU Rev 11 (2.5v) */
100 /* SDIO Drive Strength to sel value table for PMU Rev 13 (1.8v) */
110 /* SDIO Drive Strength to sel value table for PMU Rev 13 (3.3v) */
112 /* SDIO Drive Strength to sel valu
[all...]
/drivers/usb/renesas_usbhs/
H A Dfifo.h31 u32 sel; /* xFIFOSEL */ member in struct:usbhs_fifo
H A Dfifo.c283 usbhs_write(priv, fifo->sel, 0);
309 usbhs_write(priv, fifo->sel, base);
311 usbhs_write(priv, fifo->sel, base | MBW_32);
315 if (base == (mask & usbhs_read(priv, fifo->sel))) {
753 usbhs_bset(priv, fifo->sel, DREQE, dreqe);
1167 fifo->sel = CFIFOSEL;
1174 fifo->sel = D0FIFOSEL;
1183 fifo->sel = D1FIFOSEL;
/drivers/ide/
H A Dicside.c72 unsigned int sel; member in struct:icside_state
333 writeb(state->sel | hwif->channel, state->ioc_base);
471 unsigned int sel = 0; local
494 sel = 1 << 5;
497 writeb(sel, ioc_base);
503 state->sel = sel;
H A Dit821x.c174 int clock, altclock, sel = 0; local
204 sel = 1;
209 v |= sel << (1 + hwif->channel);
/drivers/staging/rts5139/
H A Drts51x_card.c528 u8 sel, div, mcu_cnt; local
543 sel = SSC_80;
550 sel = SSC_60;
557 sel = SSC_80;
564 sel = SSC_100;
571 sel = SSC_60;
578 sel = SSC_80;
585 sel = SSC_100;
592 sel = SSC_120;
599 sel
[all...]
/drivers/staging/rts_pstor/
H A Drtsx_card.c798 u8 sel, div, mcu_cnt; local
813 sel = SSC_80;
820 sel = SSC_120;
827 sel = SSC_80;
834 sel = SSC_100;
841 sel = SSC_120;
848 sel = SSC_80;
855 sel = SSC_100;
862 sel = SSC_120;
869 sel
[all...]
/drivers/ata/
H A Dpata_icside.c399 unsigned int sel = 0; local
415 sel = 1 << 5;
418 writeb(sel, ioc_base);
422 state->port[0].port_sel = sel;
423 state->port[1].port_sel = sel | 1;
H A Dpata_it821x.c195 int sel = 0; local
222 sel = 1;
226 v |= sel << (1 + ap->port_no);
H A Dlibata.h89 extern int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel);
/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c219 struct fcoe_fcf *sel; local
231 sel = fip->sel_fcf;
233 if (sel && !compare_ether_addr(sel->fcf_mac, fip->dest_addr))
241 if (sel) {
244 fip->lp->host->host_no, sel->fcf_mac);
245 memcpy(fip->dest_addr, sel->fcoe_mac, ETH_ALEN);
1017 struct fcoe_fcf *sel; local
1055 sel = fip->sel_fcf;
1077 if ((desc_cnt == 3) && (sel))
1635 struct fcoe_fcf *sel; local
[all...]
/drivers/mtd/nand/
H A Ds3c2410.c1080 unsigned long sel; local
1088 sel = readl(info->sel_reg);
1089 sel &= ~info->sel_bit;
1090 sel |= info->save_sel & info->sel_bit;
1091 writel(sel, info->sel_reg);

Completed in 1228 milliseconds

12