/openbmc/linux/drivers/input/keyboard/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/ |
H A D | 0001-lmbench-Point-webpage-lm-to-target-directory.patch | 4 Subject: [PATCH] lmbench: Point webpage-lm to target directory 6 As webpage-lm.tar has been copied to ${datadir}\lmbench. 33 -if [ ! -d ../../src/webpage-lm ] 34 -then (cd ../../src && tar xf webpage-lm.tar) 35 +if [ ! -d /usr/share/lmbench/webpage-lm ] 36 +then (cd /usr/share/lmbench && tar xf webpage-lm.tar) 42 -DOCROOT=../../src/webpage-lm lmhttp 8008 & 43 +DOCROOT=/usr/share/lmbench/webpage-lm lmhttp 8008 & 51 - lat_http localhost 8008 < ../../src/webpage-lm/URLS > /dev/null 2>&1 52 - lat_http localhost 8008 < ../../src/webpage-lm/URLS [all …]
|
/openbmc/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() 152 struct mdp5_hw_mixer *mdp5_mixer_init(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 */ 28 struct mdp5_hw_mixer *mdp5_mixer_init(const struct mdp5_lm_instance *lm); 29 void mdp5_mixer_destroy(struct mdp5_hw_mixer *lm);
|
H A 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 …]
|
H A D | mdp5_ctl.c | 259 DRM_DEV_ERROR(ctl_mgr->dev->dev, "CTL %d cannot find LM", in mdp5_ctl_set_cursor() 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() [all …]
|
/openbmc/qemu/qapi/ |
H A D | string-input-visitor.c | 48 ListMode lm; member 68 assert(siv->lm == LM_NONE); in start_list() 76 siv->lm = LM_END; in start_list() 81 siv->lm = LM_UNPARSED; in start_list() 90 switch (siv->lm) { in next_list() 110 switch (siv->lm) { in check_list() 127 assert(siv->lm != LM_NONE); in end_list() 131 siv->lm = LM_NONE; in end_list() 176 siv->lm = LM_INT64_RANGE; in try_parse_int64_list_entry() 188 switch (siv->lm) { in parse_type_int64() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/spandsp/spandsp/ |
H A D | makefile.patch | 95 …cielab_luts$(EXEEXT) $(top_srcdir)/src/make_cielab_luts.c -DHAVE_CONFIG_H -I$(top_builddir)/src -lm 100 …ables$(EXEEXT) $(top_srcdir)/src/make_math_fixed_tables.c -DHAVE_CONFIG_H -I$(top_builddir)/src -lm 102 + $(LINK_FOR_BUILD.c) -o $@ $^ -lm 105 …/src/make_modem_filter.c $(top_srcdir)/src/filter_tools.c -DHAVE_CONFIG_H -I$(top_builddir)/src -lm 107 + $(LINK_FOR_BUILD.c) -o $@ $^ -lm 110 …em_godard_coefficients.c $(top_srcdir)/src/filter_tools.c -DHAVE_CONFIG_H -I$(top_builddir)/src -lm 112 + $(LINK_FOR_BUILD.c) -o $@ $^ -lm 115 …es$(EXEEXT) $(top_srcdir)/src/make_t43_gray_code_tables.c -DHAVE_CONFIG_H -I$(top_builddir)/src -lm 117 + $(LINK_FOR_BUILD.c) -o $@ $^ -lm 120 …_map.c $(top_srcdir)/src/g711.c $(top_srcdir)/src/alloc.c -DHAVE_CONFIG_H -I$(top_builddir)/src -lm [all …]
|
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/raspidmx/raspidmx/ |
H A D | 0004-add-libvchostif-to-link.patch | 36 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras… 37 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras… 62 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras… 63 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras… 75 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras… 76 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras… 88 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras… 89 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras… 101 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm -L../lib -lraspidmx 102 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx [all …]
|
H A D | 0005-change-library-linking-order.patch | 31 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras… 32 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co… 44 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras… 45 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co… 57 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras… 58 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co… 70 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras… 71 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co… 83 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras… 84 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co…
|
H A D | 0003-switch-to-pkg-config.patch | 33 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell libpng-config --ldflags) -L../lib -lraspidmx -lrasp… 35 +LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras… 49 LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm 64 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell libpng-config --ldflags) -L../lib -lraspidmx -lrasp… 66 +LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras… 79 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell libpng-config --ldflags) -L../lib -lraspidmx -lrasp… 81 +LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras… 94 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell libpng-config --ldflags) -L../lib -lraspidmx -lrasp… 96 +LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras… 109 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell libpng-config --ldflags) -L../lib -lraspidmx -lrasp… [all …]
|
/openbmc/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()
|
/openbmc/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() 847 * This does not enable the LM monitor - that should be done when the first 850 static int fake_lm_set(struct vme_lm_resource *lm, unsigned long long lm_base, in fake_lm_set() argument 857 fake_bridge = lm->parent; in fake_lm_set() 861 mutex_lock(&lm->mtx); in fake_lm_set() 864 for (i = 0; i < lm->monitors; i++) { in fake_lm_set() 866 mutex_unlock(&lm->mtx); in fake_lm_set() 879 mutex_unlock(&lm->mtx); in fake_lm_set() [all …]
|
H A D | vme.c | 1465 struct vme_lm_resource *lm = NULL; in vme_lm_request() local 1474 /* Loop through LM resources */ in vme_lm_request() 1476 lm = list_entry(lm_pos, in vme_lm_request() 1478 if (!lm) { in vme_lm_request() 1484 mutex_lock(&lm->mtx); in vme_lm_request() 1485 if (lm->locked == 0) { in vme_lm_request() 1486 lm->locked = 1; in vme_lm_request() 1487 mutex_unlock(&lm->mtx); in vme_lm_request() 1488 allocated_lm = lm; in vme_lm_request() 1491 mutex_unlock(&lm->mtx); in vme_lm_request() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A 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)) 20 #define CTL_LAYER_EXT4(lm) \ argument 21 (0xB8 + (((lm) - LM_0) * 0x004)) [all …]
|
H A D | dpu_hw_lm.h | 73 /* lm */ 107 * @lm: Pointer to LM driver context 109 void dpu_hw_lm_destroy(struct dpu_hw_mixer *lm);
|
H A D | dpu_rm.c | 120 const struct dpu_lm_cfg *lm = &cat->mixer[i]; in dpu_rm_init() local 122 hw = dpu_hw_lm_init(lm, mmio); in dpu_rm_init() 125 DPU_ERROR("failed lm object creation: err %d\n", rc); in dpu_rm_init() 128 rm->mixer_blks[lm->id - LM_0] = &hw->base; in dpu_rm_init() 280 * if lm, and all other hardwired blocks connected to the lm (pp) is 288 * Return: true if lm matches all requirements, false otherwise 300 DPU_DEBUG("lm %d already reserved\n", lm_idx + LM_0); in _dpu_rm_check_lm_and_get_connected_blks() 307 DPU_ERROR("failed to get pp on lm %d\n", lm_cfg->pingpong); in _dpu_rm_check_lm_and_get_connected_blks() 312 DPU_DEBUG("lm %d pp %d already reserved\n", lm_cfg->id, in _dpu_rm_check_lm_and_get_connected_blks() 323 DPU_ERROR("failed to get dspp on lm %d\n", lm_cfg->dspp); in _dpu_rm_check_lm_and_get_connected_blks() [all …]
|
/openbmc/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()
|
/openbmc/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
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/linuxconsole/linuxconsole/ |
H A D | 0001-utils-Use-name-of-the-first-prerequisite-in-rule.patch | 26 - $(CC) $(CFLAGS) $(CPPFLAGS) -funsigned-char $^ $(LDFLAGS) $(SYSTEMDFLAGS) -lm -o $@ 27 + $(CC) $(CFLAGS) $(CPPFLAGS) -funsigned-char $< $(LDFLAGS) $(SYSTEMDFLAGS) -lm -o $@ 30 - $(CC) $(CFLAGS) $(CPPFLAGS) -funsigned-char $^ $(LDFLAGS) -lm -o $@ 31 + $(CC) $(CFLAGS) $(CPPFLAGS) -funsigned-char $< $(LDFLAGS) -lm -o $@
|
/openbmc/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";
|
/openbmc/qemu/tests/tcg/s390x/ |
H A D | Makefile.target | 58 cgebra: LDFLAGS+=-lm 59 clgebr: LDFLAGS+=-lm 79 fma: LDFLAGS+=-lm 80 vfminmax: LDFLAGS+=-lm
|