/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 116 static void qede_recovery_handler(struct qede_dev *edev); 119 static void qede_get_eth_tlv_data(void *edev, void *data); 120 static void qede_get_generic_tlv_data(void *edev, 122 static void qede_generic_hw_err_handler(struct qede_dev *edev); 127 struct qede_dev *edev = netdev_priv(ndev); in qede_set_vf_vlan() local 130 DP_NOTICE(edev, "Illegal vlan value %d\n", vlan); in qede_set_vf_vlan() 137 DP_VERBOSE(edev, QED_MSG_IOV, "Setting Vlan 0x%04x to VF [%d]\n", in qede_set_vf_vlan() 140 return edev->ops->iov->set_vlan(edev->cdev, vlan, vf); in qede_set_vf_vlan() 145 struct qede_dev *edev = netdev_priv(ndev); in qede_set_vf_mac() local 147 DP_VERBOSE(edev, QED_MSG_IOV, "Setting MAC %pM to VF [%d]\n", mac, vfidx); in qede_set_vf_mac() [all …]
|
D | qede_rdma.c | 23 static void _qede_rdma_dev_add(struct qede_dev *edev) in _qede_rdma_dev_add() argument 29 edev->rdma_info.exp_recovery = false; in _qede_rdma_dev_add() 30 edev->rdma_info.qedr_dev = qedr_drv->add(edev->cdev, edev->pdev, in _qede_rdma_dev_add() 31 edev->ndev); in _qede_rdma_dev_add() 34 static int qede_rdma_create_wq(struct qede_dev *edev) in qede_rdma_create_wq() argument 36 INIT_LIST_HEAD(&edev->rdma_info.rdma_event_list); in qede_rdma_create_wq() 37 kref_init(&edev->rdma_info.refcnt); in qede_rdma_create_wq() 38 init_completion(&edev->rdma_info.event_comp); in qede_rdma_create_wq() 40 edev->rdma_info.rdma_wq = create_singlethread_workqueue("rdma_wq"); in qede_rdma_create_wq() 41 if (!edev->rdma_info.rdma_wq) { in qede_rdma_create_wq() [all …]
|
D | qede_ethtool.c | 289 static void qede_get_strings_stats_txq(struct qede_dev *edev, in qede_get_strings_stats_txq() argument 297 QEDE_TXQ_XDP_TO_IDX(edev, txq), in qede_get_strings_stats_txq() 306 static void qede_get_strings_stats_rxq(struct qede_dev *edev, in qede_get_strings_stats_rxq() argument 318 static bool qede_is_irrelevant_stat(struct qede_dev *edev, int stat_index) in qede_is_irrelevant_stat() argument 320 return (IS_VF(edev) && QEDE_STAT_IS_PF_ONLY(stat_index)) || in qede_is_irrelevant_stat() 321 (QEDE_IS_BB(edev) && QEDE_STAT_IS_AH_ONLY(stat_index)) || in qede_is_irrelevant_stat() 322 (QEDE_IS_AH(edev) && QEDE_STAT_IS_BB_ONLY(stat_index)); in qede_is_irrelevant_stat() 325 static void qede_get_strings_stats(struct qede_dev *edev, u8 *buf) in qede_get_strings_stats() argument 331 for (i = 0; i < QEDE_QUEUE_CNT(edev); i++) { in qede_get_strings_stats() 332 fp = &edev->fp_array[i]; in qede_get_strings_stats() [all …]
|
D | qede_dcbnl.c | 15 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getstate() local 17 return edev->ops->dcb->getstate(edev->cdev); in qede_dcbnl_getstate() 22 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_setstate() local 24 return edev->ops->dcb->setstate(edev->cdev, state); in qede_dcbnl_setstate() 37 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgtccfgtx() local 39 edev->ops->dcb->getpgtccfgtx(edev->cdev, prio, prio_type, in qede_dcbnl_getpgtccfgtx() 46 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgbwgcfgtx() local 48 edev->ops->dcb->getpgbwgcfgtx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgtx() 55 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgtccfgrx() local 57 edev->ops->dcb->getpgtccfgrx(edev->cdev, prio, prio_type, pgid, bw_pct, in qede_dcbnl_getpgtccfgrx() [all …]
|
D | qede_filter.c | 73 #define QEDE_ARFS_BUCKET_HEAD(edev, idx) (&(edev)->arfs->arfs_hl_head[idx]) argument 88 static void qede_configure_arfs_fltr(struct qede_dev *edev, in qede_configure_arfs_fltr() argument 92 const struct qed_eth_ops *op = edev->ops; in qede_configure_arfs_fltr() 115 DP_VERBOSE(edev, NETIF_MSG_RX_STATUS, in qede_configure_arfs_fltr() 123 op->ntuple_filter_config(edev->cdev, n, ¶ms); in qede_configure_arfs_fltr() 127 qede_free_arfs_filter(struct qede_dev *edev, struct qede_arfs_fltr_node *fltr) in qede_free_arfs_filter() argument 132 clear_bit(fltr->sw_id, edev->arfs->arfs_fltr_bmap); in qede_free_arfs_filter() 138 qede_enqueue_fltr_and_config_searcher(struct qede_dev *edev, in qede_enqueue_fltr_and_config_searcher() argument 142 fltr->mapping = dma_map_single(&edev->pdev->dev, fltr->data, in qede_enqueue_fltr_and_config_searcher() 144 if (dma_mapping_error(&edev->pdev->dev, fltr->mapping)) { in qede_enqueue_fltr_and_config_searcher() [all …]
|
D | qede_ptp.c | 18 struct qede_dev *edev; member 41 struct qede_dev *edev = ptp->edev; in qede_ptp_adjfreq() local 44 __qede_lock(edev); in qede_ptp_adjfreq() 45 if (edev->state == QEDE_STATE_OPEN) { in qede_ptp_adjfreq() 47 rc = ptp->ops->adjfreq(edev->cdev, ppb); in qede_ptp_adjfreq() 50 DP_ERR(edev, "PTP adjfreq called while interface is down\n"); in qede_ptp_adjfreq() 53 __qede_unlock(edev); in qede_ptp_adjfreq() 60 struct qede_dev *edev; in qede_ptp_adjtime() local 64 edev = ptp->edev; in qede_ptp_adjtime() 66 DP_VERBOSE(edev, QED_MSG_DEBUG, "PTP adjtime called, delta = %llx\n", in qede_ptp_adjtime() [all …]
|
D | qede.h | 181 #define IS_VF(edev) test_bit(QEDE_FLAGS_IS_VF, \ argument 182 &(edev)->flags) 189 #define QEDE_MAX_RSS_CNT(edev) ((edev)->dev_info.num_queues) argument 190 #define QEDE_MAX_TSS_CNT(edev) ((edev)->dev_info.num_queues) argument 191 #define QEDE_IS_BB(edev) \ argument 192 ((edev)->dev_info.common.dev_type == QED_DEV_TYPE_BB) 193 #define QEDE_IS_AH(edev) \ argument 194 ((edev)->dev_info.common.dev_type == QED_DEV_TYPE_AH) 205 #define QEDE_QUEUE_CNT(edev) ((edev)->num_queues) argument 206 #define QEDE_RSS_COUNT(edev) ((edev)->num_queues - (edev)->fp_num_tx) argument [all …]
|
D | qede_fp.c | 75 int qede_free_tx_pkt(struct qede_dev *edev, struct qede_tx_queue *txq, int *len) in qede_free_tx_pkt() argument 87 DP_ERR(edev, in qede_free_tx_pkt() 107 dma_unmap_single(&edev->pdev->dev, BD_UNMAP_ADDR(first_bd), in qede_free_tx_pkt() 114 dma_unmap_page(&edev->pdev->dev, BD_UNMAP_ADDR(tx_data_bd), in qede_free_tx_pkt() 343 struct qede_dev *edev = netdev_priv(dev); in qede_xdp_transmit() local 344 struct device *dmadev = &edev->pdev->dev; in qede_xdp_transmit() 357 i = smp_processor_id() % edev->total_xdp_queues; in qede_xdp_transmit() 358 xdp_tx = edev->fp_array[i].xdp_tx; in qede_xdp_transmit() 406 static void qede_xdp_tx_int(struct qede_dev *edev, struct qede_tx_queue *txq) in qede_xdp_tx_int() argument 409 struct device *dev = &edev->pdev->dev; in qede_xdp_tx_int() [all …]
|
/drivers/devfreq/ |
D | devfreq-event.c | 37 int devfreq_event_enable_edev(struct devfreq_event_dev *edev) in devfreq_event_enable_edev() argument 41 if (!edev || !edev->desc) in devfreq_event_enable_edev() 44 mutex_lock(&edev->lock); in devfreq_event_enable_edev() 45 if (edev->desc->ops && edev->desc->ops->enable in devfreq_event_enable_edev() 46 && edev->enable_count == 0) { in devfreq_event_enable_edev() 47 ret = edev->desc->ops->enable(edev); in devfreq_event_enable_edev() 51 edev->enable_count++; in devfreq_event_enable_edev() 53 mutex_unlock(&edev->lock); in devfreq_event_enable_edev() 69 int devfreq_event_disable_edev(struct devfreq_event_dev *edev) in devfreq_event_disable_edev() argument 73 if (!edev || !edev->desc) in devfreq_event_disable_edev() [all …]
|
/drivers/extcon/ |
D | extcon.c | 209 struct extcon_dev *edev; member 234 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state) in check_mutually_exclusive() argument 238 if (!edev->mutually_exclusive) in check_mutually_exclusive() 241 for (i = 0; edev->mutually_exclusive[i]; i++) { in check_mutually_exclusive() 243 u32 correspondants = new_state & edev->mutually_exclusive[i]; in check_mutually_exclusive() 254 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id() argument 259 for (i = 0; i < edev->max_supported; i++) { in find_cable_index_by_id() 260 if (edev->supported_cable[i] == id) in find_cable_index_by_id() 283 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached() argument 285 return !!(edev->state & BIT(index)); in is_extcon_attached() [all …]
|
D | devres.c | 33 struct extcon_dev *edev; member 42 extcon_unregister_notifier(this->edev, this->id, this->nb); in devm_extcon_dev_notifier_unreg() 49 extcon_unregister_notifier_all(this->edev, this->nb); in devm_extcon_dev_notifier_all_unreg() 68 struct extcon_dev **ptr, *edev; in devm_extcon_dev_allocate() local 74 edev = extcon_dev_allocate(supported_cable); in devm_extcon_dev_allocate() 75 if (IS_ERR(edev)) { in devm_extcon_dev_allocate() 77 return edev; in devm_extcon_dev_allocate() 80 edev->dev.parent = dev; in devm_extcon_dev_allocate() 82 *ptr = edev; in devm_extcon_dev_allocate() 85 return edev; in devm_extcon_dev_allocate() [all …]
|
D | extcon-usbc-cros-ec.c | 20 struct extcon_dev *edev; member 317 extcon_set_state(info->edev, EXTCON_USB, device_connected); in extcon_cros_ec_detect_cable() 318 extcon_set_state(info->edev, EXTCON_USB_HOST, host_connected); in extcon_cros_ec_detect_cable() 319 extcon_set_state(info->edev, EXTCON_DISP_DP, dp); in extcon_cros_ec_detect_cable() 320 extcon_set_property(info->edev, EXTCON_USB, in extcon_cros_ec_detect_cable() 323 extcon_set_property(info->edev, EXTCON_USB_HOST, in extcon_cros_ec_detect_cable() 326 extcon_set_property(info->edev, EXTCON_USB, in extcon_cros_ec_detect_cable() 329 extcon_set_property(info->edev, EXTCON_USB_HOST, in extcon_cros_ec_detect_cable() 332 extcon_set_property(info->edev, EXTCON_DISP_DP, in extcon_cros_ec_detect_cable() 335 extcon_set_property(info->edev, EXTCON_USB, in extcon_cros_ec_detect_cable() [all …]
|
/drivers/misc/eeprom/ |
D | eeprom_93xx46.c | 52 static inline bool has_quirk_single_word_read(struct eeprom_93xx46_dev *edev) in has_quirk_single_word_read() argument 54 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_SINGLE_WORD_READ; in has_quirk_single_word_read() 57 static inline bool has_quirk_instruction_length(struct eeprom_93xx46_dev *edev) in has_quirk_instruction_length() argument 59 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_INSTRUCTION_LENGTH; in has_quirk_instruction_length() 62 static inline bool has_quirk_extra_read_cycle(struct eeprom_93xx46_dev *edev) in has_quirk_extra_read_cycle() argument 64 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_EXTRA_READ_CYCLE; in has_quirk_extra_read_cycle() 70 struct eeprom_93xx46_dev *edev = priv; in eeprom_93xx46_read() local 74 if (unlikely(off >= edev->size)) in eeprom_93xx46_read() 76 if ((off + count) > edev->size) in eeprom_93xx46_read() 77 count = edev->size - off; in eeprom_93xx46_read() [all …]
|
/drivers/watchdog/ |
D | i6300esb.c | 110 static inline void esb_unlock_registers(struct esb_dev *edev) in esb_unlock_registers() argument 112 writew(ESB_UNLOCK1, ESB_RELOAD_REG(edev)); in esb_unlock_registers() 113 writew(ESB_UNLOCK2, ESB_RELOAD_REG(edev)); in esb_unlock_registers() 118 struct esb_dev *edev = to_esb_dev(wdd); in esb_timer_start() local 122 esb_unlock_registers(edev); in esb_timer_start() 123 writew(ESB_WDT_RELOAD, ESB_RELOAD_REG(edev)); in esb_timer_start() 126 pci_write_config_byte(edev->pdev, ESB_LOCK_REG, val); in esb_timer_start() 132 struct esb_dev *edev = to_esb_dev(wdd); in esb_timer_stop() local 136 esb_unlock_registers(edev); in esb_timer_stop() 137 writew(ESB_WDT_RELOAD, ESB_RELOAD_REG(edev)); in esb_timer_stop() [all …]
|
/drivers/eisa/ |
D | eisa-bus.c | 44 struct eisa_device *edev) in is_forced_dev() argument 49 x = (root->bus_nr << 8) | edev->slot; in is_forced_dev() 57 static void __init eisa_name_device(struct eisa_device *edev) in eisa_name_device() argument 62 if (!strcmp(edev->id.sig, eisa_table[i].id.sig)) { in eisa_name_device() 63 strlcpy(edev->pretty_name, in eisa_name_device() 65 sizeof(edev->pretty_name)); in eisa_name_device() 71 sprintf(edev->pretty_name, "EISA device %.7s", edev->id.sig); in eisa_name_device() 110 struct eisa_device *edev = to_eisa_device(dev); in eisa_bus_match() local 118 if (!strcmp(eids->sig, edev->id.sig) && in eisa_bus_match() 119 edev->state & EISA_CONFIG_ENABLED) { in eisa_bus_match() [all …]
|
/drivers/misc/ |
D | enclosure.c | 46 struct enclosure_device *edev; in enclosure_find() local 49 edev = list_prepare_entry(start, &container_list, node); in enclosure_find() 51 put_device(&start->edev); in enclosure_find() 53 list_for_each_entry_continue(edev, &container_list, node) { in enclosure_find() 54 struct device *parent = edev->edev.parent; in enclosure_find() 59 get_device(&edev->edev); in enclosure_find() 61 return edev; in enclosure_find() 88 struct enclosure_device *edev; in enclosure_for_each_device() local 91 list_for_each_entry(edev, &container_list, node) { in enclosure_for_each_device() 92 error = fn(edev, data); in enclosure_for_each_device() [all …]
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 27 static int bnxt_register_dev(struct bnxt_en_dev *edev, int ulp_id, in bnxt_register_dev() argument 30 struct net_device *dev = edev->net; in bnxt_register_dev() 38 ulp = &edev->ulp_tbl[ulp_id]; in bnxt_register_dev() 64 static int bnxt_unregister_dev(struct bnxt_en_dev *edev, int ulp_id) in bnxt_unregister_dev() argument 66 struct net_device *dev = edev->net; in bnxt_unregister_dev() 75 ulp = &edev->ulp_tbl[ulp_id]; in bnxt_unregister_dev() 81 edev->en_ops->bnxt_free_msix(edev, ulp_id); in bnxt_unregister_dev() 99 struct bnxt_en_dev *edev = bp->edev; in bnxt_fill_msix_vecs() local 102 num_msix = edev->ulp_tbl[BNXT_ROCE_ULP].msix_requested; in bnxt_fill_msix_vecs() 103 idx = edev->ulp_tbl[BNXT_ROCE_ULP].msix_base; in bnxt_fill_msix_vecs() [all …]
|
/drivers/firmware/ |
D | edd.c | 56 ssize_t(*show) (struct edd_device * edev, char *buf); 57 int (*test) (struct edd_device * edev); 61 static int edd_dev_is_type(struct edd_device *edev, const char *type); 62 static struct pci_dev *edd_get_pci_dev(struct edd_device *edev); 74 edd_has_mbr_signature(struct edd_device *edev) in edd_has_mbr_signature() argument 76 return edev->index < min_t(unsigned char, edd.mbr_signature_nr, EDD_MBR_SIG_MAX); in edd_has_mbr_signature() 80 edd_has_edd_info(struct edd_device *edev) in edd_has_edd_info() argument 82 return edev->index < min_t(unsigned char, edd.edd_info_nr, EDDMAXNR); in edd_has_edd_info() 86 edd_dev_get_info(struct edd_device *edev) in edd_dev_get_info() argument 88 return edev->info; in edd_dev_get_info() [all …]
|
/drivers/scsi/ |
D | ses.c | 38 static bool ses_page2_supported(struct enclosure_device *edev) in ses_page2_supported() argument 40 struct ses_device *ses_dev = edev->scratch; in ses_page2_supported() 147 static int ses_set_page2_descriptor(struct enclosure_device *edev, in ses_set_page2_descriptor() argument 152 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_set_page2_descriptor() 153 struct ses_device *ses_dev = edev->scratch; in ses_set_page2_descriptor() 178 static unsigned char *ses_get_page2_descriptor(struct enclosure_device *edev, in ses_get_page2_descriptor() argument 182 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_get_page2_descriptor() 183 struct ses_device *ses_dev = edev->scratch; in ses_get_page2_descriptor() 207 static void ses_get_fault(struct enclosure_device *edev, in ses_get_fault() argument 212 if (!ses_page2_supported(edev)) { in ses_get_fault() [all …]
|
/drivers/input/keyboard/ |
D | goldfish_events.c | 38 struct event_dev *edev = dev_id; in events_interrupt() local 41 type = __raw_readl(edev->addr + REG_READ); in events_interrupt() 42 code = __raw_readl(edev->addr + REG_READ); in events_interrupt() 43 value = __raw_readl(edev->addr + REG_READ); in events_interrupt() 45 input_event(edev->input, type, code, value); in events_interrupt() 46 input_sync(edev->input); in events_interrupt() 50 static void events_import_bits(struct event_dev *edev, in events_import_bits() argument 53 void __iomem *addr = edev->addr; in events_import_bits() 73 static void events_import_abs_params(struct event_dev *edev) in events_import_abs_params() argument 75 struct input_dev *input_dev = edev->input; in events_import_abs_params() [all …]
|
/drivers/infiniband/hw/efa/ |
D | efa_com.c | 69 static u32 efa_com_reg_read32(struct efa_com_dev *edev, u16 offset) in efa_com_reg_read32() argument 71 struct efa_com_mmio_read *mmio_read = &edev->mmio_read; in efa_com_reg_read32() 88 writel(mmio_read_reg, edev->reg_bar + EFA_REGS_MMIO_REG_READ_OFF); in efa_com_reg_read32() 99 edev->efa_dev, in efa_com_reg_read32() 109 edev->efa_dev, in efa_com_reg_read32() 121 static int efa_com_admin_init_sq(struct efa_com_dev *edev) in efa_com_admin_init_sq() argument 123 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_admin_init_sq() 141 sq->db_addr = (u32 __iomem *)(edev->reg_bar + EFA_REGS_AQ_PROD_DB_OFF); in efa_com_admin_init_sq() 146 writel(addr_low, edev->reg_bar + EFA_REGS_AQ_BASE_LO_OFF); in efa_com_admin_init_sq() 147 writel(addr_high, edev->reg_bar + EFA_REGS_AQ_BASE_HI_OFF); in efa_com_admin_init_sq() [all …]
|
D | efa_com_cmd.c | 15 int efa_com_create_qp(struct efa_com_dev *edev, in efa_com_create_qp() argument 21 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_create_qp() 47 ibdev_err_ratelimited(edev->efa_dev, in efa_com_create_qp() 63 int efa_com_modify_qp(struct efa_com_dev *edev, in efa_com_modify_qp() argument 66 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_modify_qp() 88 edev->efa_dev, in efa_com_modify_qp() 97 int efa_com_query_qp(struct efa_com_dev *edev, in efa_com_query_qp() argument 101 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_query_qp() 115 ibdev_err_ratelimited(edev->efa_dev, in efa_com_query_qp() 130 int efa_com_destroy_qp(struct efa_com_dev *edev, in efa_com_destroy_qp() argument [all …]
|
D | efa_com_cmd.h | 264 int efa_com_create_qp(struct efa_com_dev *edev, 267 int efa_com_modify_qp(struct efa_com_dev *edev, 269 int efa_com_query_qp(struct efa_com_dev *edev, 272 int efa_com_destroy_qp(struct efa_com_dev *edev, 274 int efa_com_create_cq(struct efa_com_dev *edev, 277 int efa_com_destroy_cq(struct efa_com_dev *edev, 279 int efa_com_register_mr(struct efa_com_dev *edev, 282 int efa_com_dereg_mr(struct efa_com_dev *edev, 284 int efa_com_create_ah(struct efa_com_dev *edev, 287 int efa_com_destroy_ah(struct efa_com_dev *edev, [all …]
|
/drivers/pci/pcie/ |
D | edr.c | 126 static int acpi_send_edr_status(struct pci_dev *pdev, struct pci_dev *edev, in acpi_send_edr_status() argument 132 pci_dbg(pdev, "Status for %s: %#x\n", pci_name(edev), status); in acpi_send_edr_status() 134 ost_status = PCI_DEVID(edev->bus->number, edev->devfn) << 16; in acpi_send_edr_status() 147 struct pci_dev *pdev = data, *edev; in edr_handle_event() local 157 edev = acpi_dpc_port_get(pdev); in edr_handle_event() 158 if (!edev) { in edr_handle_event() 163 pci_dbg(pdev, "Reported EDR dev: %s\n", pci_name(edev)); in edr_handle_event() 166 if (!edev->dpc_cap) { in edr_handle_event() 167 pci_err(edev, FW_BUG "This device doesn't support DPC\n"); in edr_handle_event() 172 pci_read_config_word(edev, edev->dpc_cap + PCI_EXP_DPC_STATUS, &status); in edr_handle_event() [all …]
|
/drivers/devfreq/event/ |
D | rockchip-dfi.c | 51 struct devfreq_event_dev *edev; member 60 static void rockchip_dfi_start_hardware_counter(struct devfreq_event_dev *edev) in rockchip_dfi_start_hardware_counter() argument 62 struct rockchip_dfi *info = devfreq_event_get_drvdata(edev); in rockchip_dfi_start_hardware_counter() 85 static void rockchip_dfi_stop_hardware_counter(struct devfreq_event_dev *edev) in rockchip_dfi_stop_hardware_counter() argument 87 struct rockchip_dfi *info = devfreq_event_get_drvdata(edev); in rockchip_dfi_stop_hardware_counter() 93 static int rockchip_dfi_get_busier_ch(struct devfreq_event_dev *edev) in rockchip_dfi_get_busier_ch() argument 95 struct rockchip_dfi *info = devfreq_event_get_drvdata(edev); in rockchip_dfi_get_busier_ch() 100 rockchip_dfi_stop_hardware_counter(edev); in rockchip_dfi_get_busier_ch() 114 rockchip_dfi_start_hardware_counter(edev); in rockchip_dfi_get_busier_ch() 119 static int rockchip_dfi_disable(struct devfreq_event_dev *edev) in rockchip_dfi_disable() argument [all …]
|