Searched refs:if1 (Results 1 - 17 of 17) sorted by relevance

/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
H A Dusb_intf.c274 struct rtw_adapter *padapter = dvobj->if1; rtw_suspend()
343 struct rtw_adapter *padapter = dvobj->if1; rtw_resume()
410 dvobj->if1 = padapter; rtw_usb_if1_init()
490 static void rtw_usb_if1_deinit(struct rtw_adapter *if1) rtw_usb_if1_deinit() argument
492 struct net_device *pnetdev = if1->pnetdev; rtw_usb_if1_deinit()
493 struct mlme_priv *pmlmepriv = &if1->mlmepriv; rtw_usb_if1_deinit()
496 rtw_disassoc_cmd23a(if1, 0, false); rtw_usb_if1_deinit()
499 free_mlme_ap_info23a(if1); rtw_usb_if1_deinit()
505 rtw_cancel_all_timer23a(if1); rtw_usb_if1_deinit()
507 rtw_dev_unload(if1); rtw_usb_if1_deinit()
510 if1->hw_init_completed); rtw_usb_if1_deinit()
512 if (if1->rtw_wdev) { rtw_usb_if1_deinit()
513 rtw_wdev_unregister(if1->rtw_wdev); rtw_usb_if1_deinit()
514 rtw_wdev_free(if1->rtw_wdev); rtw_usb_if1_deinit()
518 if (1 == if1->pwrctrlpriv.autopm_cnt) { rtw_usb_if1_deinit()
519 usb_autopm_put_interface(adapter_to_dvobj(if1)->pusbintf); rtw_usb_if1_deinit()
520 if1->pwrctrlpriv.autopm_cnt--; rtw_usb_if1_deinit()
524 rtw_free_drv_sw23a(if1); rtw_usb_if1_deinit()
533 struct rtw_adapter *if1 = NULL; rtw_drv_init() local
547 if1 = rtw_usb_if1_init(dvobj, pusb_intf, pdid); rtw_drv_init()
548 if (!if1) { rtw_drv_init()
554 status = rtw_drv_register_netdev(if1); rtw_drv_init()
563 if (status != _SUCCESS && if1) rtw_drv_init()
564 rtw_usb_if1_deinit(if1); rtw_drv_init()
584 padapter = dvobj->if1; rtw_disconnect()
H A Dos_intfs.c611 int rtw_drv_register_netdev(struct rtw_adapter *if1) rtw_drv_register_netdev() argument
613 struct dvobj_priv *dvobj = if1->dvobj; rtw_drv_register_netdev()
628 name = if1->registrypriv.ifname; rtw_drv_register_netdev()
630 name = if1->registrypriv.if2name; rtw_drv_register_netdev()
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/
H A Dusb_intf.c237 struct adapter *padapter = dvobj->if1; rtw_suspend()
354 struct adapter *padapter = dvobj->if1; rtw_resume()
378 dvobj->if1 = padapter; rtw_usb_if1_init()
465 static void rtw_usb_if1_deinit(struct adapter *if1) rtw_usb_if1_deinit() argument
467 struct net_device *pnetdev = if1->pnetdev; rtw_usb_if1_deinit()
468 struct mlme_priv *pmlmepriv = &if1->mlmepriv; rtw_usb_if1_deinit()
471 rtw_disassoc_cmd(if1, 0, false); rtw_usb_if1_deinit()
474 free_mlme_ap_info(if1); rtw_usb_if1_deinit()
482 rtw_cancel_all_timer(if1); rtw_usb_if1_deinit()
484 rtw_dev_unload(if1); rtw_usb_if1_deinit()
486 if1->hw_init_completed); rtw_usb_if1_deinit()
487 rtw_free_drv_sw(if1); rtw_usb_if1_deinit()
494 struct adapter *if1 = NULL; rtw_drv_init() local
508 if1 = rtw_usb_if1_init(dvobj, pusb_intf, pdid); rtw_drv_init()
509 if (if1 == NULL) { rtw_drv_init()
537 struct adapter *padapter = dvobj->if1; rtw_dev_remove()
/linux-4.1.27/drivers/media/tuners/
H A Dmt2060.h34 extern struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1);
36 static inline struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1) mt2060_attach() argument
H A Dmt2131.h37 u16 if1);
42 u16 if1) mt2131_attach()
39 mt2131_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2131_config *cfg, u16 if1) mt2131_attach() argument
H A Dmt20xx.c101 unsigned int if1, unsigned int if2, mt2032_compute_freq()
113 desired_lo1=rfin+if1; mt2032_compute_freq()
243 unsigned int if1, unsigned int if2, mt2032_set_if_freq()
250 tuner_dbg("mt2032_set_if_freq rfin=%d if1=%d if2=%d from=%d to=%d\n", mt2032_set_if_freq()
251 rfin,if1,if2,from,to); mt2032_set_if_freq()
258 ret=mt2032_compute_freq(fe,rfin,if1,if2,from,to,&buf[1],&sel,priv->xogc); mt2032_set_if_freq()
443 unsigned int if1=1218*1000*1000; mt2050_set_if_freq() local
448 tuner_dbg("mt2050_set_if_freq freq=%d if1=%d if2=%d\n", mt2050_set_if_freq()
449 freq,if1,if2); mt2050_set_if_freq()
451 f_lo1=freq+if1; mt2050_set_if_freq()
99 mt2032_compute_freq(struct dvb_frontend *fe, unsigned int rfin, unsigned int if1, unsigned int if2, unsigned int spectrum_from, unsigned int spectrum_to, unsigned char *buf, int *ret_sel, unsigned int xogc) mt2032_compute_freq() argument
242 mt2032_set_if_freq(struct dvb_frontend *fe, unsigned int rfin, unsigned int if1, unsigned int if2, unsigned int from, unsigned int to) mt2032_set_if_freq() argument
H A Dmt2060.c166 u32 if1; mt2060_set_params() local
170 if1 = priv->if1_freq; mt2060_set_params()
181 f_lo1 = freq + if1 * 1000; mt2060_set_params()
222 dprintk("IF1: %dMHz",(int)if1); mt2060_set_params()
361 struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1) mt2060_attach() argument
372 priv->if1_freq = if1; mt2060_attach()
386 printk(KERN_INFO "MT2060: successfully identified (IF1 = %d)\n", if1); mt2060_attach()
H A Dmt2131.c259 struct mt2131_config *cfg, u16 if1) mt2131_attach()
257 mt2131_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2131_config *cfg, u16 if1) mt2131_attach() argument
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Ddibusb-common.c296 u16 if1 = 1220; dibusb_dib3000mc_tuner_attach() local
307 if1 += b; dibusb_dib3000mc_tuner_attach()
309 if1 -= b; dibusb_dib3000mc_tuner_attach()
324 if1 -= (0xff - desc); dibusb_dib3000mc_tuner_attach()
326 if1 += desc; dibusb_dib3000mc_tuner_attach()
331 if (dvb_attach(mt2060_attach, adap->fe_adap[0].fe, tun_i2c, &stk3000p_mt2060_config, if1) == NULL) { dibusb_dib3000mc_tuner_attach()
H A Daf9005-fe.c822 u16 if1; af9005_fe_init() local
1049 /* read if1 from eeprom */ af9005_fe_init()
1055 if1 = (u16) (buf[0] << 8) + buf[1]; af9005_fe_init()
1057 &af9005_mt2060_config, if1) == NULL) { af9005_fe_init()
H A Ddib0700_devices.c125 int if1=1220; bristol_tuner_attach() local
128 if (!eeprom_read(prim_i2c,0x59 + adap->id,&a)) if1=1220+a; bristol_tuner_attach()
131 &bristol_mt2060_config[adap->id], if1) == NULL ? bristol_tuner_attach()
746 int if1=1220; stk7700p_tuner_attach() local
750 if (!eeprom_read(prim_i2c,0x58,&a)) if1=1220+a; stk7700p_tuner_attach()
758 if1) == NULL ? -ENODEV : 0; stk7700p_tuner_attach()
/linux-4.1.27/drivers/staging/rtl8723au/include/
H A Ddrv_types.h134 (((struct rtw_adapter *)padapter)->dvobj->if1)
145 struct rtw_adapter *if1; /* PRIMARY_ADAPTER */ member in struct:dvobj_priv
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A Ddrv_types.h145 struct adapter *if1; member in struct:dvobj_priv
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
H A Dusb_halinit.c1248 /* enable BCN0 Function for if1 */ hw_var_set_opmode()
1249 /* don't enable update TSF0 for if1 (due to TSF update when beacon/probe rsp are received) */ hw_var_set_opmode()
/linux-4.1.27/drivers/net/can/
H A Dpch_can.c154 struct pch_can_if_regs ifregs[2]; /* [0]=if1 [1]=if2 */
/linux-4.1.27/drivers/staging/rtl8723au/core/
H A Drtw_ap.c533 /* set intf_tag to if1 */ update_sta_info23a_apmode23a()
/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_mlme_ext.c1607 ETH_ALEN))/* for if1, sta/ap mode */ OnAction_back()

Completed in 730 milliseconds