/linux/drivers/input/keyboard/ |
A D | lm8323.c | 281 lm->keys_down++; in process_keys() 294 lm8323_set_active_time(lm, lm->active_time); in process_keys() 323 int keysize = (lm->size_x << 4) | lm->size_y; in lm8323_configure() 338 lm8323_set_active_time(lm, lm->active_time); in lm8323_configure() 572 pwm->chip = lm; in init_pwm() 646 lm = kzalloc(sizeof *lm, GFP_KERNEL); in lm8323_probe() 654 lm->idev = idev; in lm8323_probe() 660 lm->size_x, lm->size_y); in lm8323_probe() 705 snprintf(lm->phys, sizeof(lm->phys), in lm8323_probe() 751 kfree(lm); in lm8323_probe() [all …]
|
/linux/drivers/macintosh/ |
A D | windfarm_lm75_sensor.c | 49 if (lm->i2c == NULL) in wf_lm75_get() 53 if (!lm->inited) { in wf_lm75_get() 64 lm->inited = 1; in wf_lm75_get() 82 kfree(lm); in wf_lm75_release() 135 if (lm == NULL) in wf_lm75_probe() 138 lm->inited = 0; in wf_lm75_probe() 139 lm->ds1775 = ds1775; in wf_lm75_probe() 140 lm->i2c = client; in wf_lm75_probe() 141 lm->sens.name = name; in wf_lm75_probe() 147 kfree(lm); in wf_lm75_probe() [all …]
|
A D | windfarm_lm87_sensor.c | 71 if (lm->i2c == NULL) in wf_lm87_get() 89 kfree(lm); in wf_lm87_release() 101 struct wf_lm87_sensor *lm; in wf_lm87_probe() local 133 if (lm == NULL) in wf_lm87_probe() 136 lm->i2c = client; in wf_lm87_probe() 137 lm->sens.name = name; in wf_lm87_probe() 138 lm->sens.ops = &wf_lm87_ops; in wf_lm87_probe() 139 lm->sens.priv = lm; in wf_lm87_probe() 140 i2c_set_clientdata(client, lm); in wf_lm87_probe() 144 kfree(lm); in wf_lm87_probe() [all …]
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
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() 111 DBG("assigning Right Layer Mixer %d to crtc %s", (*r_mixer)->lm, in mdp5_mixer_assign() 153 mixer->name = mixer_names[lm->id]; in mdp5_mixer_init() 154 mixer->lm = lm->id; in mdp5_mixer_init() 155 mixer->caps = lm->caps; in mdp5_mixer_init() 156 mixer->pp = lm->pp; in mdp5_mixer_init() 157 mixer->dspp = lm->dspp; in mdp5_mixer_init() [all …]
|
A D | mdp5_crtc.c | 126 flush_mask |= mdp_ctl_flush_mask_lm(mixer->lm); in crtc_flush_all() 130 flush_mask |= mdp_ctl_flush_mask_lm(r_mixer->lm); in crtc_flush_all() 222 uint32_t lm = mixer->lm; in blend_setup() local 224 uint32_t r_lm = r_mixer ? r_mixer->lm : 0; in blend_setup() 370 uint32_t lm = mixer->lm; in mdp5_crtc_mode_set_nofb() local 387 mdp5_write(mdp5_kms, REG_MDP5_LM_OUT_SIZE(lm), in mdp5_crtc_mode_set_nofb() 397 u32 r_lm = r_mixer->lm; in mdp5_crtc_mode_set_nofb() 737 if (mode->hdisplay > hw_cfg->lm.max_width) in mdp5_crtc_atomic_check() 877 int lm; in mdp5_crtc_restore_cursor() local 881 lm = mdp5_cstate->pipeline.mixer->lm; in mdp5_crtc_restore_cursor() [all …]
|
A D | mdp5_ctl.c | 394 ctl_write(ctl, REG_MDP5_CTL_LAYER_EXT_REG(ctl->id, mixer->lm), in mdp5_ctl_blend() 397 ctl_write(ctl, REG_MDP5_CTL_LAYER_REG(ctl->id, r_mixer->lm), in mdp5_ctl_blend() 399 ctl_write(ctl, REG_MDP5_CTL_LAYER_EXT_REG(ctl->id, r_mixer->lm), in mdp5_ctl_blend() 404 ctl->pending_ctl_trigger = mdp_ctl_flush_mask_lm(mixer->lm); in mdp5_ctl_blend() 406 ctl->pending_ctl_trigger |= mdp_ctl_flush_mask_lm(r_mixer->lm); in mdp5_ctl_blend() 408 DBG("lm%d: blend config = 0x%08x. ext_cfg = 0x%08x", mixer->lm, in mdp5_ctl_blend() 412 r_mixer->lm, r_blend_cfg, r_blend_ext_cfg); in mdp5_ctl_blend() 459 u32 mdp_ctl_flush_mask_lm(int lm) in mdp_ctl_flush_mask_lm() argument 461 switch (lm) { in mdp_ctl_flush_mask_lm() 482 sw_mask |= mdp_ctl_flush_mask_lm(pipeline->mixer->lm); in fix_sw_flush() [all …]
|
A D | mdp5_mixer.h | 15 int lm; /* the LM instance # */ member 28 struct mdp5_hw_mixer *mdp5_mixer_init(const struct mdp5_lm_instance *lm); 29 void mdp5_mixer_destroy(struct mdp5_hw_mixer *lm);
|
A D | mdp5_cfg.c | 62 .lm = { 145 .lm = { 240 .lm = { 332 .lm = { 404 .lm = { 492 .lm = { 598 .lm = { 718 .lm = { 805 .lm = { 892 .lm = { [all …]
|
/linux/fs/nfs_common/ |
A D | grace.c | 29 locks_start_grace(struct net *net, struct lock_manager *lm) in locks_start_grace() argument 34 if (list_empty(&lm->list)) in locks_start_grace() 35 list_add(&lm->list, grace_list); in locks_start_grace() 54 locks_end_grace(struct lock_manager *lm) in locks_end_grace() argument 57 list_del_init(&lm->list); in locks_end_grace() 66 struct lock_manager *lm; in __state_in_grace() local 72 list_for_each_entry(lm, grace_list, list) { in __state_in_grace() 73 if (lm->block_opens) { in __state_in_grace()
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_hw_ctl.c | 11 #define CTL_LAYER(lm) \ argument 12 (((lm) == LM_5) ? (0x024) : (((lm) - LM_0) * 0x004)) 13 #define CTL_LAYER_EXT(lm) \ argument 14 (0x40 + (((lm) - LM_0) * 0x004)) 15 #define CTL_LAYER_EXT2(lm) \ argument 16 (0x70 + (((lm) - LM_0) * 0x004)) 18 (0xA0 + (((lm) - LM_0) * 0x004)) 65 enum dpu_lm lm) in _mixer_stages() argument 71 if (lm == mixer[i].id) { in _mixer_stages() 197 enum dpu_lm lm) in dpu_hw_ctl_get_bitmask_mixer() argument [all …]
|
A D | dpu_rm.c | 99 const struct dpu_lm_cfg *lm = &cat->mixer[i]; in dpu_rm_init() local 101 if (lm->pingpong == PINGPONG_MAX) { in dpu_rm_init() 102 DPU_DEBUG("skip mixer %d without pingpong\n", lm->id); in dpu_rm_init() 106 if (lm->id < LM_0 || lm->id >= LM_MAX) { in dpu_rm_init() 107 DPU_ERROR("skip mixer %d with invalid id\n", lm->id); in dpu_rm_init() 110 hw = dpu_hw_lm_init(lm->id, mmio, cat); in dpu_rm_init() 116 rm->mixer_blks[lm->id - LM_0] = &hw->base; in dpu_rm_init() 119 rm->lm_max_width = lm->sblk->maxwidth; in dpu_rm_init() 120 } else if (rm->lm_max_width != lm->sblk->maxwidth) { in dpu_rm_init() 126 if (rm->lm_max_width > lm->sblk->maxwidth) in dpu_rm_init() [all …]
|
/linux/drivers/vme/bridges/ |
A D | vme_fake.c | 867 mutex_lock(&lm->mtx); in fake_lm_set() 909 mutex_lock(&lm->mtx); in fake_lm_get() 935 mutex_lock(&lm->mtx); in fake_lm_attach() 974 mutex_lock(&lm->mtx); in fake_lm_detach() 1157 lm = kmalloc(sizeof(*lm), GFP_KERNEL); in fake_init() 1158 if (!lm) { in fake_init() 1163 mutex_init(&lm->mtx); in fake_init() 1164 lm->locked = 0; in fake_init() 1165 lm->number = 1; in fake_init() 1166 lm->monitors = 4; in fake_init() [all …]
|
A D | vme_ca91cx42.c | 1312 mutex_lock(&lm->mtx); in ca91cx42_lm_set() 1369 mutex_lock(&lm->mtx); in ca91cx42_lm_get() 1414 mutex_lock(&lm->mtx); in ca91cx42_lm_attach() 1461 mutex_lock(&lm->mtx); in ca91cx42_lm_detach() 1741 lm = kmalloc(sizeof(*lm), GFP_KERNEL); in ca91cx42_probe() 1742 if (!lm) { in ca91cx42_probe() 1748 lm->locked = 0; in ca91cx42_probe() 1749 lm->number = 1; in ca91cx42_probe() 1750 lm->monitors = 4; in ca91cx42_probe() 1802 kfree(lm); in ca91cx42_probe() [all …]
|
A D | vme_tsi148.c | 1932 mutex_lock(&lm->mtx); in tsi148_lm_set() 1994 mutex_lock(&lm->mtx); in tsi148_lm_get() 2048 mutex_lock(&lm->mtx); in tsi148_lm_attach() 2100 mutex_lock(&lm->mtx); in tsi148_lm_detach() 2441 lm = kmalloc(sizeof(*lm), GFP_KERNEL); in tsi148_probe() 2442 if (!lm) { in tsi148_probe() 2447 mutex_init(&lm->mtx); in tsi148_probe() 2448 lm->locked = 0; in tsi148_probe() 2449 lm->number = 1; in tsi148_probe() 2450 lm->monitors = 4; in tsi148_probe() [all …]
|
/linux/drivers/vme/ |
A D | vme.c | 1483 if (!lm) { in vme_lm_request() 1489 mutex_lock(&lm->mtx); in vme_lm_request() 1490 if (lm->locked == 0) { in vme_lm_request() 1491 lm->locked = 1; in vme_lm_request() 1493 allocated_lm = lm; in vme_lm_request() 1514 mutex_lock(&lm->mtx); in vme_lm_request() 1515 lm->locked = 0; in vme_lm_request() 1516 mutex_unlock(&lm->mtx); in vme_lm_request() 1545 return lm->monitors; in vme_lm_count() 1714 mutex_lock(&lm->mtx); in vme_lm_free() [all …]
|
/linux/tools/power/cpupower/bench/ |
A D | Makefile | 10 LIBS = -L../ -L$(OUTPUT) -lm 14 LIBS = -L../ -L$(OUTPUT) -lm -lcpupower
|
/linux/Documentation/hwmon/ |
A D | userspace-tools.rst | 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
|
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/sound/mips/ |
A D | ad1843.c | 298 int lg, rg, lm, rm; in ad1843_get_gain() local 308 ad1843_read_multi(ad1843, 2, gp->lmute, &lm, gp->rmute, &rm); in ad1843_get_gain() 309 if (lm) in ad1843_get_gain() 330 int lm = (lg == 0) ? 1 : 0; in ad1843_set_gain() local 338 ad1843_write_multi(ad1843, 2, gp->lmute, lm, gp->rmute, rm); in ad1843_set_gain()
|
/linux/Documentation/devicetree/bindings/bus/ |
A D | arm,integrator-ap-lm.yaml | 4 $id: http://devicetree.org/schemas/bus/arm,integrator-ap-lm.yaml# 29 - const: arm,integrator-ap-lm 52 compatible = "arm,integrator-ap-lm";
|
/linux/drivers/isdn/mISDN/ |
A D | stack.c | 144 int lm; in send_msg_to_layer() local 146 lm = hh->prim & MISDN_LAYERMASK; in send_msg_to_layer() 150 if (lm == 0x1) { in send_msg_to_layer() 156 } else if (lm == 0x2) { in send_msg_to_layer() 161 } else if (lm == 0x4) { in send_msg_to_layer() 170 } else if (lm == 0x8) { in send_msg_to_layer() 171 WARN_ON(lm == 0x8); in send_msg_to_layer()
|
/linux/tools/testing/selftests/fpu/ |
A D | Makefile | 3 LDLIBS := -lm
|
/linux/arch/x86/include/uapi/asm/ |
A D | ldt.h | 39 unsigned int lm:1; member
|
/linux/tools/testing/selftests/rtc/ |
A D | Makefile | 3 LDLIBS += -lrt -lpthread -lm
|
/linux/fs/gfs2/ |
A D | ops_fstype.c | 1003 const struct lm_lockops *lm; in gfs2_lm_mount() local 1012 lm = &nolock_ops; in gfs2_lm_mount() 1016 lm = &gfs2_dlm_ops; in gfs2_lm_mount() 1025 ls->ls_ops = lm; in gfs2_lm_mount() 1035 token = match_token(o, *lm->lm_tokens, tmp); in gfs2_lm_mount() 1062 if (lm->lm_mount == NULL) { in gfs2_lm_mount() 1067 ret = lm->lm_mount(sdp, table); in gfs2_lm_mount() 1077 const struct lm_lockops *lm = sdp->sd_lockstruct.ls_ops; in gfs2_lm_unmount() local 1078 if (likely(!gfs2_withdrawn(sdp)) && lm->lm_unmount) in gfs2_lm_unmount() 1079 lm->lm_unmount(sdp); in gfs2_lm_unmount()
|