/linux-master/drivers/base/power/ |
H A D | power.h | 4 static inline void device_pm_init_common(struct device *dev) argument 6 if (!dev->power.early_init) { 7 spin_lock_init(&dev->power.lock); 8 dev->power.qos = NULL; 9 dev->power.early_init = true; 15 static inline void pm_runtime_early_init(struct device *dev) argument 17 dev->power.disable_depth = 1; 18 device_pm_init_common(dev); 21 extern void pm_runtime_init(struct device *dev); 22 extern void pm_runtime_reinit(struct device *dev); 35 struct device *dev; member in struct:wake_irq 57 device_wakeup_attach_irq(struct device *dev, struct wake_irq *wakeirq) argument 60 device_wakeup_detach_irq(struct device *dev) argument 85 pm_runtime_early_init(struct device *dev) argument 90 pm_runtime_init(struct device *dev) argument 91 pm_runtime_reinit(struct device *dev) argument 92 pm_runtime_remove(struct device *dev) argument 94 dpm_sysfs_add(struct device *dev) argument 95 dpm_sysfs_remove(struct device *dev) argument 96 dpm_sysfs_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid) argument 122 device_pm_initialized(struct device *dev) argument 136 device_pm_sleep_init(struct device *dev) argument 138 device_pm_add(struct device *dev) argument 140 device_pm_remove(struct device *dev) argument 149 device_pm_move_last(struct device *dev) argument 151 device_pm_check_callbacks(struct device *dev) argument 153 device_pm_initialized(struct device *dev) argument 165 device_pm_init(struct device *dev) argument [all...] |
H A D | generic_ops.c | 14 * @dev: Device to suspend. 16 * If PM operations are defined for the @dev's driver and they include 20 int pm_generic_runtime_suspend(struct device *dev) argument 22 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; 25 ret = pm && pm->runtime_suspend ? pm->runtime_suspend(dev) : 0; 33 * @dev: Device to resume. 35 * If PM operations are defined for the @dev's driver and they include 39 int pm_generic_runtime_resume(struct device *dev) argument 41 const struct dev_pm_ops *pm = dev 58 pm_generic_prepare(struct device *dev) argument 73 pm_generic_suspend_noirq(struct device *dev) argument 85 pm_generic_suspend_late(struct device *dev) argument 97 pm_generic_suspend(struct device *dev) argument 109 pm_generic_freeze_noirq(struct device *dev) argument 121 pm_generic_freeze_late(struct device *dev) argument 133 pm_generic_freeze(struct device *dev) argument 145 pm_generic_poweroff_noirq(struct device *dev) argument 157 pm_generic_poweroff_late(struct device *dev) argument 169 pm_generic_poweroff(struct device *dev) argument 181 pm_generic_thaw_noirq(struct device *dev) argument 193 pm_generic_thaw_early(struct device *dev) argument 205 pm_generic_thaw(struct device *dev) argument 217 pm_generic_resume_noirq(struct device *dev) argument 229 pm_generic_resume_early(struct device *dev) argument 241 pm_generic_resume(struct device *dev) argument 253 pm_generic_restore_noirq(struct device *dev) argument 265 pm_generic_restore_early(struct device *dev) argument 277 pm_generic_restore(struct device *dev) argument 291 pm_generic_complete(struct device *dev) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | sdio_mac.c | 10 static void mt7921s_enable_irq(struct mt76_dev *dev) argument 12 struct mt76_sdio *sdio = &dev->sdio; 19 static void mt7921s_disable_irq(struct mt76_dev *dev) argument 21 struct mt76_sdio *sdio = &dev->sdio; 28 static u32 mt7921s_read_whcr(struct mt76_dev *dev) argument 30 return sdio_readl(dev->sdio.func, MCR_WHCR, NULL); 33 int mt7921s_wfsys_reset(struct mt792x_dev *dev) argument 35 struct mt76_sdio *sdio = &dev->mt76.sdio; 38 mt7921s_mcu_drv_pmctrl(dev); 58 readx_poll_timeout(mt7921s_read_whcr, &dev 74 mt7921s_init_reset(struct mt792x_dev *dev) argument 94 mt7921s_mac_reset(struct mt792x_dev *dev) argument [all...] |
H A D | init.c | 13 static ssize_t mt7921_thermal_temp_show(struct device *dev, argument 19 struct mt792x_phy *phy = dev_get_drvdata(dev); 20 struct mt792x_dev *mdev = phy->dev; 53 name = devm_kasprintf(&wiphy->dev, GFP_KERNEL, "mt7921_%s", 56 hwmon = devm_hwmon_device_register_with_groups(&wiphy->dev, name, phy, 62 mt7921_regd_channel_update(struct wiphy *wiphy, struct mt792x_dev *dev) argument 65 (!(dev->phy.clc_chan_conf & BIT(idx)) && (cfreq) >= (sfreq) && (cfreq) <= (efreq)) 67 struct mt76_dev *mdev = &dev->mt76; 113 void mt7921_regd_update(struct mt792x_dev *dev) argument 115 struct mt76_dev *mdev = &dev 131 struct mt792x_dev *dev = mt792x_hw_dev(hw); local 151 mt7921_mac_init(struct mt792x_dev *dev) argument 171 __mt7921_init_hardware(struct mt792x_dev *dev) argument 194 mt7921_init_hardware(struct mt792x_dev *dev) argument 218 struct mt792x_dev *dev = container_of(work, struct mt792x_dev, local 254 mt7921_register_device(struct mt792x_dev *dev) argument [all...] |
/linux-master/drivers/media/pci/tw686x/ |
H A D | tw686x-core.c | 93 void tw686x_disable_channel(struct tw686x_dev *dev, unsigned int channel) argument 95 u32 dma_en = reg_read(dev, DMA_CHANNEL_ENABLE); 96 u32 dma_cmd = reg_read(dev, DMA_CMD); 102 dev->pending_dma_en &= ~BIT(channel); 103 dev->pending_dma_cmd &= ~BIT(channel); 108 reg_write(dev, DMA_CHANNEL_ENABLE, dma_en); 109 reg_write(dev, DMA_CMD, dma_cmd); 112 void tw686x_enable_channel(struct tw686x_dev *dev, unsigned int channel) argument 114 u32 dma_en = reg_read(dev, DMA_CHANNEL_ENABLE); 115 u32 dma_cmd = reg_read(dev, DMA_CM 128 struct tw686x_dev *dev = from_timer(dev, t, dma_delay_timer); local 141 tw686x_reset_channels(struct tw686x_dev *dev, unsigned int ch_mask) argument 167 struct tw686x_dev *dev = (struct tw686x_dev *)dev_id; local 226 struct tw686x_dev *dev = container_of(v4l2_dev, struct tw686x_dev, local 243 struct tw686x_dev *dev; local 366 struct tw686x_dev *dev = pci_get_drvdata(pci_dev); local [all...] |
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | sdio.h | 15 void (*irq_handler)(struct b43_wldev *dev); 18 int b43_sdio_request_irq(struct b43_wldev *dev, 19 void (*handler)(struct b43_wldev *dev)); 20 void b43_sdio_free_irq(struct b43_wldev *dev); 29 static inline int b43_sdio_request_irq(struct b43_wldev *dev, argument 30 void (*handler)(struct b43_wldev *dev)) 34 static inline void b43_sdio_free_irq(struct b43_wldev *dev) argument
|
H A D | phy_common.c | 28 int b43_phy_allocate(struct b43_wldev *dev) argument 30 struct b43_phy *phy = &(dev->phy); 70 err = phy->ops->allocate(dev); 77 void b43_phy_free(struct b43_wldev *dev) argument 79 dev->phy.ops->free(dev); 80 dev->phy.ops = NULL; 83 int b43_phy_init(struct b43_wldev *dev) argument 85 struct b43_phy *phy = &dev->phy; 93 phy->chandef = &dev 125 b43_phy_exit(struct b43_wldev *dev) argument 135 b43_has_hardware_pctl(struct b43_wldev *dev) argument 144 b43_radio_lock(struct b43_wldev *dev) argument 162 b43_radio_unlock(struct b43_wldev *dev) argument 179 b43_phy_lock(struct b43_wldev *dev) argument 191 b43_phy_unlock(struct b43_wldev *dev) argument 203 assert_mac_suspended(struct b43_wldev *dev) argument 215 b43_radio_read(struct b43_wldev *dev, u16 reg) argument 222 b43_radio_write(struct b43_wldev *dev, u16 reg, u16 value) argument 233 b43_radio_mask(struct b43_wldev *dev, u16 offset, u16 mask) argument 239 b43_radio_set(struct b43_wldev *dev, u16 offset, u16 set) argument 245 b43_radio_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set) argument 251 b43_radio_wait_value(struct b43_wldev *dev, u16 offset, u16 mask, u16 value, int delay, int timeout) argument 266 b43_phy_read(struct b43_wldev *dev, u16 reg) argument 278 b43_phy_write(struct b43_wldev *dev, u16 reg, u16 value) argument 294 b43_phy_copy(struct b43_wldev *dev, u16 destreg, u16 srcreg) argument 299 b43_phy_mask(struct b43_wldev *dev, u16 offset, u16 mask) argument 310 b43_phy_set(struct b43_wldev *dev, u16 offset, u16 set) argument 321 b43_phy_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set) argument 332 b43_phy_put_into_reset(struct b43_wldev *dev) argument 371 b43_phy_take_out_of_reset(struct b43_wldev *dev) argument 416 b43_switch_channel(struct b43_wldev *dev, unsigned int new_channel) argument 451 b43_software_rfkill(struct b43_wldev *dev, bool blocked) argument 470 struct b43_wldev *dev; local 481 b43_phy_txpower_check(struct b43_wldev *dev, unsigned int flags) argument 510 b43_phy_shm_tssi_read(struct b43_wldev *dev, u16 shm_offset) argument 551 b43_phyop_switch_analog_generic(struct b43_wldev *dev, bool on) argument 557 b43_is_40mhz(struct b43_wldev *dev) argument 563 b43_phy_force_clock(struct b43_wldev *dev, bool force) argument [all...] |
/linux-master/drivers/media/pci/cx23885/ |
H A D | cx23885-av.c | 16 struct cx23885_dev *dev = local 20 v4l2_subdev_call(dev->sd_cx25840, core, interrupt_service_routine, 28 cx23885_flatiron_write(dev, 0x1f, 29 cx23885_flatiron_read(dev, 0x1f) | 0x80); 30 cx23885_flatiron_write(dev, 0x23, 31 cx23885_flatiron_read(dev, 0x23) | 0x80); 34 cx23885_irq_enable(dev, PCI_MSK_AV_CORE);
|
/linux-master/include/sound/ |
H A D | omap-hdmi-audio.h | 21 int (*audio_startup)(struct device *dev, 22 void (*abort_cb)(struct device *dev)); 23 int (*audio_shutdown)(struct device *dev); 24 int (*audio_start)(struct device *dev); 25 void (*audio_stop)(struct device *dev); 26 int (*audio_config)(struct device *dev, 32 struct device *dev; member in struct:omap_hdmi_audio_pdata
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | ecpf.c | 6 bool mlx5_read_embedded_cpu(struct mlx5_core_dev *dev) argument 8 return (ioread32be(&dev->iseg->initializing) >> MLX5_ECPU_BIT_NUM) & 1; 11 static bool mlx5_ecpf_esw_admins_host_pf(const struct mlx5_core_dev *dev) argument 17 return mlx5_core_is_ecpf_esw_manager(dev); 20 int mlx5_cmd_host_pf_enable_hca(struct mlx5_core_dev *dev) argument 28 return mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); 31 int mlx5_cmd_host_pf_disable_hca(struct mlx5_core_dev *dev) argument 39 return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); 42 static int mlx5_host_pf_init(struct mlx5_core_dev *dev) argument 46 if (mlx5_ecpf_esw_admins_host_pf(dev)) 59 mlx5_host_pf_cleanup(struct mlx5_core_dev *dev) argument 73 mlx5_ec_init(struct mlx5_core_dev *dev) argument 81 mlx5_ec_cleanup(struct mlx5_core_dev *dev) argument [all...] |
/linux-master/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_pm.c | 14 struct net_device *dev = dev_get_drvdata(dev_d); local 15 struct r8192_priv *priv = rtllib_priv(dev); 18 netdev_info(dev, "============> r8192E suspend call.\n"); 23 if (!netif_running(dev)) { 24 netdev_info(dev, 29 if (dev->netdev_ops->ndo_stop) 30 dev->netdev_ops->ndo_stop(dev); 31 netif_device_detach(dev); 34 rtl92e_set_rf_state(dev, rf_of 58 struct net_device *dev = dev_get_drvdata(dev_d); local [all...] |
/linux-master/net/bluetooth/ |
H A D | hci_sysfs.c | 13 static void bt_link_release(struct device *dev) argument 15 struct hci_conn *conn = to_hci_conn(dev); 29 static int __match_tty(struct device *dev, void *data) argument 31 return !strncmp(dev_name(dev), "rfcomm", 6); 40 conn->dev.type = &bt_link; 41 conn->dev.class = &bt_class; 42 conn->dev.parent = &hdev->dev; 44 device_initialize(&conn->dev); 53 if (device_is_registered(&conn->dev)) 77 struct device *dev; local 89 bt_host_release(struct device *dev) argument 107 struct device *dev = &hdev->dev; local [all...] |
/linux-master/include/linux/ |
H A D | pm_clock.h | 23 extern int pm_clk_runtime_suspend(struct device *dev); 24 extern int pm_clk_runtime_resume(struct device *dev); 33 static inline bool pm_clk_no_clocks(struct device *dev) argument 35 return dev && dev->power.subsys_data 36 && list_empty(&dev->power.subsys_data->clock_list); 39 extern void pm_clk_init(struct device *dev); 40 extern int pm_clk_create(struct device *dev); 41 extern void pm_clk_destroy(struct device *dev); 42 extern int pm_clk_add(struct device *dev, cons 52 pm_clk_no_clocks(struct device *dev) argument 56 pm_clk_init(struct device *dev) argument 59 pm_clk_create(struct device *dev) argument 63 pm_clk_destroy(struct device *dev) argument 66 pm_clk_add(struct device *dev, const char *con_id) argument 71 pm_clk_add_clk(struct device *dev, struct clk *clk) argument 75 of_pm_clk_add_clks(struct device *dev) argument 79 pm_clk_remove(struct device *dev, const char *con_id) argument 84 pm_clk_remove_clk(struct device *dev, struct clk *clk) argument 87 devm_pm_clk_create(struct device *dev) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt7601u/ |
H A D | phy.c | 16 static void mt7601u_agc_reset(struct mt7601u_dev *dev); 19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) argument 23 if (WARN_ON(!test_bit(MT7601U_STATE_WLAN_RUNNING, &dev->state)) || 26 if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) 29 mutex_lock(&dev->reg_atomic_mutex); 31 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) { 36 mt7601u_wr(dev, MT_RF_CSR_CFG, 42 trace_rf_write(dev, bank, offset, value); 44 mutex_unlock(&dev->reg_atomic_mutex); 47 dev_err(dev 54 mt7601u_rf_rr(struct mt7601u_dev *dev, u8 bank, u8 offset) argument 95 mt7601u_rf_rmw(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask, u8 val) argument 111 mt7601u_rf_set(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 val) argument 117 mt7601u_rf_clear(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask) argument 122 mt7601u_bbp_wr(struct mt7601u_dev *dev, u8 offset, u8 val) argument 144 mt7601u_bbp_rr(struct mt7601u_dev *dev, u8 offset) argument 182 mt7601u_bbp_rmw(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) argument 195 mt7601u_bbp_rmc(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) argument 209 mt7601u_wait_bbp_ready(struct mt7601u_dev *dev) argument 228 mt7601u_bbp_set_ctrlch(struct mt7601u_dev *dev, bool below) argument 233 mt7601u_phy_get_rssi(struct mt7601u_dev *dev, struct mt7601u_rxwi *rxwi, u16 rate) argument 263 mt7601u_vco_cal(struct mt7601u_dev *dev) argument 271 mt7601u_set_bw_filter(struct mt7601u_dev *dev, bool cal) argument 289 mt7601u_load_bbp_temp_table_bw(struct mt7601u_dev *dev) argument 301 mt7601u_bbp_temp(struct mt7601u_dev *dev, int mode, const char *name) argument 322 mt7601u_apply_ch14_fixup(struct mt7601u_dev *dev, int hw_chan) argument 342 __mt7601u_phy_set_channel(struct mt7601u_dev *dev, struct cfg80211_chan_def *chandef) argument 442 mt7601u_phy_set_channel(struct mt7601u_dev *dev, struct cfg80211_chan_def *chandef) argument 484 mt7601u_bbp_r47_get(struct mt7601u_dev *dev, u8 reg, u8 flag) argument 492 mt7601u_read_bootup_temp(struct mt7601u_dev *dev) argument 530 mt7601u_read_temp(struct mt7601u_dev *dev) argument 548 mt7601u_rxdc_cal(struct mt7601u_dev *dev) argument 587 mt7601u_phy_recalibrate_after_assoc(struct mt7601u_dev *dev) argument 630 mt7601u_set_initial_tssi(struct mt7601u_dev *dev, s16 tssi_db, s16 tssi_hvga_db) argument 641 mt7601u_tssi_dc_gain_cal(struct mt7601u_dev *dev) argument 722 mt7601u_temp_comp(struct mt7601u_dev *dev, bool on) argument 774 mt7601u_current_tx_power(struct mt7601u_dev *dev) argument 779 mt7601u_use_hvga(struct mt7601u_dev *dev) argument 785 mt7601u_phy_rf_pa_mode_val(struct mt7601u_dev *dev, int phy_mode, int tx_rate) argument 806 mt7601u_tssi_params_get(struct mt7601u_dev *dev) argument 871 mt7601u_tssi_read_ready(struct mt7601u_dev *dev) argument 876 mt7601u_tssi_cal(struct mt7601u_dev *dev) argument 948 mt7601u_agc_default(struct mt7601u_dev *dev) argument 953 mt7601u_agc_reset(struct mt7601u_dev *dev) argument 960 mt7601u_agc_save(struct mt7601u_dev *dev) argument 965 mt7601u_agc_restore(struct mt7601u_dev *dev) argument 970 mt7601u_agc_tune(struct mt7601u_dev *dev) argument 1004 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, local 1019 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) argument 1078 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, local 1097 mt7601u_phy_con_cal_onoff(struct mt7601u_dev *dev, struct ieee80211_bss_conf *info) argument 1122 mt7601u_init_cal(struct mt7601u_dev *dev) argument 1180 mt7601u_bbp_set_bw(struct mt7601u_dev *dev, int bw) argument 1211 mt7601u_set_rx_path(struct mt7601u_dev *dev, u8 path) argument 1221 mt7601u_set_tx_dac(struct mt7601u_dev *dev, u8 dac) argument 1226 mt7601u_phy_init(struct mt7601u_dev *dev) argument [all...] |
/linux-master/drivers/i2c/busses/ |
H A D | i2c-designware-master.c | 31 static void i2c_dw_configure_fifo_master(struct dw_i2c_dev *dev) argument 34 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); 35 regmap_write(dev->map, DW_IC_RX_TL, 0); 38 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); 41 static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) argument 45 struct i2c_timings *t = &dev->timings; 50 ret = i2c_dw_acquire_lock(dev); 54 ret = regmap_read(dev 176 i2c_dw_init_master(struct dw_i2c_dev *dev) argument 211 i2c_dw_xfer_init(struct dw_i2c_dev *dev) argument 256 i2c_dw_check_stopbit(struct dw_i2c_dev *dev) argument 270 i2c_dw_status(struct dw_i2c_dev *dev) argument 287 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); local 364 i2c_dw_xfer_msg(struct dw_i2c_dev *dev) argument 490 i2c_dw_recv_len(struct dw_i2c_dev *dev, u8 len) argument 517 i2c_dw_read(struct dw_i2c_dev *dev) argument 575 i2c_dw_read_clear_intrbits(struct dw_i2c_dev *dev) argument 636 i2c_dw_process_transfer(struct dw_i2c_dev *dev, unsigned int stat) argument 681 struct dw_i2c_dev *dev = dev_id; local 711 i2c_dw_wait_transfer(struct dw_i2c_dev *dev) argument 744 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); local 843 i2c_dw_configure_master(struct dw_i2c_dev *dev) argument 869 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); local 878 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); local 885 i2c_dw_init_recovery_info(struct dw_i2c_dev *dev) argument 924 i2c_dw_probe_master(struct dw_i2c_dev *dev) argument [all...] |
/linux-master/drivers/misc/mei/ |
H A D | pci-txe.c | 35 static inline void mei_txe_set_pm_domain(struct mei_device *dev); 36 static inline void mei_txe_unset_pm_domain(struct mei_device *dev); 38 static inline void mei_txe_set_pm_domain(struct mei_device *dev) {} argument 39 static inline void mei_txe_unset_pm_domain(struct mei_device *dev) {} argument 52 struct mei_device *dev; local 57 /* enable pci dev */ 60 dev_err(&pdev->dev, "failed to enable pci device.\n"); 68 dev_err(&pdev->dev, "failed to get pci regions.\n"); 72 err = dma_set_mask(&pdev->dev, DMA_BIT_MASK(36)); 74 err = dma_set_mask(&pdev->dev, DMA_BIT_MAS 169 struct mei_device *dev = pci_get_drvdata(pdev); local 190 struct mei_device *dev = pci_get_drvdata(pdev); local 209 struct mei_device *dev = pci_get_drvdata(pdev); local 226 struct mei_device *dev = pci_get_drvdata(pdev); local 259 struct mei_device *dev = dev_get_drvdata(device); local 270 struct mei_device *dev = dev_get_drvdata(device); local 296 struct mei_device *dev = dev_get_drvdata(device); local 322 mei_txe_set_pm_domain(struct mei_device *dev) argument 342 mei_txe_unset_pm_domain(struct mei_device *dev) argument [all...] |
H A D | hbm.c | 91 * @dev: mei device 97 static inline int mei_hbm_write_message(struct mei_device *dev, argument 101 return mei_write_message(dev, hdr, sizeof(*hdr), data, hdr->length); 107 * @dev: the device structure 109 void mei_hbm_idle(struct mei_device *dev) argument 111 dev->init_clients_timer = 0; 112 dev->hbm_state = MEI_HBM_IDLE; 118 * @dev: the device structure 120 void mei_hbm_reset(struct mei_device *dev) argument 122 mei_me_cl_rm_all(dev); 172 mei_hbm_cl_write(struct mei_device *dev, struct mei_cl *cl, u8 hbm_cmd, void *buf, size_t len) argument 208 mei_hbm_cl_find_by_cmd(struct mei_device *dev, void *buf) argument 227 mei_hbm_start_wait(struct mei_device *dev) argument 255 mei_hbm_start_req(struct mei_device *dev) argument 291 mei_hbm_dma_setup_req(struct mei_device *dev) argument 333 mei_hbm_capabilities_req(struct mei_device *dev) argument 372 mei_hbm_enum_clients_req(struct mei_device *dev) argument 408 mei_hbm_me_cl_add(struct mei_device *dev, struct hbm_props_response *res) argument 440 mei_hbm_add_cl_resp(struct mei_device *dev, u8 addr, u8 status) argument 470 mei_hbm_fw_add_cl_req(struct mei_device *dev, struct hbm_add_client_request *req) argument 498 mei_hbm_cl_notify_req(struct mei_device *dev, struct mei_cl *cl, u8 start) argument 542 mei_hbm_cl_notify_start_res(struct mei_device *dev, struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) argument 568 mei_hbm_cl_notify_stop_res(struct mei_device *dev, struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) argument 593 mei_hbm_cl_notify(struct mei_device *dev, struct mei_hbm_cl_cmd *cmd) argument 611 mei_hbm_cl_dma_map_req(struct mei_device *dev, struct mei_cl *cl) argument 642 mei_hbm_cl_dma_unmap_req(struct mei_device *dev, struct mei_cl *cl) argument 662 mei_hbm_cl_dma_map_res(struct mei_device *dev, struct hbm_client_dma_response *res) argument 692 mei_hbm_cl_dma_unmap_res(struct mei_device *dev, struct hbm_client_dma_response *res) argument 730 mei_hbm_prop_req(struct mei_device *dev, unsigned long start_idx) argument 775 mei_hbm_pg(struct mei_device *dev, u8 pg_cmd) argument 803 mei_hbm_stop_req(struct mei_device *dev) argument 825 mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl) argument 842 mei_hbm_add_single_tx_flow_ctrl_creds(struct mei_device *dev, struct hbm_flow_control *fctrl) argument 875 mei_hbm_cl_tx_flow_ctrl_creds_res(struct mei_device *dev, struct hbm_flow_control *fctrl) argument 903 mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl) argument 919 mei_hbm_cl_disconnect_rsp(struct mei_device *dev, struct mei_cl *cl) argument 935 mei_hbm_cl_disconnect_res(struct mei_device *dev, struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) argument 956 mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl) argument 972 mei_hbm_cl_connect_res(struct mei_device *dev, struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) argument 1002 mei_hbm_cl_res(struct mei_device *dev, struct mei_hbm_cl_cmd *rs, enum mei_cb_file_ops fop_type) argument 1057 mei_hbm_fw_disconnect_req(struct mei_device *dev, struct hbm_client_connect_request *disconnect_req) argument 1084 mei_hbm_pg_enter_res(struct mei_device *dev) argument 1104 mei_hbm_pg_resume(struct mei_device *dev) argument 1117 mei_hbm_pg_exit_res(struct mei_device *dev) argument 1156 mei_hbm_config_features(struct mei_device *dev) argument 1237 mei_hbm_version_is_supported(struct mei_device *dev) argument 1253 mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr) argument [all...] |
/linux-master/drivers/platform/x86/amd/pmf/ |
H A D | core.c | 86 struct amd_pmf_dev *dev = seq->private; local 90 mode = amd_pmf_get_pprof_modes(dev); 95 amd_pmf_update_slider(dev, SLIDER_OP_GET, mode, &table); 108 static void amd_pmf_dbgfs_unregister(struct amd_pmf_dev *dev) argument 110 debugfs_remove_recursive(dev->dbgfs_dir); 113 static void amd_pmf_dbgfs_register(struct amd_pmf_dev *dev) argument 115 dev->dbgfs_dir = debugfs_create_dir("amd_pmf", NULL); 116 if (dev->pmf_if_version == PMF_IF_V1) 117 debugfs_create_file("current_power_limits", 0644, dev->dbgfs_dir, dev, 131 struct amd_pmf_dev *dev = container_of(work, struct amd_pmf_dev, work_buffer.work); local 160 amd_pmf_reg_read(struct amd_pmf_dev *dev, int reg_offset) argument 165 amd_pmf_reg_write(struct amd_pmf_dev *dev, int reg_offset, u32 val) argument 170 amd_pmf_dump_registers(struct amd_pmf_dev *dev) argument 184 amd_pmf_send_cmd(struct amd_pmf_dev *dev, u8 message, bool get, u32 arg, u32 *data) argument 255 amd_pmf_set_dram_addr(struct amd_pmf_dev *dev, bool alloc_buffer) argument 277 amd_pmf_init_metrics_table(struct amd_pmf_dev *dev) argument 296 amd_pmf_suspend_handler(struct device *dev) argument 309 amd_pmf_resume_handler(struct device *dev) argument 331 amd_pmf_init_features(struct amd_pmf_dev *dev) argument 362 amd_pmf_deinit_features(struct amd_pmf_dev *dev) argument 391 struct amd_pmf_dev *dev; local 464 struct amd_pmf_dev *dev = platform_get_drvdata(pdev); local [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | dma.c | 15 mt7622_init_tx_queues_multi(struct mt7615_dev *dev) argument 27 ret = mt76_init_tx_queue(&dev->mphy, i, wmm_queue_map[i], 34 ret = mt76_init_tx_queue(&dev->mphy, MT_TXQ_PSD, MT7622_TXQ_MGMT, 40 return mt76_init_mcu_queue(&dev->mt76, MT_MCUQ_WM, MT7622_TXQ_MCU, 45 mt7615_init_tx_queues(struct mt7615_dev *dev) argument 49 ret = mt76_init_mcu_queue(&dev->mt76, MT_MCUQ_FWDL, MT7615_TXQ_FWDL, 54 if (!is_mt7615(&dev->mt76)) 55 return mt7622_init_tx_queues_multi(dev); 57 ret = mt76_connac_init_tx_queues(&dev->mphy, 0, MT7615_TX_RING_SIZE, 62 return mt76_init_mcu_queue(&dev 68 struct mt7615_dev *dev; local 89 struct mt7615_dev *dev; local 105 mt7615_wait_pdma_busy(struct mt7615_dev *dev) argument 142 mt7622_dma_sched_init(struct mt7615_dev *dev) argument 166 mt7663_dma_sched_init(struct mt7615_dev *dev) argument 201 mt7615_dma_start(struct mt7615_dev *dev) argument 220 mt7615_dma_init(struct mt7615_dev *dev) argument 308 mt7615_dma_cleanup(struct mt7615_dev *dev) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | usb_main.c | 11 struct mt76x02_dev *dev = hw->priv; local 14 ret = mt76x02u_mac_start(dev); 18 ieee80211_queue_delayed_work(mt76_hw(dev), &dev->mphy.mac_work, 20 set_bit(MT76_STATE_RUNNING, &dev->mphy.state); 27 struct mt76x02_dev *dev = hw->priv; local 29 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); 30 mt76u_stop_tx(&dev->mt76); 31 mt76x2u_stop_hw(dev); 35 mt76x2u_set_channel(struct mt76x02_dev *dev, argument 67 struct mt76x02_dev *dev = hw->priv; local [all...] |
H A D | mt76x2.h | 26 static inline bool is_mt7612(struct mt76x02_dev *dev) argument 28 return mt76_chip(&dev->mt76) == 0x7612; 31 static inline bool mt76x2_channel_silent(struct mt76x02_dev *dev) argument 33 struct ieee80211_channel *chan = dev->mphy.chandef.chan; 41 int mt76x2_register_device(struct mt76x02_dev *dev); 42 int mt76x2_resume_device(struct mt76x02_dev *dev); 46 void mt76x2_phy_power_on(struct mt76x02_dev *dev); 47 void mt76x2_stop_hardware(struct mt76x02_dev *dev); 48 int mt76x2_eeprom_init(struct mt76x02_dev *dev); 49 int mt76x2_apply_calibration_data(struct mt76x02_dev *dev, in [all...] |
/linux-master/drivers/media/usb/cx231xx/ |
H A D | cx231xx-input.c | 23 dev_dbg(&ir->rc->dev, "%s\n", __func__); 41 dev_dbg(&ir->rc->dev, "cmd %02x, scan = %02x\n", cmd, scancode); 49 int cx231xx_ir_init(struct cx231xx *dev) argument 54 dev_dbg(dev->dev, "%s\n", __func__); 57 if (!cx231xx_boards[dev->model].rc_map_name) 63 memset(&dev->init_data, 0, sizeof(dev->init_data)); 64 dev->init_data.rc_dev = rc_allocate_device(RC_DRIVER_SCANCODE); 65 if (!dev 97 cx231xx_ir_exit(struct cx231xx *dev) argument [all...] |
/linux-master/drivers/usb/misc/ |
H A D | chaoskey.c | 10 * entropy for /dev/random and other kernel activities. It also offers 11 * a separate /dev/ entry to allow for direct access to the random 31 dev_dbg(&(usb_if)->dev, format, ## arg) 34 dev_err(&(usb_if)->dev, format, ## arg) 94 static void chaoskey_free(struct chaoskey *dev) argument 96 if (dev) { 97 usb_dbg(dev->interface, "free"); 98 usb_free_urb(dev->urb); 99 kfree(dev->name); 100 kfree(dev 113 struct chaoskey *dev; local 221 struct chaoskey *dev; local 252 struct chaoskey *dev; local 279 struct chaoskey *dev = file->private_data; local 316 struct chaoskey *dev = urb->context; local 337 _chaoskey_fill(struct chaoskey *dev) argument 411 struct chaoskey *dev; local 481 struct chaoskey *dev = container_of(rng, struct chaoskey, hwrng); local 532 struct chaoskey *dev; local [all...] |
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | phy.c | 70 static void b43legacy_phy_initg(struct b43legacy_wldev *dev); 74 void b43legacy_phy_lock(struct b43legacy_wldev *dev) argument 77 B43legacy_WARN_ON(dev->phy.phy_locked); 78 dev->phy.phy_locked = 1; 81 if (dev->dev->id.revision < 3) { 82 b43legacy_mac_suspend(dev); 84 if (!b43legacy_is_mode(dev->wl, NL80211_IFTYPE_AP)) 85 b43legacy_power_saving_ctl_bits(dev, -1, 1); 89 void b43legacy_phy_unlock(struct b43legacy_wldev *dev) argument 104 b43legacy_phy_read(struct b43legacy_wldev *dev, u16 offset) argument 110 b43legacy_phy_write(struct b43legacy_wldev *dev, u16 offset, u16 val) argument 116 b43legacy_phy_calibrate(struct b43legacy_wldev *dev) argument 134 b43legacy_phy_init_pctl(struct b43legacy_wldev *dev) argument 193 b43legacy_phy_agcsetup(struct b43legacy_wldev *dev) argument 309 b43legacy_phy_setupg(struct b43legacy_wldev *dev) argument 411 b43legacy_phy_inita(struct b43legacy_wldev *dev) argument 421 b43legacy_phy_initb2(struct b43legacy_wldev *dev) argument 470 b43legacy_phy_initb4(struct b43legacy_wldev *dev) argument 526 b43legacy_phy_initb5(struct b43legacy_wldev *dev) argument 641 b43legacy_phy_initb6(struct b43legacy_wldev *dev) argument 784 b43legacy_calc_loopback_gain(struct b43legacy_wldev *dev) argument 983 b43legacy_phy_initg(struct b43legacy_wldev *dev) argument 1099 b43legacy_phy_lo_b_r15_loop(struct b43legacy_wldev *dev) argument 1121 b43legacy_phy_lo_b_measure(struct b43legacy_wldev *dev) argument 1216 b43legacy_phy_lo_g_deviation_subval(struct b43legacy_wldev *dev, u16 control) argument 1250 b43legacy_phy_lo_g_singledeviation(struct b43legacy_wldev *dev, u16 control) argument 1264 b43legacy_lo_write(struct b43legacy_wldev *dev, struct b43legacy_lopair *pair) argument 1288 b43legacy_find_lopair(struct b43legacy_wldev *dev, u16 bbatt, u16 rfatt, u16 tx) argument 1306 b43legacy_current_lopair(struct b43legacy_wldev *dev) argument 1315 b43legacy_phy_lo_adjust(struct b43legacy_wldev *dev, int fixed) argument 1327 b43legacy_phy_lo_g_measure_txctl2(struct b43legacy_wldev *dev) argument 1351 b43legacy_phy_lo_g_state(struct b43legacy_wldev *dev, const struct b43legacy_lopair *in_pair, struct b43legacy_lopair *out_pair, u16 r27) argument 1441 b43legacy_phy_set_baseband_attenuation(struct b43legacy_wldev *dev, u16 bbatt) argument 1465 b43legacy_phy_lo_g_measure(struct b43legacy_wldev *dev) argument 1704 b43legacy_phy_lo_mark_current_used(struct b43legacy_wldev *dev) argument 1712 b43legacy_phy_lo_mark_all_unused(struct b43legacy_wldev *dev) argument 1727 b43legacy_phy_estimate_power_out(struct b43legacy_wldev *dev, s8 tssi) argument 1751 b43legacy_phy_xmitpower(struct b43legacy_wldev *dev) argument 1969 b43legacy_phy_init_tssi2dbm_table(struct b43legacy_wldev *dev) argument 2033 b43legacy_phy_init(struct b43legacy_wldev *dev) argument 2070 b43legacy_phy_set_antenna_diversity(struct b43legacy_wldev *dev) argument 2194 b43legacy_power_saving_ctl_bits(struct b43legacy_wldev *dev, int bit25, int bit26) argument [all...] |
/linux-master/drivers/ssb/ |
H A D | driver_gige.c | 32 static inline u8 gige_read8(struct ssb_gige *dev, u16 offset) argument 34 return ssb_read8(dev->dev, offset); 37 static inline u16 gige_read16(struct ssb_gige *dev, u16 offset) argument 39 return ssb_read16(dev->dev, offset); 42 static inline u32 gige_read32(struct ssb_gige *dev, u16 offset) argument 44 return ssb_read32(dev->dev, offset); 47 static inline void gige_write8(struct ssb_gige *dev, argument 53 gige_write16(struct ssb_gige *dev, u16 offset, u16 value) argument 59 gige_write32(struct ssb_gige *dev, u16 offset, u32 value) argument 66 gige_pcicfg_read8(struct ssb_gige *dev, unsigned int offset) argument 73 gige_pcicfg_read16(struct ssb_gige *dev, unsigned int offset) argument 80 gige_pcicfg_read32(struct ssb_gige *dev, unsigned int offset) argument 87 gige_pcicfg_write8(struct ssb_gige *dev, unsigned int offset, u8 value) argument 95 gige_pcicfg_write16(struct ssb_gige *dev, unsigned int offset, u16 value) argument 103 gige_pcicfg_write32(struct ssb_gige *dev, unsigned int offset, u32 value) argument 113 struct ssb_gige *dev = container_of(bus->ops, struct ssb_gige, pci_ops); local 143 struct ssb_gige *dev = container_of(bus->ops, struct ssb_gige, pci_ops); local 173 struct ssb_gige *dev; local 253 struct ssb_gige *dev = ssb_get_drvdata(sdev); local 278 struct ssb_gige *dev = ssb_get_drvdata(sdev); local [all...] |