Home
last modified time | relevance | path

Searched refs:stdev (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/pci/switch/
H A Dswitchtec.c52 struct switchtec_dev *stdev; member
76 static int is_firmware_running(struct switchtec_dev *stdev) in is_firmware_running() argument
78 u32 device = ioread32(&stdev->mmio_sys_info->device_id); in is_firmware_running()
80 return stdev->pdev->device == device; in is_firmware_running()
83 static struct switchtec_user *stuser_create(struct switchtec_dev *stdev) in stuser_create() argument
91 get_device(&stdev->dev); in stuser_create()
92 stuser->stdev = stdev; in stuser_create()
96 stuser->event_cnt = atomic_read(&stdev->event_cnt); in stuser_create()
98 dev_dbg(&stdev->dev, "%s: %p\n", __func__, stuser); in stuser_create()
109 dev_dbg(&stuser->stdev->dev, "%s: %p\n", __func__, stuser); in stuser_free()
[all …]
/openbmc/linux/drivers/thermal/
H A Dspear_thermal.c34 struct spear_thermal_dev *stdev = thermal_zone_device_priv(thermal); in thermal_get_temp() local
40 *temp = (readl_relaxed(stdev->thermal_base) & 0x7F) * MD_FACTOR; in thermal_get_temp()
51 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal); in spear_thermal_suspend() local
55 actual_mask = readl_relaxed(stdev->thermal_base); in spear_thermal_suspend()
56 writel_relaxed(actual_mask & ~stdev->flags, stdev->thermal_base); in spear_thermal_suspend()
58 clk_disable(stdev->clk); in spear_thermal_suspend()
67 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal); in spear_thermal_resume() local
71 ret = clk_enable(stdev->clk); in spear_thermal_resume()
78 actual_mask = readl_relaxed(stdev->thermal_base); in spear_thermal_resume()
79 writel_relaxed(actual_mask | stdev->flags, stdev->thermal_base); in spear_thermal_resume()
[all …]
/openbmc/linux/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c47 struct switchtec_dev *stdev; member
144 dev_err(&sndev->stdev->dev, in switchtec_ntb_part_op()
282 dev_dbg(&sndev->stdev->dev, "MW %d: part %d addr %pad size %pap\n", in switchtec_ntb_mw_set_trans()
299 dev_err(&sndev->stdev->dev, in switchtec_ntb_mw_set_trans()
325 dev_err(&sndev->stdev->dev, in switchtec_ntb_mw_set_trans()
421 struct switchtec_dev *stdev = sndev->stdev; in switchtec_ntb_part_link_speed() local
423 &stdev->mmio_part_cfg_all[partition]; in switchtec_ntb_part_link_speed()
426 u32 linksta = ioread32(&stdev->mmio_pff_csr[pff].pci_cap_region[13]); in switchtec_ntb_part_link_speed()
512 dev_info(&sndev->stdev->dev, "ntb link %s\n", in switchtec_ntb_link_status_update()
534 dev_info(&sndev->stdev->dev, "ntb link forced down\n"); in check_link_status_work()
[all …]
/openbmc/qemu/scripts/simplebench/
H A Dresults_to_text.py28 def format_value(x, stdev): argument
29 stdev_pr = stdev / x * 100
H A Dsimplebench.py98 result['stdev'] = statistics.stdev(r[dim] for r in succeeded)
/openbmc/openbmc/poky/scripts/lib/build_perf/
H A Dreport.py11 from statistics import mean, stdev, variance
330 stats[prefix + 'stdev'] = val_cls(stdev(values))
/openbmc/linux/include/linux/
H A Dswitchtec.h510 void (*link_notifier)(struct switchtec_dev *stdev);
/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A Dserver.py134 def stdev(self): member in Stats