Home
last modified time | relevance | path

Searched refs:set_mode (Results 1 – 25 of 157) sorted by relevance

1234567

/drivers/nfc/nxp-nci/
Dcore.c42 if (info->phy_ops->set_mode) in nxp_nci_open()
43 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_NCI); in nxp_nci_open()
59 if (info->phy_ops->set_mode) in nxp_nci_close()
60 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_close()
116 if (info->phy_ops->set_mode) { in nxp_nci_probe()
117 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_probe()
152 if (info->phy_ops->set_mode) in nxp_nci_remove()
153 info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_remove()
Dfirmware.c57 if (info->phy_ops->set_mode) { in nxp_nci_fw_work_complete()
58 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_fw_work_complete()
204 if (!info->phy_ops->set_mode || !info->phy_ops->write) { in nxp_nci_fw_download()
221 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_FW); in nxp_nci_fw_download()
Dnxp-nci.h32 int (*set_mode)(void *id, enum nxp_nci_mode mode); member
/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-ingenic.c71 int (*set_mode)(struct plat_stmmacenet_data *plat_dat); member
79 if (mac->soc_info->set_mode) { in ingenic_mac_init()
80 ret = mac->soc_info->set_mode(plat_dat); in ingenic_mac_init()
345 .set_mode = jz4775_mac_set_mode,
352 .set_mode = x1000_mac_set_mode,
359 .set_mode = x1600_mac_set_mode,
366 .set_mode = x1830_mac_set_mode,
374 .set_mode = x2000_mac_set_mode,
Ddwmac-stm32.c101 int (*set_mode)(struct plat_stmmacenet_data *plat_dat); member
116 if (dwmac->ops->set_mode) { in stm32_dwmac_init()
117 ret = dwmac->ops->set_mode(plat_dat); in stm32_dwmac_init()
509 .set_mode = stm32mcu_set_mode,
515 .set_mode = stm32mp1_set_mode,
/drivers/extcon/
Dextcon-usbc-tusb320.c67 int (*set_mode)(struct tusb320_priv *priv, enum tusb320_mode mode); member
174 ret = priv->ops->set_mode(priv, TUSB320_MODE_PORT); in tusb320_reset()
202 .set_mode = tusb320_set_mode,
206 .set_mode = tusb320l_set_mode,
235 return priv->ops->set_mode(priv, TUSB320_MODE_DFP); in tusb320_port_type_set()
237 return priv->ops->set_mode(priv, TUSB320_MODE_UFP); in tusb320_port_type_set()
239 return priv->ops->set_mode(priv, TUSB320_MODE_DRP); in tusb320_port_type_set()
241 return priv->ops->set_mode(priv, TUSB320_MODE_PORT); in tusb320_port_type_set()
/drivers/nfc/s3fwrn5/
Ds3fwrn5.h26 void (*set_mode)(void *id, enum s3fwrn5_mode); member
46 if (!info->phy_ops->set_mode) in s3fwrn5_set_mode()
49 info->phy_ops->set_mode(info->phy_id, mode); in s3fwrn5_set_mode()
/drivers/regulator/
Dhi6421-regulator.c484 .set_mode = hi6421_regulator_ldo_set_mode,
497 .set_mode = hi6421_regulator_ldo_set_mode,
510 .set_mode = hi6421_regulator_ldo_set_mode,
523 .set_mode = hi6421_regulator_buck_set_mode,
535 .set_mode = hi6421_regulator_buck_set_mode,
Dmt6380-regulator.c245 .set_mode = mt6380_regulator_set_mode,
258 .set_mode = mt6380_regulator_set_mode,
267 .set_mode = mt6380_regulator_set_mode,
Dqcom_spmi-regulator.c1310 .set_mode = spmi_regulator_common_set_mode,
1324 .set_mode = spmi_regulator_common_set_mode,
1352 .set_mode = spmi_regulator_common_set_mode,
1376 .set_mode = spmi_regulator_common_set_mode,
1390 .set_mode = spmi_regulator_common_set_mode,
1405 .set_mode = spmi_regulator_common_set_mode,
1419 .set_mode = spmi_regulator_common_set_mode,
1437 .set_mode = spmi_regulator_ftsmps426_set_mode,
1452 .set_mode = spmi_regulator_ftsmps426_set_mode,
Dtps65910-regulator.c766 .set_mode = tps65910_set_mode,
779 .set_mode = tps65910_set_mode,
790 .set_mode = tps65910_set_mode,
802 .set_mode = tps65910_set_mode,
814 .set_mode = tps65910_set_mode,
/drivers/dma/
Dsun6i-dma.c130 void (*set_mode)(u32 *p_cfg, s8 src_mode, s8 dst_mode); member
669 sdev->cfg->set_mode(&v_lli->cfg, LINEAR_MODE, LINEAR_MODE); in sun6i_dma_prep_dma_memcpy()
723 sdev->cfg->set_mode(&v_lli->cfg, LINEAR_MODE, IO_MODE); in sun6i_dma_prep_slave_sg()
736 sdev->cfg->set_mode(&v_lli->cfg, IO_MODE, LINEAR_MODE); in sun6i_dma_prep_slave_sg()
804 sdev->cfg->set_mode(&v_lli->cfg, LINEAR_MODE, IO_MODE); in sun6i_dma_prep_dma_cyclic()
810 sdev->cfg->set_mode(&v_lli->cfg, IO_MODE, LINEAR_MODE); in sun6i_dma_prep_dma_cyclic()
1076 .set_mode = sun6i_set_mode_a31,
1099 .set_mode = sun6i_set_mode_a31,
1117 .set_mode = sun6i_set_mode_a31,
1142 .set_mode = sun6i_set_mode_a31,
[all …]
/drivers/media/dvb-frontends/
Dcxd2099.c190 static void set_mode(struct cxd *ci, int mode) in set_mode() function
392 set_mode(ci, 1); in read_attribute_mem()
404 set_mode(ci, 1); in write_attribute_mem()
417 set_mode(ci, 0); in read_cam_control()
429 set_mode(ci, 0); in write_cam_control()
492 set_mode(ci, 0); in slot_ts_enable()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c48 struct drm_display_mode *set_mode; member
461 if (par->set_mode) { in vmw_fb_kms_detach()
476 drm_mode_destroy(&par->vmw_priv->drm, par->set_mode); in vmw_fb_kms_detach()
477 par->set_mode = NULL; in vmw_fb_kms_detach()
609 if (par->set_mode) in vmw_fb_set_par()
610 drm_mode_destroy(&vmw_priv->drm, par->set_mode); in vmw_fb_set_par()
611 par->set_mode = mode; in vmw_fb_set_par()
/drivers/video/fbdev/mmp/
Dcore.c172 path->ops.set_mode = info->set_mode; in mmp_register_path()
/drivers/ata/
Dpata_gayle.c118 .set_mode = pata_gayle_set_mode,
125 .set_mode = pata_gayle_set_mode,
Dpata_buddha.c138 .set_mode = pata_buddha_set_mode,
147 .set_mode = pata_buddha_set_mode,
Dpata_pcmcia.c143 .set_mode = pcmcia_set_mode,
150 .set_mode = pcmcia_set_mode_8bit,
/drivers/net/ethernet/amd/xgbe/
Dxgbe-mdio.c225 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_KR); in xgbe_kr_mode()
234 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_KX_2500); in xgbe_kx_2500_mode()
243 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_KX_1000); in xgbe_kx_1000_mode()
256 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_SFI); in xgbe_sfi_mode()
265 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_X); in xgbe_x_mode()
274 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_SGMII_1000); in xgbe_sgmii_1000_mode()
283 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_SGMII_100); in xgbe_sgmii_100_mode()
1198 static int __xgbe_phy_config_aneg(struct xgbe_prv_data *pdata, bool set_mode) in __xgbe_phy_config_aneg() argument
1224 if (set_mode) { in __xgbe_phy_config_aneg()
/drivers/video/fbdev/geode/
Dgeodefb.h14 void (*set_mode)(struct fb_info *); member
/drivers/firmware/efi/libstub/
Defistub.h339 void *set_mode; member
344 u32 set_mode; member
434 efi_status_t (__efiapi *set_mode) (efi_graphics_output_protocol_t *, u32);
440 u32 set_mode; member
/drivers/usb/musb/
Dmusb_core.h182 int (*set_mode)(struct musb *musb, u8 mode); member
532 if (!musb->ops->set_mode) in musb_platform_set_mode()
535 return musb->ops->set_mode(musb, mode); in musb_platform_set_mode()
Dam35x.c320 if (data->set_mode) in am35x_musb_set_mode()
321 data->set_mode(musb_mode); in am35x_musb_set_mode()
431 .set_mode = am35x_musb_set_mode,
/drivers/media/v4l2-core/
Dtuner-core.c842 static int set_mode(struct tuner *t, enum v4l2_tuner_type mode) in set_mode() function
1145 if (set_mode(t, V4L2_TUNER_RADIO) == 0) in tuner_s_radio()
1174 if (set_mode(t, V4L2_TUNER_ANALOG_TV)) in tuner_s_std()
1188 if (set_mode(t, f->type) == 0) in tuner_s_frequency()
1291 if (set_mode(t, vt->type)) in tuner_s_tuner()
1348 if (set_mode(t, t->mode) == 0) in tuner_resume()
/drivers/video/backlight/
Dlcd.c43 if (ld->ops->set_mode) in fb_notifier_callback()
44 ld->ops->set_mode(ld, evdata->data); in fb_notifier_callback()

1234567