/openbmc/linux/net/core/ |
H A D | link_watch.c | 36 static unsigned char default_operstate(const struct net_device *dev) in default_operstate() argument 38 if (netif_testing(dev)) in default_operstate() 44 if (!netif_carrier_ok(dev)) { in default_operstate() 51 if (dev->reg_state <= NETREG_REGISTERED) in default_operstate() 52 iflink = dev_get_iflink(dev); in default_operstate() 54 iflink = dev->ifindex; in default_operstate() 56 if (iflink == dev->ifindex) in default_operstate() 60 peer = __dev_get_by_index(dev_net(dev), iflink); in default_operstate() 68 if (netif_dormant(dev)) in default_operstate() 75 static void rfc2863_policy(struct net_device *dev) in rfc2863_policy() argument [all …]
|
/openbmc/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-core.c | 247 struct saa7164_dev *dev = port->dev; in saa7164_work_enchandler_helper() local 353 struct saa7164_dev *dev = port->dev; in saa7164_work_enchandler() local 429 struct saa7164_dev *dev = port->dev; in saa7164_work_vbihandler() local 502 struct saa7164_dev *dev = container_of(w, struct saa7164_dev, workcmd); in saa7164_work_cmdhandler() local 505 saa7164_irq_dequeue(dev); in saa7164_work_cmdhandler() 520 struct saa7164_dev *dev = port->dev; in saa7164_irq_vbi() local 545 struct saa7164_dev *dev = port->dev; in saa7164_irq_encoder() local 569 struct saa7164_dev *dev = port->dev; in saa7164_irq_ts() local 607 struct saa7164_dev *dev = dev_id; in saa7164_irq() local 613 if (dev == NULL) { in saa7164_irq() [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | max9271.c | 25 static int max9271_read(struct max9271_device *dev, u8 reg) in max9271_read() argument 29 dev_dbg(&dev->client->dev, "%s(0x%02x)\n", __func__, reg); in max9271_read() 31 ret = i2c_smbus_read_byte_data(dev->client, reg); in max9271_read() 33 dev_dbg(&dev->client->dev, in max9271_read() 40 static int max9271_write(struct max9271_device *dev, u8 reg, u8 val) in max9271_write() argument 44 dev_dbg(&dev->client->dev, "%s(0x%02x, 0x%02x)\n", __func__, reg, val); in max9271_write() 46 ret = i2c_smbus_write_byte_data(dev->client, reg, val); in max9271_write() 48 dev_err(&dev->client->dev, in max9271_write() 62 static int max9271_pclk_detect(struct max9271_device *dev) in max9271_pclk_detect() argument 68 ret = max9271_read(dev, 0x15); in max9271_pclk_detect() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | usb_mcu.c | 21 static void mt76x2u_mcu_load_ivb(struct mt76x02_dev *dev) in mt76x2u_mcu_load_ivb() argument 23 mt76u_vendor_request(&dev->mt76, MT_VEND_DEV_MODE, in mt76x2u_mcu_load_ivb() 28 static void mt76x2u_mcu_enable_patch(struct mt76x02_dev *dev) in mt76x2u_mcu_enable_patch() argument 30 struct mt76_usb *usb = &dev->mt76.usb; in mt76x2u_mcu_enable_patch() 38 mt76u_vendor_request(&dev->mt76, MT_VEND_DEV_MODE, in mt76x2u_mcu_enable_patch() 43 static void mt76x2u_mcu_reset_wmt(struct mt76x02_dev *dev) in mt76x2u_mcu_reset_wmt() argument 45 struct mt76_usb *usb = &dev->mt76.usb; in mt76x2u_mcu_reset_wmt() 52 mt76u_vendor_request(&dev->mt76, MT_VEND_DEV_MODE, in mt76x2u_mcu_reset_wmt() 57 static int mt76x2u_mcu_load_rom_patch(struct mt76x02_dev *dev) in mt76x2u_mcu_load_rom_patch() argument 59 bool rom_protect = !is_mt7612(dev); in mt76x2u_mcu_load_rom_patch() [all …]
|
H A D | usb_mac.c | 9 static void mt76x2u_mac_fixup_xtal(struct mt76x02_dev *dev) in mt76x2u_mac_fixup_xtal() argument 14 eep_val = mt76x02_eeprom_get(dev, MT_EE_XTAL_TRIM_2); in mt76x2u_mac_fixup_xtal() 24 eep_val = mt76x02_eeprom_get(dev, MT_EE_XTAL_TRIM_1); in mt76x2u_mac_fixup_xtal() 32 mt76_rmw_field(dev, MT_VEND_ADDR(CFG, MT_XO_CTRL5), in mt76x2u_mac_fixup_xtal() 34 mt76_set(dev, MT_VEND_ADDR(CFG, MT_XO_CTRL6), MT_XO_CTRL6_C2_CTRL); in mt76x2u_mac_fixup_xtal() 36 mt76_wr(dev, 0x504, 0x06000000); in mt76x2u_mac_fixup_xtal() 37 mt76_wr(dev, 0x50c, 0x08800000); in mt76x2u_mac_fixup_xtal() 39 mt76_wr(dev, 0x504, 0x0); in mt76x2u_mac_fixup_xtal() 42 mt76_rmw_field(dev, MT_XIFS_TIME_CFG, in mt76x2u_mac_fixup_xtal() 44 mt76_rmw_field(dev, MT_BKOFF_SLOT_CFG, MT_BKOFF_SLOT_CFG_CC_DELAY, 1); in mt76x2u_mac_fixup_xtal() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mac.c | 24 mt76_stop_tx_ac(struct mt7603_dev *dev, u32 mask) in mt76_stop_tx_ac() argument 26 mt76_set(dev, MT_WF_ARB_TX_STOP_0, mt7603_ac_queue_mask0(mask)); in mt76_stop_tx_ac() 30 mt76_start_tx_ac(struct mt7603_dev *dev, u32 mask) in mt76_start_tx_ac() argument 32 mt76_set(dev, MT_WF_ARB_TX_START_0, mt7603_ac_queue_mask0(mask)); in mt76_start_tx_ac() 35 void mt7603_mac_reset_counters(struct mt7603_dev *dev) in mt7603_mac_reset_counters() argument 40 mt76_rr(dev, MT_TX_AGG_CNT(i)); in mt7603_mac_reset_counters() 42 memset(dev->mphy.aggr_stats, 0, sizeof(dev->mphy.aggr_stats)); in mt7603_mac_reset_counters() 45 void mt7603_mac_set_timing(struct mt7603_dev *dev) in mt7603_mac_set_timing() argument 51 int offset = 3 * dev->coverage_class; in mt7603_mac_set_timing() 54 bool is_5ghz = dev->mphy.chandef.chan->band == NL80211_BAND_5GHZ; in mt7603_mac_set_timing() [all …]
|
/openbmc/linux/drivers/base/power/ |
H A D | power.h | 4 static inline void device_pm_init_common(struct device *dev) in device_pm_init_common() argument 6 if (!dev->power.early_init) { in device_pm_init_common() 7 spin_lock_init(&dev->power.lock); in device_pm_init_common() 8 dev->power.qos = NULL; in device_pm_init_common() 9 dev->power.early_init = true; in device_pm_init_common() 15 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init() argument 17 dev->power.disable_depth = 1; in pm_runtime_early_init() 18 device_pm_init_common(dev); in pm_runtime_early_init() 21 extern void pm_runtime_init(struct device *dev); 22 extern void pm_runtime_reinit(struct device *dev); [all …]
|
/openbmc/linux/drivers/pnp/pnpacpi/ |
H A D | core.c | 43 static int pnpacpi_get_resources(struct pnp_dev *dev) in pnpacpi_get_resources() argument 45 pnp_dbg(&dev->dev, "get resources\n"); in pnpacpi_get_resources() 46 return pnpacpi_parse_allocated_resource(dev); in pnpacpi_get_resources() 49 static int pnpacpi_set_resources(struct pnp_dev *dev) in pnpacpi_set_resources() argument 55 pnp_dbg(&dev->dev, "set resources\n"); in pnpacpi_set_resources() 57 acpi_dev = ACPI_COMPANION(&dev->dev); in pnpacpi_set_resources() 59 dev_dbg(&dev->dev, "ACPI device not found in %s!\n", __func__); in pnpacpi_set_resources() 63 if (WARN_ON_ONCE(acpi_dev != dev->data)) in pnpacpi_set_resources() 64 dev->data = acpi_dev; in pnpacpi_set_resources() 70 ret = pnpacpi_build_resource_template(dev, &buffer); in pnpacpi_set_resources() [all …]
|
/openbmc/linux/drivers/platform/x86/amd/pmc/ |
H A D | pmc.c | 151 static int amd_pmc_send_cmd(struct amd_pmc_dev *dev, u32 arg, u32 *data, u8 msg, bool ret); 152 static int amd_pmc_read_stb(struct amd_pmc_dev *dev, u32 *buf); 153 static int amd_pmc_write_stb(struct amd_pmc_dev *dev, u32 data); 155 static inline u32 amd_pmc_reg_read(struct amd_pmc_dev *dev, int reg_offset) in amd_pmc_reg_read() argument 157 return ioread32(dev->regbase + reg_offset); in amd_pmc_reg_read() 160 static inline void amd_pmc_reg_write(struct amd_pmc_dev *dev, int reg_offset, u32 val) in amd_pmc_reg_write() argument 162 iowrite32(val, dev->regbase + reg_offset); in amd_pmc_reg_write() 184 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_pmc_stb_debugfs_open() local 193 rc = amd_pmc_read_stb(dev, buf); in amd_pmc_stb_debugfs_open() 228 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_pmc_stb_debugfs_open_v2() local [all …]
|
/openbmc/linux/block/ |
H A D | sed-opal.c | 38 int (*fn)(struct opal_dev *dev, void *data); 41 typedef int (cont_fn)(struct opal_dev *dev); 222 static int end_opal_session_error(struct opal_dev *dev); 223 static int opal_discovery0_step(struct opal_dev *dev); 334 static int opal_get_key(struct opal_dev *dev, struct opal_key *key) in opal_get_key() argument 455 static int opal_send_cmd(struct opal_dev *dev) in opal_send_cmd() argument 457 return dev->send_recv(dev->data, dev->comid, TCG_SECP_01, in opal_send_cmd() 458 dev->cmd, IO_BUFFER_LENGTH, in opal_send_cmd() 462 static int opal_recv_cmd(struct opal_dev *dev) in opal_recv_cmd() argument 464 return dev->send_recv(dev->data, dev->comid, TCG_SECP_01, in opal_recv_cmd() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | armada_37xx_wdt.c | 84 static u64 get_counter_value(struct armada_37xx_watchdog *dev, int id) in get_counter_value() argument 92 val = readl(dev->reg + CNTR_COUNT_LOW(id)); in get_counter_value() 93 val |= ((u64)readl(dev->reg + CNTR_COUNT_HIGH(id))) << 32; in get_counter_value() 98 static void set_counter_value(struct armada_37xx_watchdog *dev, int id, u64 val) in set_counter_value() argument 100 writel(val & 0xffffffff, dev->reg + CNTR_COUNT_LOW(id)); in set_counter_value() 101 writel(val >> 32, dev->reg + CNTR_COUNT_HIGH(id)); in set_counter_value() 104 static void counter_enable(struct armada_37xx_watchdog *dev, int id) in counter_enable() argument 108 reg = readl(dev->reg + CNTR_CTRL(id)); in counter_enable() 110 writel(reg, dev->reg + CNTR_CTRL(id)); in counter_enable() 113 static void counter_disable(struct armada_37xx_watchdog *dev, int id) in counter_disable() argument [all …]
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | drivers.c | 48 static inline int check_dev(struct device *dev) in check_dev() argument 50 if (dev->bus == &parisc_bus_type) { in check_dev() 52 pdev = to_parisc_device(dev); in check_dev() 66 static int descend_children(struct device * dev, void * data) in descend_children() argument 70 if (recurse_data->fn(dev, recurse_data->obj)) in descend_children() 73 return device_for_each_child(dev, recurse_data, descend_children); in descend_children() 100 static int match_device(struct parisc_driver *driver, struct parisc_device *dev) in match_device() argument 106 (ids->sversion != dev->id.sversion)) in match_device() 110 (ids->hw_type != dev->id.hw_type)) in match_device() 114 (ids->hversion != dev->id.hversion)) in match_device() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-at91-slave.c | 17 struct at91_twi_dev *dev = dev_id; in atmel_twi_interrupt_slave() local 18 const unsigned status = at91_twi_read(dev, AT91_TWI_SR); in atmel_twi_interrupt_slave() 19 const unsigned irqstatus = status & at91_twi_read(dev, AT91_TWI_IMR); in atmel_twi_interrupt_slave() 28 i2c_slave_event(dev->slave, in atmel_twi_interrupt_slave() 30 writeb_relaxed(value, dev->base + AT91_TWI_THR); in atmel_twi_interrupt_slave() 31 at91_twi_write(dev, AT91_TWI_IER, in atmel_twi_interrupt_slave() 34 i2c_slave_event(dev->slave, in atmel_twi_interrupt_slave() 36 at91_twi_write(dev, AT91_TWI_IER, in atmel_twi_interrupt_slave() 39 at91_twi_write(dev, AT91_TWI_IDR, AT91_TWI_SVACC); in atmel_twi_interrupt_slave() 44 i2c_slave_event(dev->slave, I2C_SLAVE_READ_PROCESSED, &value); in atmel_twi_interrupt_slave() [all …]
|
/openbmc/linux/drivers/net/ethernet/apple/ |
H A D | bmac.c | 142 static int bmac_open(struct net_device *dev); 143 static int bmac_close(struct net_device *dev); 144 static int bmac_transmit_packet(struct sk_buff *skb, struct net_device *dev); 145 static void bmac_set_multicast(struct net_device *dev); 146 static void bmac_reset_and_enable(struct net_device *dev); 147 static void bmac_start_chip(struct net_device *dev); 148 static void bmac_init_chip(struct net_device *dev); 149 static void bmac_init_registers(struct net_device *dev); 150 static void bmac_enable_and_reset_chip(struct net_device *dev); 151 static int bmac_set_address(struct net_device *dev, void *addr); [all …]
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A D | uvc_status.c | 23 static bool uvc_input_has_button(struct uvc_device *dev) in uvc_input_has_button() argument 33 list_for_each_entry(stream, &dev->streams, list) { in uvc_input_has_button() 42 static int uvc_input_init(struct uvc_device *dev) in uvc_input_init() argument 47 if (!uvc_input_has_button(dev)) in uvc_input_init() 54 usb_make_path(dev->udev, dev->input_phys, sizeof(dev->input_phys)); in uvc_input_init() 55 strlcat(dev->input_phys, "/button", sizeof(dev->input_phys)); in uvc_input_init() 57 input->name = dev->name; in uvc_input_init() 58 input->phys = dev->input_phys; in uvc_input_init() 59 usb_to_input_id(dev->udev, &input->id); in uvc_input_init() 60 input->dev.parent = &dev->intf->dev; in uvc_input_init() [all …]
|
/openbmc/linux/net/bluetooth/rfcomm/ |
H A D | tty.c | 82 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_destruct() local 83 struct rfcomm_dlc *dlc = dev->dlc; in rfcomm_dev_destruct() 85 BT_DBG("dev %p dlc %p", dev, dlc); in rfcomm_dev_destruct() 89 if (dlc->owner == dev) in rfcomm_dev_destruct() 95 if (dev->tty_dev) in rfcomm_dev_destruct() 96 tty_unregister_device(rfcomm_tty_driver, dev->id); in rfcomm_dev_destruct() 99 list_del(&dev->list); in rfcomm_dev_destruct() 102 kfree(dev); in rfcomm_dev_destruct() 112 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_activate() local 115 err = rfcomm_dlc_open(dev->dlc, &dev->src, &dev->dst, dev->channel); in rfcomm_dev_activate() [all …]
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | com90io.c | 47 static int com90io_found(struct net_device *dev); 48 static void com90io_command(struct net_device *dev, int command); 49 static int com90io_status(struct net_device *dev); 50 static void com90io_setmask(struct net_device *dev, int mask); 51 static int com90io_reset(struct net_device *dev, int really_reset); 52 static void com90io_copy_to_card(struct net_device *dev, int bufnum, int offset, 54 static void com90io_copy_from_card(struct net_device *dev, int bufnum, 71 static u_char get_buffer_byte(struct net_device *dev, unsigned offset) in get_buffer_byte() argument 73 int ioaddr = dev->base_addr; in get_buffer_byte() 82 static void put_buffer_byte(struct net_device *dev, unsigned offset, in put_buffer_byte() argument [all …]
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 114 bool vu_has_feature(VuDev *dev, in vu_has_feature() argument 117 return has_feature(dev->features, fbit); in vu_has_feature() 120 static inline bool vu_has_protocol_feature(VuDev *dev, unsigned int fbit) in vu_has_protocol_feature() argument 122 return has_feature(dev->protocol_features, fbit); in vu_has_protocol_feature() 179 vu_panic(VuDev *dev, const char *msg, ...) in vu_panic() argument 190 dev->broken = true; in vu_panic() 191 dev->panic(dev, buf); in vu_panic() 202 vu_gpa_to_mem_region(VuDev *dev, uint64_t guest_addr) in vu_gpa_to_mem_region() argument 205 int high = dev->nregions - 1; in vu_gpa_to_mem_region() 217 VuDevRegion *cur = &dev->regions[mid]; in vu_gpa_to_mem_region() [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | regulator-uclass.c | 14 int regulator_mode(struct udevice *dev, struct dm_regulator_mode **modep) in regulator_mode() argument 20 uc_pdata = dev_get_uclass_platdata(dev); in regulator_mode() 28 int regulator_get_value(struct udevice *dev) in regulator_get_value() argument 30 const struct dm_regulator_ops *ops = dev_get_driver_ops(dev); in regulator_get_value() 35 return ops->get_value(dev); in regulator_get_value() 38 static void regulator_set_value_ramp_delay(struct udevice *dev, int old_uV, in regulator_set_value_ramp_delay() argument 43 debug("regulator %s: delay %u us (%d uV -> %d uV)\n", dev->name, delay, in regulator_set_value_ramp_delay() 49 int regulator_set_value(struct udevice *dev, int uV) in regulator_set_value() argument 51 const struct dm_regulator_ops *ops = dev_get_driver_ops(dev); in regulator_set_value() 55 uc_pdata = dev_get_uclass_platdata(dev); in regulator_set_value() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | health.c | 70 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev) in mlx5_get_nic_state() argument 72 return (ioread32be(&dev->iseg->cmdq_addr_l_sz) >> 8) & 7; in mlx5_get_nic_state() 75 void mlx5_set_nic_state(struct mlx5_core_dev *dev, u8 state) in mlx5_set_nic_state() argument 79 cur_cmdq_addr_l_sz = ioread32be(&dev->iseg->cmdq_addr_l_sz); in mlx5_set_nic_state() 82 &dev->iseg->cmdq_addr_l_sz); in mlx5_set_nic_state() 85 static bool sensor_pci_not_working(struct mlx5_core_dev *dev) in sensor_pci_not_working() argument 87 struct mlx5_core_health *health = &dev->priv.health; in sensor_pci_not_working() 99 static bool sensor_fw_synd_rfr(struct mlx5_core_dev *dev) in sensor_fw_synd_rfr() argument 101 struct mlx5_core_health *health = &dev->priv.health; in sensor_fw_synd_rfr() 109 mlx5_core_dbg(dev, "FW requests reset, synd: %d\n", synd); in sensor_fw_synd_rfr() [all …]
|
H A D | dev.c | 45 static bool is_eth_rep_supported(struct mlx5_core_dev *dev) in is_eth_rep_supported() argument 50 if (!MLX5_ESWITCH_MANAGER(dev)) in is_eth_rep_supported() 53 if (!is_mdev_switchdev_mode(dev)) in is_eth_rep_supported() 59 bool mlx5_eth_supported(struct mlx5_core_dev *dev) in mlx5_eth_supported() argument 64 if (MLX5_CAP_GEN(dev, port_type) != MLX5_CAP_PORT_TYPE_ETH) in mlx5_eth_supported() 67 if (!MLX5_CAP_GEN(dev, eth_net_offloads)) { in mlx5_eth_supported() 68 mlx5_core_warn(dev, "Missing eth_net_offloads capability\n"); in mlx5_eth_supported() 72 if (!MLX5_CAP_GEN(dev, nic_flow_table)) { in mlx5_eth_supported() 73 mlx5_core_warn(dev, "Missing nic_flow_table capability\n"); in mlx5_eth_supported() 77 if (!MLX5_CAP_ETH(dev, csum_cap)) { in mlx5_eth_supported() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | fc2580.c | 20 static int fc2580_wr_reg_ff(struct fc2580_dev *dev, u8 reg, u8 val) in fc2580_wr_reg_ff() argument 25 return regmap_write(dev->regmap, reg, val); in fc2580_wr_reg_ff() 28 static int fc2580_set_params(struct fc2580_dev *dev) in fc2580_set_params() argument 30 struct i2c_client *client = dev->client; in fc2580_set_params() 37 if (!dev->active) { in fc2580_set_params() 38 dev_dbg(&client->dev, "tuner is sleeping\n"); in fc2580_set_params() 58 if (dev->f_frequency <= fc2580_pll_lut[i].freq) in fc2580_set_params() 67 #define F_REF dev->clk in fc2580_set_params() 69 f_vco = (u64) dev->f_frequency * div_out; in fc2580_set_params() 94 dev_dbg(&client->dev, in fc2580_set_params() [all …]
|
/openbmc/linux/drivers/net/ethernet/cirrus/ |
H A D | cs89x0.c | 163 #define tx_done(dev) 1 argument 225 readreg(struct net_device *dev, u16 regno) in readreg() argument 227 struct net_local *lp = netdev_priv(dev); in readreg() 234 writereg(struct net_device *dev, u16 regno, u16 value) in writereg() argument 236 struct net_local *lp = netdev_priv(dev); in writereg() 243 wait_eeprom_ready(struct net_device *dev) in wait_eeprom_ready() argument 250 while (readreg(dev, PP_SelfST) & SI_BUSY) in wait_eeprom_ready() 257 get_eeprom_data(struct net_device *dev, int off, int len, int *buffer) in get_eeprom_data() argument 263 if (wait_eeprom_ready(dev) < 0) in get_eeprom_data() 266 writereg(dev, PP_EECMD, (off + i) | EEPROM_READ_CMD); in get_eeprom_data() [all …]
|
/openbmc/linux/drivers/net/ethernet/3com/ |
H A D | 3c589_cs.c | 164 static void tc589_reset(struct net_device *dev); 166 static int el3_config(struct net_device *dev, struct ifmap *map); 167 static int el3_open(struct net_device *dev); 169 struct net_device *dev); 171 static void update_stats(struct net_device *dev); 172 static struct net_device_stats *el3_get_stats(struct net_device *dev); 173 static int el3_rx(struct net_device *dev); 174 static int el3_close(struct net_device *dev); 175 static void el3_tx_timeout(struct net_device *dev, unsigned int txqueue); 176 static void set_rx_mode(struct net_device *dev); [all …]
|
/openbmc/linux/drivers/misc/mei/ |
H A D | mei_dev.h | 283 struct mei_device *dev; member 349 bool (*host_is_ready)(struct mei_device *dev); 351 bool (*hw_is_ready)(struct mei_device *dev); 352 int (*hw_reset)(struct mei_device *dev, bool enable); 353 int (*hw_start)(struct mei_device *dev); 354 int (*hw_config)(struct mei_device *dev); 356 int (*fw_status)(struct mei_device *dev, struct mei_fw_status *fw_sts); 357 int (*trc_status)(struct mei_device *dev, u32 *trc); 359 enum mei_pg_state (*pg_state)(struct mei_device *dev); 360 bool (*pg_in_transition)(struct mei_device *dev); [all …]
|