Home
last modified time | relevance | path

Searched refs:cm (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/linux-6.3-rc2/drivers/clk/sunxi-ng/
A Dccu_mult.c46 _cm.max = (1 << cm->mult.width) + cm->mult.offset - 1; in ccu_mult_round_rate()
57 return ccu_gate_helper_disable(&cm->common, cm->enable); in ccu_mult_disable()
64 return ccu_gate_helper_enable(&cm->common, cm->enable); in ccu_mult_enable()
81 if (ccu_frac_helper_is_enabled(&cm->common, &cm->frac)) in ccu_mult_recalc_rate()
84 reg = readl(cm->common.base + cm->common.reg); in ccu_mult_recalc_rate()
112 ccu_frac_helper_enable(&cm->common, &cm->frac); in ccu_mult_set_rate()
117 ccu_frac_helper_disable(&cm->common, &cm->frac); in ccu_mult_set_rate()
134 reg = readl(cm->common.base + cm->common.reg); in ccu_mult_set_rate()
135 reg &= ~GENMASK(cm->mult.width + cm->mult.shift - 1, cm->mult.shift); in ccu_mult_set_rate()
138 writel(reg, cm->common.base + cm->common.reg); in ccu_mult_set_rate()
[all …]
A Dccu_mux.c167 parent = reg >> cm->shift; in ccu_mux_helper_get_parent()
170 if (cm->table) { in ccu_mux_helper_get_parent()
190 if (cm->table) in ccu_mux_helper_set_parent()
201 reg &= ~GENMASK(cm->width + cm->shift - 1, cm->shift); in ccu_mux_helper_set_parent()
214 return ccu_gate_helper_disable(&cm->common, cm->enable); in ccu_mux_disable()
221 return ccu_gate_helper_enable(&cm->common, cm->enable); in ccu_mux_enable()
228 return ccu_gate_helper_is_enabled(&cm->common, cm->enable); in ccu_mux_is_enabled()
235 return ccu_mux_helper_get_parent(&cm->common, &cm->mux); in ccu_mux_get_parent()
242 return ccu_mux_helper_set_parent(&cm->common, &cm->mux, index); in ccu_mux_set_parent()
250 return ccu_mux_helper_apply_prediv(&cm->common, &cm->mux, -1, in ccu_mux_recalc_rate()
[all …]
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()
A Dccu-sun6i-rtc.c57 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_enable() local
64 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_disable() local
71 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_is_enabled() local
79 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_recalc_rate() local
117 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_prepare() local
123 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_prepare()
125 cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_prepare()
138 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_unprepare()
140 cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_unprepare()
150 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_recalc_rate()
[all …]
/linux-6.3-rc2/sound/pci/
A Dcmipci.c800 snd_cmipci_write(cm, CM_REG_FUNCTRL0, cm->ctrl); in snd_cmipci_pcm_prepare()
877 snd_cmipci_write(cm, CM_REG_FUNCTRL0, cm->ctrl); in snd_cmipci_pcm_trigger()
893 snd_cmipci_write(cm, CM_REG_FUNCTRL0, cm->ctrl); in snd_cmipci_pcm_trigger()
898 snd_cmipci_write(cm, CM_REG_FUNCTRL0, cm->ctrl); in snd_cmipci_pcm_trigger()
1361 snd_cmipci_silence_hack(cm, &cm->channel[0]); in snd_cmipci_playback_hw_free()
1368 snd_cmipci_silence_hack(cm, &cm->channel[1]); in snd_cmipci_playback2_hw_free()
1662 cm->dig_pcm_status = cm->dig_status; in snd_cmipci_playback_open()
1756 cm->dig_pcm_status = cm->dig_status; in snd_cmipci_playback_spdif_open()
1771 if (cm->can_96k && !(cm->chip_version == 68)) { in snd_cmipci_capture_spdif_open()
2647 if (snd_BUG_ON(!cm || !cm->card)) in snd_cmipci_mixer_new()
[all …]
/linux-6.3-rc2/kernel/irq/
A Dmatrix.c86 cm->available -= cm->managed + m->systembits_inalloc; in irq_matrix_online()
90 cm->online = true; in irq_matrix_online()
140 if (!cm->online || cm->available <= maxavl) in matrix_find_best_cpu()
161 if (!cm->online || cm->managed_allocated > allocated) in matrix_find_best_cpu_managed()
221 cm->managed++; in irq_matrix_reserve_managed()
271 cm->managed--; in irq_matrix_remove_managed()
307 cm->allocated++; in irq_matrix_alloc_managed()
330 cm->allocated++; in irq_matrix_assign()
433 if (cm->online) in irq_matrix_free()
507 cpu, cm->available, cm->managed, in irq_matrix_debug_show()
[all …]
/linux-6.3-rc2/drivers/power/supply/
A Dcharger-manager.c658 if (is_polling_required(cm) && cm->desc->polling_interval_ms) { in _setup_polling()
873 if (!is_polling_required(cm) && !cm->emergency_stop) in cm_setup_timer()
1047 charger->cm = cm; in charger_manager_register_extcon()
1059 cable->cm = cm; in charger_manager_register_extcon()
1110 struct charger_manager *cm = charger->cm; in charger_externally_control_store() local
1250 cm->tzd_batt = in cm_init_thermal_data()
1437 cm = devm_kzalloc(&pdev->dev, sizeof(*cm), GFP_KERNEL); in charger_manager_probe()
1438 if (!cm) in charger_manager_probe()
1443 cm->desc = desc; in charger_manager_probe()
1522 cm->charger_psy_desc.name = cm->psy_name_buf; in charger_manager_probe()
[all …]
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A Dpixfmt-packed-hsv.rst27cm}|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…
A Dpixfmt-packed-yuv.rst42cm}|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.…
276 .. 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…
345 .. 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…
404 …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
A Dpixfmt-rgb.rst72cm}|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…
781cm}|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…
974cm}|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.…
A Dsubdev-formats.rst10 .. tabularcolumns:: |p{2.0cm}|p{4.0cm}|p{11.3cm}|
118 .. tabularcolumns:: |p{6.5cm}|p{1.6cm}|p{9.2cm}|
211cm}|p{0.7cm}|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…
1799cm}|p{0.7cm}|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…
1988cm}|p{0.7cm}|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…
2426cm}|p{0.7cm}|p{0.3cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22
3279cm}|p{0.7cm}|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…
7521cm}|p{0.7cm}|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…
7709cm}|p{0.7cm}|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…
8052cm}|p{0.73cm}|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.…
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/power/supply/
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:
71 cm-fullbatt-soc:
79 cm-thermal-zone:
99 cm-battery-hot:
[all …]
/linux-6.3-rc2/net/sched/
A Dem_canid.c84 set_bit(i, cm->match_sff); in em_canid_sff_match_add()
124 struct canid_match *cm; in em_canid_change() local
137 if (!cm) in em_canid_change()
155 memcpy(cm->rules_raw + cm->eff_rules_count, in em_canid_change()
159 cm->eff_rules_count++; in em_canid_change()
166 memcpy(cm->rules_raw in em_canid_change()
167 + cm->eff_rules_count in em_canid_change()
168 + cm->sff_rules_count, in em_canid_change()
171 cm->sff_rules_count++; in em_canid_change()
187 kfree(cm); in em_canid_destroy()
[all …]
/linux-6.3-rc2/drivers/rapidio/
A Drio_cm.c341 rio_add_inb_buffer(cm->mport, cmbox, cm->rx_buf[i]); in riocm_rx_fill()
623 queue_work(cm->rx_wq, &cm->rx_work); in riocm_inb_msg_event()
644 cm->mport->id, slot, cm->tx_cnt); in rio_txcq_handler()
661 if (cm->tx_cnt < 0 || cm->tx_cnt > RIOCM_TX_RING_SIZE) in rio_txcq_handler()
677 cm->tx_buf[cm->tx_slot] = req->buffer; in rio_txcq_handler()
699 if (cm && rio_mport_is_running(cm->mport)) in riocm_outb_msg_event()
752 cm->tx_buf[cm->tx_slot] = buffer; in riocm_post_send()
756 buffer, rdev->destid, cm->tx_slot, cm->tx_cnt); in riocm_post_send()
2105 cm = kzalloc(sizeof(*cm), GFP_KERNEL); in riocm_add_mport()
2106 if (!cm) in riocm_add_mport()
[all …]
/linux-6.3-rc2/drivers/hid/
A Dhid-cmedia.c94 input_sync(cm->input_dev); in hp_ev()
108 hp_ev(hid, cm, 0); in cmhid_raw_event()
112 hp_ev(hid, cm, 1); in cmhid_raw_event()
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()
146 struct cmhid *cm; in cmhid_probe() local
149 if (!cm) { in cmhid_probe()
154 cm->hid = hid; in cmhid_probe()
157 hid_set_drvdata(hid, cm); in cmhid_probe()
173 kfree(cm); in cmhid_probe()
[all …]
/linux-6.3-rc2/drivers/infiniband/ulp/ipoib/
A Dipoib_cm.c102 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()
230 list_splice_init(&priv->cm.rx_flush_list, &priv->cm.rx_drain_list); in ipoib_cm_start_rx_drain()
579 list_splice_init(&priv->cm.rx_drain_list, &priv->cm.rx_reap_list); in ipoib_cm_handle_rx_wc()
853 neigh->cm = NULL; in ipoib_cm_handle_tx_wc()
900 priv->cm.id = NULL; in ipoib_cm_dev_open()
938 priv->cm.id = NULL; in ipoib_cm_dev_stop()
1311 neigh->cm = tx; in ipoib_cm_create_tx()
1611 priv->cm.max_cm_mtu, priv->cm.num_frags); in ipoib_cm_dev_init()
1617 ipoib_cm_init_rx_wr(dev, &priv->cm.rx_wr, priv->cm.rx_sge); in ipoib_cm_dev_init()
[all …]
/linux-6.3-rc2/tools/perf/util/
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-6.3-rc2/drivers/media/usb/pwc/
A Dpwc-dec23.c356 *d++ = cm[c[0] >> scalebits]; in copy_image_block_Y()
357 *d++ = cm[c[1] >> scalebits]; in copy_image_block_Y()
358 *d++ = cm[c[2] >> scalebits]; in copy_image_block_Y()
359 *d++ = cm[c[3] >> scalebits]; in copy_image_block_Y()
362 *d++ = cm[c[4] >> scalebits]; in copy_image_block_Y()
363 *d++ = cm[c[5] >> scalebits]; in copy_image_block_Y()
364 *d++ = cm[c[6] >> scalebits]; in copy_image_block_Y()
365 *d++ = cm[c[7] >> scalebits]; in copy_image_block_Y()
368 *d++ = cm[c[8] >> scalebits]; in copy_image_block_Y()
369 *d++ = cm[c[9] >> scalebits]; in copy_image_block_Y()
[all …]
/linux-6.3-rc2/fs/dlm/
A Dconfig.c529 if (!cm) in make_comm()
535 if (!cm->seq) in make_comm()
539 cm->local = 0; in make_comm()
541 cm->mark = 0; in make_comm()
552 kfree(cm->addr[cm->addr_count]); in drop_comm()
559 kfree(cm); in release_comm()
688 cm->addr[cm->addr_count++] = addr; in comm_addr_store()
869 cm = NULL; in get_comm()
870 return cm; in get_comm()
929 if (!cm) in dlm_comm_seq()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dsc/
A Drc_calc_fpu.c34 (cm == CM_444 || cm == CM_RGB) ? (val444) : (cm == CM_422 ? (val422) : (val420))
64 static void get_qp_set(qp_set qps, enum colour_mode cm, enum bits_per_comp bpc, in get_qp_set() argument
166 enum colour_mode cm, in _do_calc_rc_params() argument
194 switch (cm) { in _do_calc_rc_params()
213 initial_xmit_delay_factor = (cm == CM_444 || cm == CM_RGB) ? 1.0 : 2.0; in _do_calc_rc_params()
216 if (cm == CM_422 || cm == CM_420) in _do_calc_rc_params()
220 if (3 * bpp_group >= (((rc->initial_xmit_delay + 2) / 3) * (3 + (cm == CM_422)))) { in _do_calc_rc_params()
229 get_qp_set(rc->qp_min, cm, bpc, DAL_MM_MIN, bpp); in _do_calc_rc_params()
230 get_qp_set(rc->qp_max, cm, bpc, DAL_MM_MAX, bpp); in _do_calc_rc_params()
231 if (cm == CM_444 && minor_version == 1) { in _do_calc_rc_params()
[all …]
/linux-6.3-rc2/sound/soc/intel/avs/
A Dregisters.h30 #define AVS_ADSPCS_CRST_MASK(cm) (cm) argument
31 #define AVS_ADSPCS_CSTALL_MASK(cm) ((cm) << 8) argument
32 #define AVS_ADSPCS_SPA_MASK(cm) ((cm) << 16) argument
33 #define AVS_ADSPCS_CPA_MASK(cm) ((cm) << 24) argument
/linux-6.3-rc2/net/core/
A Dscm.c234 if (!user_write_access_begin(cm, cmlen)) in put_cmsg()
241 cmlen - sizeof(*cm), efault_end); in put_cmsg()
244 struct cmsghdr *cm = msg->msg_control; in put_cmsg() local
246 cm->cmsg_level = level; in put_cmsg()
247 cm->cmsg_type = type; in put_cmsg()
248 cm->cmsg_len = cmlen; in put_cmsg()
249 memcpy(CMSG_DATA(cm), data, cmlen - sizeof(*cm)); in put_cmsg()
301 struct cmsghdr __user *cm = in scm_detach_fds() local
305 int __user *cmsg_data = CMSG_USER_DATA(cm); in scm_detach_fds()
326 err = put_user(SOL_SOCKET, &cm->cmsg_level); in scm_detach_fds()
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/
A Dipv6_flowlabel.c75 struct cmsghdr *cm; in do_send() local
77 cm = (void *)control; in do_send()
78 cm->cmsg_len = CMSG_LEN(sizeof(flowlabel)); in do_send()
79 cm->cmsg_level = SOL_IPV6; in do_send()
80 cm->cmsg_type = IPV6_FLOWINFO; in do_send()
103 struct cmsghdr *cm; in do_recv() local
130 cm = CMSG_FIRSTHDR(&msg); in do_recv()
132 if (!cm) in do_recv()
134 if (CMSG_NXTHDR(&msg, cm)) in do_recv()
136 if (cm->cmsg_level != SOL_IPV6 || in do_recv()
[all …]
/linux-6.3-rc2/net/netfilter/
A Dxt_limit.c159 const struct compat_xt_rateinfo *cm = src; in limit_mt_compat_from_user() local
161 .avg = cm->avg, in limit_mt_compat_from_user()
162 .burst = cm->burst, in limit_mt_compat_from_user()
163 .prev = cm->prev | (unsigned long)cm->master << 32, in limit_mt_compat_from_user()
164 .credit = cm->credit, in limit_mt_compat_from_user()
165 .credit_cap = cm->credit_cap, in limit_mt_compat_from_user()
166 .cost = cm->cost, in limit_mt_compat_from_user()
174 struct compat_xt_rateinfo cm = { in limit_mt_compat_to_user() local
183 return copy_to_user(dst, &cm, sizeof(cm)) ? -EFAULT : 0; in limit_mt_compat_to_user()
/linux-6.3-rc2/Documentation/userspace-api/media/cec/
A Dcec-ioc-adap-g-conn-info.rst42 .. tabularcolumns:: |p{1.0cm}|p{4.4cm}|p{2.5cm}|p{9.2cm}|
62 .. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.4cm}|
85 .. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.4cm}|

Completed in 78 milliseconds

12345678910>>...13