| /linux/drivers/input/keyboard/ |
| H A D | lm8323.c | 163 static int lm8323_write(struct lm8323_chip *lm, int len, ...) in lm8323_write() argument 172 dev_err(&lm->client->dev, "tried to send %d bytes\n", len); in lm8323_write() 186 ret = i2c_master_send(lm->client, data, len); in lm8323_write() 188 ret = i2c_master_send(lm->client, data, len); in lm8323_write() 190 dev_err(&lm->client->dev, "sent %d bytes of %d total\n", in lm8323_write() 200 static int lm8323_read(struct lm8323_chip *lm, u8 cmd, u8 *buf, int len) in lm8323_read() argument 208 ret = i2c_master_send(lm->client, &cmd, 1); in lm8323_read() 210 ret = i2c_master_send(lm->client, &cmd, 1); in lm8323_read() 212 dev_err(&lm->client->dev, "sending read cmd 0x%02x failed\n", in lm8323_read() 217 ret = i2c_master_recv(lm->client, buf, len); in lm8323_read() [all …]
|
| /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_obj(struct wf_lm87_sensor); 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/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_tsi148.c | 1897 * This does not enable the LM monitor - that should be done when the first 1900 static int tsi148_lm_set(struct vme_lm_resource *lm, unsigned long long lm_base, in tsi148_lm_set() argument 1908 tsi148_bridge = lm->parent; in tsi148_lm_set() 1912 mutex_lock(&lm->mtx); in tsi148_lm_set() 1915 for (i = 0; i < lm->monitors; i++) { in tsi148_lm_set() 1917 mutex_unlock(&lm->mtx); in tsi148_lm_set() 1937 mutex_unlock(&lm->mtx); in tsi148_lm_set() 1957 mutex_unlock(&lm->mtx); in tsi148_lm_set() 1965 static int tsi148_lm_get(struct vme_lm_resource *lm, in tsi148_lm_get() argument 1971 bridge = lm->parent->driver_priv; in tsi148_lm_get() [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/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 directory to non persistent memory", 183 "BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with directory A to non persistent memory", 192 "BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with directory I to non persistent memory", 201 "BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with directory S to non persistent memory", 206 "PublicDescription": "Counts the number of 1lm or 2lm hi [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/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 directory to non persistent memory", 181 "BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with directory A to non persistent memory", 190 "BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with directory I to non persistent memory", 199 "BriefDescription": "Counts the number of 1lm or 2lm hit read data returns to egress with directory S to non persistent memory", 204 "PublicDescription": "Counts the number of 1lm or 2lm hi [all...] |
| /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,mt6858-pinctrl.yaml | 22 - description: lm group IO 39 - const: lm 174 reg-names = "base", "lm", "rb", "bm2", "bm", "bm1", "lt", "lt1",
|
| 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
|
| /linux/tools/power/cpupower/bench/ |
| H A D | Makefile | 15 LIBS = -L../ -L$(OUTPUT) -lm 19 LIBS = -L../ -L$(OUTPUT) -lm -lcpupower
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_cfg.h | 74 int lm; member 105 struct mdp5_lm_block lm; member
|
| /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 873 [DPU_HW_BLK_LM] = "LM",
|