Searched refs:stdev (Results 1 - 4 of 4) sorted by relevance
/linux-master/drivers/thermal/ |
H A D | spear_thermal.c | 34 struct spear_thermal_dev *stdev = thermal_zone_device_priv(thermal); local 40 *temp = (readl_relaxed(stdev->thermal_base) & 0x7F) * MD_FACTOR; 51 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal); local 55 actual_mask = readl_relaxed(stdev->thermal_base); 56 writel_relaxed(actual_mask & ~stdev->flags, stdev->thermal_base); 58 clk_disable(stdev->clk); 67 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal); local 71 ret = clk_enable(stdev->clk); 78 actual_mask = readl_relaxed(stdev 92 struct spear_thermal_dev *stdev; local 157 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal); local [all...] |
/linux-master/drivers/pci/switch/ |
H A D | switchtec.c | 52 struct switchtec_dev *stdev; member in struct:switchtec_user 76 static int is_firmware_running(struct switchtec_dev *stdev) argument 78 u32 device = ioread32(&stdev->mmio_sys_info->device_id); 80 return stdev->pdev->device == device; 83 static struct switchtec_user *stuser_create(struct switchtec_dev *stdev) argument 91 get_device(&stdev->dev); 92 stuser->stdev = stdev; 96 stuser->event_cnt = atomic_read(&stdev->event_cnt); 98 dev_dbg(&stdev 141 flush_wc_buf(struct switchtec_dev *stdev) argument 154 mrpc_cmd_submit(struct switchtec_dev *stdev) argument 189 struct switchtec_dev *stdev = stuser->stdev; local 202 mrpc_cleanup_cmd(struct switchtec_dev *stdev) argument 218 mrpc_complete_cmd(struct switchtec_dev *stdev) argument 264 struct switchtec_dev *stdev; local 276 mrpc_error_complete_cmd(struct switchtec_dev *stdev) argument 295 struct switchtec_dev *stdev; local 327 struct switchtec_dev *stdev = to_stdev(dev); local 339 struct switchtec_dev *stdev = to_stdev(dev); local 391 struct switchtec_dev *stdev = to_stdev(dev); local 406 struct switchtec_dev *stdev = to_stdev(dev); local 420 struct switchtec_dev *stdev = to_stdev(dev); local 434 struct switchtec_dev *stdev = to_stdev(dev); local 443 struct switchtec_dev *stdev = to_stdev(dev); local 467 struct switchtec_dev *stdev; local 493 lock_mutex_and_test_alive(struct switchtec_dev *stdev) argument 510 struct switchtec_dev *stdev = stuser->stdev; local 562 struct switchtec_dev *stdev = stuser->stdev; local 637 struct switchtec_dev *stdev = stuser->stdev; local 657 ioctl_flash_info(struct switchtec_dev *stdev, struct switchtec_ioctl_flash_info __user *uinfo) argument 686 flash_part_info_gen3(struct switchtec_dev *stdev, struct switchtec_ioctl_flash_part_info *info) argument 756 flash_part_info_gen4(struct switchtec_dev *stdev, struct switchtec_ioctl_flash_part_info *info) argument 860 ioctl_flash_part_info(struct switchtec_dev *stdev, struct switchtec_ioctl_flash_part_info __user *uinfo) argument 887 ioctl_event_summary(struct switchtec_dev *stdev, struct switchtec_user *stuser, struct switchtec_ioctl_event_summary __user *usum, size_t size) argument 927 global_ev_reg(struct switchtec_dev *stdev, size_t offset, int index) argument 933 part_ev_reg(struct switchtec_dev *stdev, size_t offset, int index) argument 939 pff_ev_reg(struct switchtec_dev *stdev, size_t offset, int index) argument 991 event_hdr_addr(struct switchtec_dev *stdev, int event_id, int index) argument 1014 event_ctl(struct switchtec_dev *stdev, struct switchtec_ioctl_event_ctl *ctl) argument 1070 ioctl_event_ctl(struct switchtec_dev *stdev, struct switchtec_ioctl_event_ctl __user *uctl) argument 1116 ioctl_pff_to_port(struct switchtec_dev *stdev, struct switchtec_ioctl_pff_port __user *up) argument 1163 ioctl_port_to_pff(struct switchtec_dev *stdev, struct switchtec_ioctl_pff_port __user *up) argument 1205 struct switchtec_dev *stdev = stuser->stdev; local 1259 struct switchtec_dev *stdev; local 1267 check_link_state_events(struct switchtec_dev *stdev) argument 1289 enable_link_state_events(struct switchtec_dev *stdev) argument 1300 enable_dma_mrpc(struct switchtec_dev *stdev) argument 1309 struct switchtec_dev *stdev = to_stdev(dev); local 1314 stdev_kill(struct switchtec_dev *stdev) argument 1342 struct switchtec_dev *stdev; local 1392 mask_event(struct switchtec_dev *stdev, int eid, int idx) argument 1414 mask_all_events(struct switchtec_dev *stdev, int eid) argument 1438 struct switchtec_dev *stdev = dev; local 1475 struct switchtec_dev *stdev = dev; local 1485 switchtec_init_isr(struct switchtec_dev *stdev) argument 1534 init_pff(struct switchtec_dev *stdev) argument 1563 switchtec_init_pci(struct switchtec_dev *stdev, struct pci_dev *pdev) argument 1641 switchtec_exit_pci(struct switchtec_dev *stdev) argument 1656 struct switchtec_dev *stdev; local 1706 struct switchtec_dev *stdev = pci_get_drvdata(pdev); local [all...] |
/linux-master/drivers/ntb/hw/mscc/ |
H A D | ntb_hw_switchtec.c | 47 struct switchtec_dev *stdev; member in struct:switchtec_ntb 144 dev_err(&sndev->stdev->dev, 282 dev_dbg(&sndev->stdev->dev, "MW %d: part %d addr %pad size %pap\n", 299 dev_err(&sndev->stdev->dev, 325 dev_err(&sndev->stdev->dev, 421 struct switchtec_dev *stdev = sndev->stdev; local 423 &stdev->mmio_part_cfg_all[partition]; 426 u32 linksta = ioread32(&stdev->mmio_pff_csr[pff].pci_cap_region[13]); 512 dev_info(&sndev->stdev 552 switchtec_ntb_link_notification(struct switchtec_dev *stdev) argument 1475 struct switchtec_dev *stdev = to_stdev(dev); local 1545 struct switchtec_dev *stdev = to_stdev(dev); local [all...] |
/linux-master/include/linux/ |
H A D | switchtec.h | 510 void (*link_notifier)(struct switchtec_dev *stdev);
|
Completed in 144 milliseconds