| /linux/drivers/macintosh/ |
| H A D | windfarm_lm75_sensor.c | 45 struct wf_lm75_sensor *lm = wf_to_lm75(sr); in wf_lm75_get() local 48 if (lm->i2c == NULL) in wf_lm75_get() 52 if (!lm->inited) { in wf_lm75_get() 53 u8 cfg_new, cfg = (u8)i2c_smbus_read_byte_data(lm->i2c, 1); in wf_lm75_get() 62 i2c_smbus_write_byte_data(lm->i2c, 1, cfg_new); in wf_lm75_get() 63 lm->inited = 1; in wf_lm75_get() 70 data = (s32)le16_to_cpu(i2c_smbus_read_word_data(lm->i2c, 0)); in wf_lm75_get() 79 struct wf_lm75_sensor *lm = wf_to_lm75(sr); in wf_lm75_release() local 81 kfree(lm); in wf_lm75_release() 93 struct wf_lm75_sensor *lm; in wf_lm75_probe() local [all …]
|
| H A D | windfarm_lm87_sensor.c | 68 struct wf_lm87_sensor *lm = sr->priv; in wf_lm87_get() local 71 if (lm->i2c == NULL) in wf_lm87_get() 77 temp = wf_lm87_read_reg(lm->i2c, LM87_INT_TEMP); in wf_lm87_get() 87 struct wf_lm87_sensor *lm = wf_to_lm87(sr); in wf_lm87_release() local 89 kfree(lm); in wf_lm87_release() 100 struct wf_lm87_sensor *lm; in wf_lm87_probe() local 131 lm = kzalloc(sizeof(struct wf_lm87_sensor), GFP_KERNEL); in wf_lm87_probe() 132 if (lm == NULL) in wf_lm87_probe() 135 lm->i2c = client; in wf_lm87_probe() 136 lm->sens.name = name; in wf_lm87_probe() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_mixer.c | 19 static int get_right_pair_idx(struct mdp5_kms *mdp5_kms, int lm) in get_right_pair_idx() argument 24 pair_lm = lm_right_pair[lm]; in get_right_pair_idx() 31 if (mixer->lm == pair_lm) in get_right_pair_idx() 74 pair_idx = get_right_pair_idx(mdp5_kms, cur->lm); in mdp5_mixer_assign() 85 * prefer a pair-able LM over an unpairable one. We can in mdp5_mixer_assign() 88 * assigned this CRTC a pair-able LM. in mdp5_mixer_assign() 92 * if we have the LM resources to prevent it. For a platform in mdp5_mixer_assign() 107 DBG("assigning Layer Mixer %d to crtc %s", (*mixer)->lm, crtc->name); in mdp5_mixer_assign() 111 DBG("assigning Right Layer Mixer %d to crtc %s", (*r_mixer)->lm, in mdp5_mixer_assign() 148 const struct mdp5_lm_instance *lm) in mdp5_mixer_init() argument [all …]
|
| H A D | mdp5_mixer.h | 15 int lm; /* the LM instance # */ member 20 uint32_t flush_mask; /* used to commit LM registers */ 29 const struct mdp5_lm_instance *lm);
|
| H A D | mdp5_cfg.c | 62 .lm = { 151 .lm = { 226 .lm = { 321 .lm = { 413 .lm = { 485 .lm = { 573 .lm = { 679 .lm = { 799 .lm = { 885 .lm = { [all …]
|
| /linux/fs/nfs_common/ |
| H A D | grace.c | 20 * @lm: who this grace period is for 30 locks_start_grace(struct net *net, struct lock_manager *lm) in locks_start_grace() argument 35 if (list_empty(&lm->list)) in locks_start_grace() 36 list_add(&lm->list, grace_list); in locks_start_grace() 46 * @lm: who this grace period is for 55 locks_end_grace(struct lock_manager *lm) in locks_end_grace() argument 58 list_del_init(&lm->list); in locks_end_grace() 67 struct lock_manager *lm; in __state_in_grace() local 73 list_for_each_entry(lm, grace_list, list) { in __state_in_grace() 74 if (lm->block_opens) { in __state_in_grace()
|
| /linux/drivers/staging/vme_user/ |
| H A D | vme_fake.c | 381 struct vme_lm_resource *lm; in fake_lm_check() local 389 lm = list_entry(pos, struct vme_lm_resource, list); in fake_lm_check() 401 for (i = 0; i < lm->monitors; i++) { in fake_lm_check() 844 * This does not enable the LM monitor - that should be done when the first 847 static int fake_lm_set(struct vme_lm_resource *lm, unsigned long long lm_base, in fake_lm_set() argument 854 fake_bridge = lm->parent; in fake_lm_set() 858 mutex_lock(&lm->mtx); in fake_lm_set() 861 for (i = 0; i < lm->monitors; i++) { in fake_lm_set() 863 mutex_unlock(&lm->mtx); in fake_lm_set() 876 mutex_unlock(&lm->mtx); in fake_lm_set() [all …]
|
| H A D | vme.c | 1429 struct vme_lm_resource *lm = NULL; in vme_lm_request() local 1438 /* Loop through LM resources */ in vme_lm_request() 1439 list_for_each_entry(lm, &bridge->lm_resources, list) { in vme_lm_request() 1440 if (!lm) { in vme_lm_request() 1447 mutex_lock(&lm->mtx); in vme_lm_request() 1448 if (lm->locked == 0) { in vme_lm_request() 1449 lm->locked = 1; in vme_lm_request() 1450 mutex_unlock(&lm->mtx); in vme_lm_request() 1451 allocated_lm = lm; in vme_lm_request() 1454 mutex_unlock(&lm->mtx); in vme_lm_request() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
| H A D | pllgt215.c | 34 int M, lM, hM, N, fN; in gt215_pll_calc() local 42 lM = (info->refclk + info->vco1.max_inputfreq) / info->vco1.max_inputfreq; in gt215_pll_calc() 43 lM = max(lM, (int)info->vco1.min_m); in gt215_pll_calc() 46 lM = min(lM, hM); in gt215_pll_calc() 48 for (M = lM; M <= hM; M++) { in gt215_pll_calc()
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_mstate_mgr.c | 86 pr_debug("QAT: LM - Invalid state (magic=%#x, version=%#x, hlen=%u), state_size=%u\n", in adf_mstate_preamble_def_checker() 100 pr_err("QAT: LM - Not enough space for preamble\n"); in adf_mstate_preamble_add() 123 pr_debug("QAT: LM - %s QAT state section %s\n", prefix, sect->id); in adf_mstate_dump_sect() 157 pr_debug("QAT: LM - Not enough space for header of QAT state sect %s\n", id); in adf_mstate_sect_add_header() 180 pr_debug("QAT: LM - Not enough space for QAT state sect %s, requires %u\n", in adf_mstate_sect_add_vreg() 216 pr_debug("QAT: LM - Not enough space for QAT state sect %s, requires %u\n", in adf_mstate_sect_add() 238 …pr_debug("QAT: LM - Corrupted state section (index=%u, size=%u) in state_mgr (size=%u, secs=%u)\n", in adf_mstate_sect_validate() 245 pr_debug("QAT: LM - Scanned section (last child=%s, size=%lu) in state_mgr (size=%u, secs=%u)\n", in adf_mstate_sect_validate() 269 pr_debug("QAT: LM - Dump state preambles\n"); in adf_mstate_mgr_init_from_remote()
|
| /linux/Documentation/hwmon/ |
| H A D | userspace-tools.rst | 15 Lm-sensors 20 http://www.lm-sensors.org/ or as a package from your Linux distribution. 23 Get lm-sensors from project web site. Please note, you need only userspace 28 0) get lm-sensors userspace utils
|
| H A D | lm25066.rst | 26 http://www.national.com/pf/LM/LM25066.html 28 http://www.national.com/pf/LM/LM25066A.html 38 http://www.national.com/pf/LM/LM5064.html 48 http://www.national.com/pf/LM/LM5066.html
|
| H A D | lm63.rst | 14 http://www.national.com/pf/LM/LM63.html 24 http://www.national.com/pf/LM/LM64.html 34 http://www.national.com/pf/LM/LM96163.html
|
| H A D | w83627hf.rst | 66 [1] http://www.lm-sensors.org/browser/lm-sensors/trunk/doc/vid 76 lm-sensors) before loading the driver:
|
| /linux/Documentation/devicetree/bindings/bus/ |
| H A D | arm,integrator-ap-lm.yaml | 4 $id: http://devicetree.org/schemas/bus/arm,integrator-ap-lm.yaml# 13 site for stacking up to four logic modules (LM) designed specifically for 29 - const: arm,integrator-ap-lm 52 compatible = "arm,integrator-ap-lm";
|
| /linux/tools/perf/pmu-events/arch/x86/sierraforest/ |
| H A D | uncore-interconnect.json | 174 …"BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with any dire… 183 …"BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with director… 192 …"BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with director… 201 …"BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with director… 206 …"PublicDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with direct… 318 …"BriefDescription": "Counts any 1lm or 2lm hit data return that would result in directory update t… 484 "BriefDescription": "Counts reads to 1lm non persistent memory regions", 608 "BriefDescription": "Counts the 2lm reads and WRNI which were a hit", 618 "BriefDescription": "Counts the 2lm reads which were a hit clean", 628 "BriefDescription": "Counts the 2lm reads which were a hit dirty", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
| H A D | uncore-interconnect.json | 172 …"BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with any dire… 181 …"BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with director… 190 …"BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with director… 199 …"BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with director… 204 …"PublicDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with direct… 316 …"BriefDescription": "Counts any 1lm or 2lm hit data return that would result in directory update t… 482 "BriefDescription": "Counts reads to 1lm non persistent memory regions", 606 "BriefDescription": "Counts the 2lm reads and WRNI which were a hit", 615 "BriefDescription": "Counts the 2lm reads which were a hit clean", 624 "BriefDescription": "Counts the 2lm reads which were a hit dirty", [all …]
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_rm.c | 61 const struct dpu_lm_cfg *lm = &cat->mixer[i]; in dpu_rm_init() local 63 hw = dpu_hw_lm_init(dev, lm, mmio, cat->mdss_ver); in dpu_rm_init() 66 DPU_ERROR("failed lm object creation: err %d\n", rc); in dpu_rm_init() 69 rm->mixer_blks[lm->id - LM_0] = &hw->base; in dpu_rm_init() 225 * Returns: lm peer mixed id on success or %-EINVAL on error 299 * if lm, and all other hardwired blocks connected to the lm (pp) is 306 * Return: true if lm matches all requirements, false otherwise 318 DPU_DEBUG("lm %d already reserved\n", lm_idx + LM_0); in _dpu_rm_check_lm_and_get_connected_blks() 325 DPU_ERROR("failed to get pp on lm %d\n", lm_cfg->pingpong); in _dpu_rm_check_lm_and_get_connected_blks() 330 DPU_DEBUG("lm %d pp %d already reserved\n", lm_cfg->id, in _dpu_rm_check_lm_and_get_connected_blks() [all …]
|
| /linux/arch/mips/cavium-octeon/ |
| H A D | Kconfig | 20 CVMSEG LM is a segment that accesses portions of the dcache as a 22 This selects the size of CVMSEG LM, which is in cache blocks. The 23 legally range is from zero to 54 cache blocks (i.e. CVMSEG LM is
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_asm.c | 133 pr_err("LM offset too large\n"); in nfp_swreg_to_unreg() 143 pr_err("LM offset in inc/dev mode\n"); in nfp_swreg_to_unreg() 150 pr_err("bad LM mode for unrestricted operands %d\n", in nfp_swreg_to_unreg() 220 pr_err("bad LM mode for restricted operands %d\n", in nfp_swreg_to_rereg() 226 pr_err("LM offset too large\n"); in nfp_swreg_to_rereg()
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | msrs_test.c | 380 MSR_TEST_CANONICAL(MSR_FS_BASE, LM), in test_msrs() 381 MSR_TEST_CANONICAL(MSR_GS_BASE, LM), in test_msrs() 382 MSR_TEST_CANONICAL(MSR_KERNEL_GS_BASE, LM), in test_msrs() 383 MSR_TEST_CANONICAL(MSR_LSTAR, LM), in test_msrs() 384 MSR_TEST_CANONICAL(MSR_CSTAR, LM), in test_msrs() 385 MSR_TEST(MSR_SYSCALL_MASK, 0xffffffff, 0, LM), in test_msrs() 436 * Don't clear LM; selftests are 64-bit only, and KVM doesn't in test_msrs() 437 * honor LM=0 for MSRs that are supposed to exist if and only in test_msrs()
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | mediatek,mt6893-pinctrl.yaml | 24 - description: lm group IO 36 - const: lm 168 reg-names = "base", "rm", "bm", "lm", "lb", "rt",
|
| H A D | mediatek,mt6878-pinctrl.yaml | 28 - description: lm group IO 45 - const: lm 186 "lm", "lt", "rm", "rt", "eint-e", "eint-s",
|
| H A D | mediatek,mt8189-pinctrl.yaml | 23 - description: lm group IO 41 - const: lm 196 reg-names = "base", "lm", "rb0", "rb1", "bm0" , "bm1",
|
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | Makefile | 56 $(OUTPUT)/bench-lookups_ipv4: LDLIBS+= -lm 57 $(OUTPUT)/bench-lookups_ipv6: LDLIBS+= -lm
|