Home
last modified time | relevance | path

Searched full:cm (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/linux/drivers/clk/sunxi-ng/
H A Dccu_mult.c38 struct ccu_mult *cm = data; in ccu_mult_round_rate() local
41 _cm.min = cm->mult.min; in ccu_mult_round_rate()
43 if (cm->mult.max) in ccu_mult_round_rate()
44 _cm.max = cm->mult.max; in ccu_mult_round_rate()
46 _cm.max = (1 << cm->mult.width) + cm->mult.offset - 1; in ccu_mult_round_rate()
55 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_disable() local
57 return ccu_gate_helper_disable(&cm->common, cm->enable); in ccu_mult_disable()
62 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_enable() local
64 return ccu_gate_helper_enable(&cm->common, cm->enable); in ccu_mult_enable()
69 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_is_enabled() local
[all …]
H A Dccu_mmc_timing.c23 struct ccu_common *cm = hw_to_ccu_common(hw); in sunxi_ccu_set_mmc_timing_mode() local
27 if (!(cm->features & CCU_FEATURE_MMC_TIMING_SWITCH)) in sunxi_ccu_set_mmc_timing_mode()
30 spin_lock_irqsave(cm->lock, flags); in sunxi_ccu_set_mmc_timing_mode()
32 val = readl(cm->base + cm->reg); in sunxi_ccu_set_mmc_timing_mode()
37 writel(val, cm->base + cm->reg); in sunxi_ccu_set_mmc_timing_mode()
39 spin_unlock_irqrestore(cm->lock, flags); in sunxi_ccu_set_mmc_timing_mode()
56 struct ccu_common *cm = hw_to_ccu_common(hw); in sunxi_ccu_get_mmc_timing_mode() local
58 if (!(cm->features & CCU_FEATURE_MMC_TIMING_SWITCH)) in sunxi_ccu_get_mmc_timing_mode()
61 return !!(readl(cm->base + cm->reg) & CCU_MMC_NEW_TIMING_MODE); in sunxi_ccu_get_mmc_timing_mode()
H A Dccu-sun6i-rtc.c59 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_enable() local
61 return ccu_gate_helper_enable(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_enable()
66 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_disable() local
68 return ccu_gate_helper_disable(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_disable()
73 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_is_enabled() local
75 return ccu_gate_helper_is_enabled(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_is_enabled()
81 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_recalc_rate() local
84 u32 reg = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_recalc_rate()
119 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_prepare() local
125 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_prepare()
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dcharger-manager.yaml20 cm-chargers:
24 cm-num-chargers:
28 cm-fuel-gauge:
32 cm-name:
37 cm-poll-mode:
47 cm-poll-interval:
51 cm-battery-stat:
60 cm-fullbatt-vchkdrop-volt:
64 cm-fullbatt-vchkdrop-ms:
67 cm-fullbatt-voltage:
[all …]
/linux/kernel/irq/
H A Dmatrix.c72 struct cpumap *cm = per_cpu_ptr(m->maps, cpu); in irq_alloc_matrix() local
74 cm->managed_map = &cm->alloc_map[matrix_size]; in irq_alloc_matrix()
86 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_online() local
88 BUG_ON(cm->online); in irq_matrix_online()
90 if (!cm->initialized) { in irq_matrix_online()
91 cm->available = m->alloc_size; in irq_matrix_online()
92 cm->available -= cm->managed + m->systembits_inalloc; in irq_matrix_online()
93 cm->initialized = true; in irq_matrix_online()
95 m->global_available += cm->available; in irq_matrix_online()
96 cm->online = true; in irq_matrix_online()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-packed-hsv.rst28cm}|p{0.8cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.2…
H A Dmetafmt-generic.rst33 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|
75 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.8cm}|
119 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm}|p{1.8cm}|p{1.2cm}|p{1.2cm}|p{1.8cm}|
160 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|
207 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{1.2cm}|p{.8cm}|
256 .. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.2cm}|p{1.8cm}|p{1.2cm}|p{1.2cm}|p{1.2c…
309 …. tabularcolumns:: |p{2.4cm}|p{1.2cm}|p{.8cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{.8cm}|p{1.2cm}|p{.8cm}|p{…
H A Dpixfmt-packed-yuv.rst43cm}|p{0.96cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.52cm}|p{0.…
305 .. tabularcolumns:: |p{3.4cm}|p{1.2cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8c…
374 .. tabularcolumns:: |p{3.4cm}|p{1.2cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8c…
433 …rcolumns:: |p{2.9cm}|p{0.8cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5
H A Dpixfmt-rgb.rst73cm}|p{2.0cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.2…
782cm}|p{0.8cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.2…
1068cm}|p{0.70cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.…
H A Dext-ctrls-codec-stateless.rst42 .. tabularcolumns:: |p{1.2cm}|p{8.6cm}|p{7.5cm}|
240 .. tabularcolumns:: |p{9.8cm}|p{1.0cm}|p{6.5cm}|
291 .. tabularcolumns:: |p{0.6cm}|p{4.8cm}|p{11.9cm}|
326 .. tabularcolumns:: |p{4.0cm}|p{5.9cm}|p{7.4cm}|
422 .. tabularcolumns:: |p{4.9cm}|p{4.9cm}|p{7.5cm}|
450 .. tabularcolumns:: |p{1.0cm}|p{4.5cm}|p{11.8cm}|
500 .. tabularcolumns:: |p{5.4cm}|p{0.8cm}|p{11.1cm}|
537 .. tabularcolumns:: |p{4.0cm}|p{5.9cm}|p{7.4cm}|
604 .. tabularcolumns:: |p{8.3cm}|p{2.1cm}|p{6.9cm}|
637 .. tabularcolumns:: |p{1.0cm}|p{4.9cm}|p{11.4cm}|
[all …]
H A Dvidioc-dqevent.rst42 .. tabularcolumns:: |p{3.0cm}|p{3.4cm}|p{10.9cm}|
100 .. tabularcolumns:: |p{6.2cm}|p{2.6cm}|p{8.5cm}|
190 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
204 .. tabularcolumns:: |p{3.5cm}|p{3.0cm}|p{10.8cm}|
254 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
268 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
283 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
312 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
342 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
H A Dvidioc-enumstd.rst50 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
89 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
103 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
231 …bularcolumns:: |p{1.43cm}|p{1.38cm}|p{1.59cm}|p{1.7cm}|p{1.7cm}|p{1.17cm}|p{0.64cm}|p{1.71cm}|p{1.…
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c99 priv->cm.rx_wr.wr_id = id | IPOIB_OP_CM | IPOIB_OP_RECV; in ipoib_cm_post_receive_srq()
101 for (i = 0; i < priv->cm.num_frags; ++i) in ipoib_cm_post_receive_srq()
102 priv->cm.rx_sge[i].addr = priv->cm.srq_ring[id].mapping[i]; in ipoib_cm_post_receive_srq()
104 ret = ib_post_srq_recv(priv->cm.srq, &priv->cm.rx_wr, NULL); in ipoib_cm_post_receive_srq()
107 ipoib_cm_dma_unmap_rx(priv, priv->cm.num_frags - 1, in ipoib_cm_post_receive_srq()
108 priv->cm.srq_ring[id].mapping); in ipoib_cm_post_receive_srq()
109 dev_kfree_skb_any(priv->cm.srq_ring[id].skb); in ipoib_cm_post_receive_srq()
110 priv->cm.srq_ring[id].skb = NULL; in ipoib_cm_post_receive_srq()
217 if (list_empty(&priv->cm.rx_flush_list) || in ipoib_cm_start_rx_drain()
218 !list_empty(&priv->cm.rx_drain_list)) in ipoib_cm_start_rx_drain()
[all …]
/linux/drivers/rapidio/
H A Drio_cm.c180 struct cm_dev *cmdev; /* associated CM device object */
220 static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev,
296 static void *riocm_rx_get_msg(struct cm_dev *cm) in riocm_rx_get_msg() argument
301 msg = rio_get_inb_message(cm->mport, cmbox); in riocm_rx_get_msg()
304 if (cm->rx_buf[i] == msg) { in riocm_rx_get_msg()
305 cm->rx_buf[i] = NULL; in riocm_rx_get_msg()
306 cm->rx_slots++; in riocm_rx_get_msg()
319 * riocm_rx_fill - fills a ring of receive buffers for given cm device
320 * @cm: cm_dev object
325 static void riocm_rx_fill(struct cm_dev *cm, int nent) in riocm_rx_fill() argument
[all …]
/linux/net/sched/
H A Dem_canid.c53 static void em_canid_sff_match_add(struct canid_match *cm, u32 can_id, in em_canid_sff_match_add() argument
67 set_bit(can_id, cm->match_sff); in em_canid_sff_match_add()
73 bitmap_fill(cm->match_sff, (1 << CAN_SFF_ID_BITS)); in em_canid_sff_match_add()
84 set_bit(i, cm->match_sff); in em_canid_sff_match_add()
96 struct canid_match *cm = em_canid_priv(m); in em_canid_match() local
108 for (i = 0, lp = cm->rules_raw; in em_canid_match()
109 i < cm->eff_rules_count; i++, lp++) { in em_canid_match()
117 match = (test_bit(can_id, cm->match_sff) ? 1 : 0); in em_canid_match()
127 struct canid_match *cm; in em_canid_change() local
139 cm = kzalloc(sizeof(struct canid_match) + len, GFP_KERNEL); in em_canid_change()
[all …]
/linux/include/rdma/
H A Diw_cm.h36 * iw_cm_handler - Function to be called by the IW CM when delivering events
39 * @cm_id: The IW CM identifier associated with the event.
47 * events to the IW CM. Returns either 0 indicating the event was processed
50 * @cm_id: The IW CM identifier associated with the event.
97 * iw_create_cm_id - Create an IW CM identifier.
99 * @device: The IB device on which to create the IW CM identier.
101 * returned IW CM identifier.
108 * iw_destroy_cm_id - Destroy an IW CM identifier.
110 * @cm_id: The previously created IW CM identifier to destroy.
112 * The client can assume that no events will be delivered for the CM ID after
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.h235 SRI_ARR(CM_DEALPHA, CM, id), SRI_ARR(CM_MEM_PWR_STATUS, CM, id), \
236 SRI_ARR(CM_BIAS_CR_R, CM, id), SRI_ARR(CM_BIAS_Y_G_CB_B, CM, id), \
237 SRI_ARR(PRE_DEGAM, CNVC_CFG, id), SRI_ARR(CM_GAMCOR_CONTROL, CM, id), \
238 SRI_ARR(CM_GAMCOR_LUT_CONTROL, CM, id), \
239 SRI_ARR(CM_GAMCOR_LUT_INDEX, CM, id), \
240 SRI_ARR(CM_GAMCOR_LUT_INDEX, CM, id), \
241 SRI_ARR(CM_GAMCOR_LUT_DATA, CM, id), \
242 SRI_ARR(CM_GAMCOR_RAMB_START_CNTL_B, CM, id), \
243 SRI_ARR(CM_GAMCOR_RAMB_START_CNTL_G, CM, id), \
244 SRI_ARR(CM_GAMCOR_RAMB_START_CNTL_R, CM, id), \
[all …]
/linux/arch/arm/mach-omap2/
H A Dcm33xx.h3 * AM33XX CM offset macros
12 #include "cm.h"
13 #include "cm-regbits-33xx.h"
16 /* CM base address */
22 /* CM instances */
32 /* CM.PER_CM register offsets */
56 /* CM.WKUP_CM register offsets */
64 /* CM.DPLL_CM register offsets */
67 /* CM.MPU_CM register offsets */
72 /* CM.DEVICE_CM register offsets */
[all …]
H A Dcm_common.c3 * OMAP2+ common Clock Management (CM) IP block functions
8 * XXX This code should eventually be moved to a CM driver.
26 * common CM functions
31 /* cm_base: base virtual address of the CM IP block */
57 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in cm_split_idlest_reg()
85 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_wait_module_ready()
111 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_wait_module_idle()
134 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_module_enable()
156 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_module_disable()
168 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_xlate_clkctrl()
[all …]
H A Dcm33xx.c3 * AM33XX CM functions
18 #include "cm.h"
20 #include "cm-regbits-34xx.h"
21 #include "cm-regbits-33xx.h"
45 /* Read a register in a CM instance */
51 /* Write into a register in a CM */
57 /* Read-modify-write a register in CM */
83 * @inst: CM instance register offset (*_INST macro)
99 * @inst: CM instance register offset (*_INST macro)
118 * @inst: CM instance register offset (*_INST macro)
[all …]
/linux/fs/dlm/
H A Dconfig.c316 int comm_seq; /* copy of cm->seq when nd->nodeid is set */
526 struct dlm_comm *cm; in make_comm() local
534 cm = kzalloc(sizeof(struct dlm_comm), GFP_NOFS); in make_comm()
535 if (!cm) in make_comm()
538 config_item_init_type_name(&cm->item, name, &comm_type); in make_comm()
540 cm->seq = dlm_comm_count++; in make_comm()
541 if (!cm->seq) in make_comm()
542 cm->seq = dlm_comm_count++; in make_comm()
544 cm->nodeid = nodeid; in make_comm()
545 cm->local = 0; in make_comm()
[all …]
/linux/drivers/hid/
H A Dhid-cmedia.c91 static void hp_ev(struct hid_device *hid, struct cmhid *cm, int value) in hp_ev() argument
93 input_report_switch(cm->input_dev, SW_HEADPHONE_INSERT, value); in hp_ev()
94 input_sync(cm->input_dev); in hp_ev()
100 struct cmhid *cm = hid_get_drvdata(hid); in cmhid_raw_event() local
108 hp_ev(hid, cm, 0); in cmhid_raw_event()
112 hp_ev(hid, cm, 1); in cmhid_raw_event()
124 struct cmhid *cm = hid_get_drvdata(hid); in cmhid_input_configured() local
127 cm->input_dev = input_dev; in cmhid_input_configured()
128 memcpy(cm->switch_map, jack_switch_types, sizeof(cm->switch_map)); in cmhid_input_configured()
131 input_set_capability(cm->input_dev, in cmhid_input_configured()
[all …]
/linux/tools/perf/util/
H A Dclockid.c71 const struct clockid_map *cm; in parse_clockid() local
97 for (cm = clockids; cm->name; cm++) { in parse_clockid()
98 if (!strcasecmp(str, cm->name)) { in parse_clockid()
99 opts->clockid = cm->clockid; in parse_clockid()
112 const struct clockid_map *cm; in clockid_name() local
114 for (cm = clockids; cm->name; cm++) { in clockid_name()
115 if (cm->clockid == clk_id) in clockid_name()
116 return cm->name; in clockid_name()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dnet_timestamping.c77 struct cmsghdr *cm; in test_recv_errmsg_cmsg() local
79 for (cm = CMSG_FIRSTHDR(msg); in test_recv_errmsg_cmsg()
80 cm && cm->cmsg_len; in test_recv_errmsg_cmsg()
81 cm = CMSG_NXTHDR(msg, cm)) { in test_recv_errmsg_cmsg()
82 if (cm->cmsg_level == SOL_SOCKET && in test_recv_errmsg_cmsg()
83 cm->cmsg_type == SCM_TIMESTAMPING) { in test_recv_errmsg_cmsg()
84 tss = (void *)CMSG_DATA(cm); in test_recv_errmsg_cmsg()
85 } else if ((cm->cmsg_level == SOL_IP && in test_recv_errmsg_cmsg()
86 cm->cmsg_type == IP_RECVERR) || in test_recv_errmsg_cmsg()
87 (cm->cmsg_level == SOL_IPV6 && in test_recv_errmsg_cmsg()
[all …]
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-ioc-g-topology.rst49 .. tabularcolumns:: |p{1.6cm}|p{3.4cm}|p{12.3cm}|
122 .. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.5cm}|
159 .. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.5cm}|
192 .. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.5cm}|
209 .. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.5cm}|
244 .. tabularcolumns:: |p{1.6cm}|p{3.2cm}|p{12.5cm}|

12345678910>>...20