/linux-6.1.9/drivers/input/keyboard/ |
D | lm8323.c | 162 static int lm8323_write(struct lm8323_chip *lm, int len, ...) in lm8323_write() argument 171 dev_err(&lm->client->dev, "tried to send %d bytes\n", len); in lm8323_write() 185 ret = i2c_master_send(lm->client, data, len); in lm8323_write() 187 ret = i2c_master_send(lm->client, data, len); in lm8323_write() 189 dev_err(&lm->client->dev, "sent %d bytes of %d total\n", in lm8323_write() 199 static int lm8323_read(struct lm8323_chip *lm, u8 cmd, u8 *buf, int len) in lm8323_read() argument 207 ret = i2c_master_send(lm->client, &cmd, 1); in lm8323_read() 209 ret = i2c_master_send(lm->client, &cmd, 1); in lm8323_read() 211 dev_err(&lm->client->dev, "sending read cmd 0x%02x failed\n", in lm8323_read() 216 ret = i2c_master_recv(lm->client, buf, len); in lm8323_read() [all …]
|
/linux-6.1.9/drivers/macintosh/ |
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 …]
|
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() 101 struct wf_lm87_sensor *lm; in wf_lm87_probe() local 132 lm = kzalloc(sizeof(struct wf_lm87_sensor), GFP_KERNEL); in wf_lm87_probe() 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() [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/ |
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() 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() 152 struct mdp5_hw_mixer *mdp5_mixer_init(const struct mdp5_lm_instance *lm) in mdp5_mixer_init() argument 160 mixer->name = mixer_names[lm->id]; in mdp5_mixer_init() 161 mixer->lm = lm->id; in mdp5_mixer_init() 162 mixer->caps = lm->caps; in mdp5_mixer_init() [all …]
|
D | mdp5_crtc.c | 127 flush_mask |= mdp_ctl_flush_mask_lm(mixer->lm); in crtc_flush_all() 131 flush_mask |= mdp_ctl_flush_mask_lm(r_mixer->lm); in crtc_flush_all() 223 uint32_t lm = mixer->lm; in blend_setup() local 225 uint32_t r_lm = r_mixer ? r_mixer->lm : 0; in blend_setup() 333 mdp5_write(mdp5_kms, REG_MDP5_LM_BLEND_OP_MODE(lm, in blend_setup() 335 mdp5_write(mdp5_kms, REG_MDP5_LM_BLEND_FG_ALPHA(lm, in blend_setup() 337 mdp5_write(mdp5_kms, REG_MDP5_LM_BLEND_BG_ALPHA(lm, in blend_setup() 349 val = mdp5_read(mdp5_kms, REG_MDP5_LM_BLEND_COLOR_OUT(lm)); in blend_setup() 350 mdp5_write(mdp5_kms, REG_MDP5_LM_BLEND_COLOR_OUT(lm), in blend_setup() 371 uint32_t lm = mixer->lm; in mdp5_crtc_mode_set_nofb() local [all …]
|
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);
|
D | mdp5_ctl.c | 271 blend_cfg = ctl_read(ctl, REG_MDP5_CTL_LAYER_REG(ctl->id, mixer->lm)); in mdp5_ctl_set_cursor() 278 ctl_write(ctl, REG_MDP5_CTL_LAYER_REG(ctl->id, mixer->lm), blend_cfg); in mdp5_ctl_set_cursor() 393 ctl_write(ctl, REG_MDP5_CTL_LAYER_REG(ctl->id, mixer->lm), blend_cfg); in mdp5_ctl_blend() 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() [all …]
|
D | mdp5_cfg.c | 62 .lm = { 145 .lm = { 240 .lm = { 332 .lm = { 404 .lm = { 492 .lm = { 598 .lm = { 718 .lm = { 805 .lm = { 897 .lm = { [all …]
|
/linux-6.1.9/fs/nfs_common/ |
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-6.1.9/drivers/staging/vme_user/ |
D | vme_fake.c | 384 struct vme_lm_resource *lm; in fake_lm_check() local 392 lm = list_entry(pos, struct vme_lm_resource, list); in fake_lm_check() 404 for (i = 0; i < lm->monitors; i++) { in fake_lm_check() 856 static int fake_lm_set(struct vme_lm_resource *lm, unsigned long long lm_base, in fake_lm_set() argument 863 fake_bridge = lm->parent; in fake_lm_set() 867 mutex_lock(&lm->mtx); in fake_lm_set() 870 for (i = 0; i < lm->monitors; i++) { in fake_lm_set() 872 mutex_unlock(&lm->mtx); in fake_lm_set() 885 mutex_unlock(&lm->mtx); in fake_lm_set() 894 mutex_unlock(&lm->mtx); in fake_lm_set() [all …]
|
D | vme.c | 1470 struct vme_lm_resource *lm = NULL; in vme_lm_request() local 1481 lm = list_entry(lm_pos, in vme_lm_request() 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() 1492 mutex_unlock(&lm->mtx); in vme_lm_request() 1493 allocated_lm = lm; in vme_lm_request() 1496 mutex_unlock(&lm->mtx); in vme_lm_request() 1514 mutex_lock(&lm->mtx); in vme_lm_request() [all …]
|
D | vme_tsi148.c | 1907 static int tsi148_lm_set(struct vme_lm_resource *lm, unsigned long long lm_base, in tsi148_lm_set() argument 1915 tsi148_bridge = lm->parent; in tsi148_lm_set() 1919 mutex_lock(&lm->mtx); in tsi148_lm_set() 1922 for (i = 0; i < lm->monitors; i++) { in tsi148_lm_set() 1924 mutex_unlock(&lm->mtx); in tsi148_lm_set() 1944 mutex_unlock(&lm->mtx); in tsi148_lm_set() 1964 mutex_unlock(&lm->mtx); in tsi148_lm_set() 1972 static int tsi148_lm_get(struct vme_lm_resource *lm, in tsi148_lm_get() argument 1978 bridge = lm->parent->driver_priv; in tsi148_lm_get() 1980 mutex_lock(&lm->mtx); in tsi148_lm_get() [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_ctl.c | 12 #define CTL_LAYER(lm) \ argument 13 (((lm) == LM_5) ? (0x024) : (((lm) - LM_0) * 0x004)) 14 #define CTL_LAYER_EXT(lm) \ argument 15 (0x40 + (((lm) - LM_0) * 0x004)) 16 #define CTL_LAYER_EXT2(lm) \ argument 17 (0x70 + (((lm) - LM_0) * 0x004)) 18 #define CTL_LAYER_EXT3(lm) \ argument 19 (0xA0 + (((lm) - LM_0) * 0x004)) 70 enum dpu_lm lm) in _mixer_stages() argument 76 if (lm == mixer[i].id) { in _mixer_stages() [all …]
|
D | dpu_rm.c | 114 const struct dpu_lm_cfg *lm = &cat->mixer[i]; in dpu_rm_init() local 116 if (lm->pingpong == PINGPONG_MAX) { in dpu_rm_init() 117 DPU_DEBUG("skip mixer %d without pingpong\n", lm->id); in dpu_rm_init() 121 if (lm->id < LM_0 || lm->id >= LM_MAX) { in dpu_rm_init() 122 DPU_ERROR("skip mixer %d with invalid id\n", lm->id); in dpu_rm_init() 125 hw = dpu_hw_lm_init(lm->id, mmio, cat); in dpu_rm_init() 131 rm->mixer_blks[lm->id - LM_0] = &hw->base; in dpu_rm_init()
|
/linux-6.1.9/tools/power/cpupower/bench/ |
D | Makefile | 10 LIBS = -L../ -L$(OUTPUT) -lm 14 LIBS = -L../ -L$(OUTPUT) -lm -lcpupower
|
/linux-6.1.9/Documentation/hwmon/ |
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
|
/linux-6.1.9/sound/mips/ |
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-6.1.9/Documentation/devicetree/bindings/bus/ |
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-6.1.9/tools/testing/selftests/fpu/ |
D | Makefile | 3 LDLIBS := -lm
|
/linux-6.1.9/drivers/isdn/mISDN/ |
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-6.1.9/arch/x86/include/uapi/asm/ |
D | ldt.h | 39 unsigned int lm:1; member
|
/linux-6.1.9/tools/testing/selftests/rtc/ |
D | Makefile | 3 LDLIBS += -lrt -lpthread -lm
|
/linux-6.1.9/tools/testing/selftests/user_events/ |
D | Makefile | 3 LDLIBS += -lrt -lpthread -lm
|
/linux-6.1.9/arch/x86/um/shared/sysdep/ |
D | tls.h | 22 unsigned int lm:1; member
|
/linux-6.1.9/samples/bpf/ |
D | Makefile | 210 TPROGLDLIBS_xdp_monitor += -lm 211 TPROGLDLIBS_xdp_redirect += -lm 212 TPROGLDLIBS_xdp_redirect_cpu += -lm 213 TPROGLDLIBS_xdp_redirect_map += -lm 214 TPROGLDLIBS_xdp_redirect_map_multi += -lm 215 TPROGLDLIBS_xdp_router_ipv4 += -lm -pthread
|