| /linux/sound/pci/ |
| H A D | cmipci.c | 495 static inline void snd_cmipci_write(struct cmipci *cm, unsigned int cmd, unsigned int data) in snd_cmipci_write() argument 497 outl(data, cm->iobase + cmd); in snd_cmipci_write() 500 static inline unsigned int snd_cmipci_read(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read() argument 502 return inl(cm->iobase + cmd); in snd_cmipci_read() 506 static inline void snd_cmipci_write_w(struct cmipci *cm, unsigned int cmd, unsigned short data) in snd_cmipci_write_w() argument 508 outw(data, cm->iobase + cmd); in snd_cmipci_write_w() 511 static inline unsigned short snd_cmipci_read_w(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_w() argument 513 return inw(cm->iobase + cmd); in snd_cmipci_read_w() 517 static inline void snd_cmipci_write_b(struct cmipci *cm, unsigned int cmd, unsigned char data) in snd_cmipci_write_b() argument 519 outb(data, cm in snd_cmipci_write_b() 522 snd_cmipci_read_b(struct cmipci * cm,unsigned int cmd) snd_cmipci_read_b() argument 528 snd_cmipci_set_bit(struct cmipci * cm,unsigned int cmd,unsigned int flag) snd_cmipci_set_bit() argument 539 snd_cmipci_clear_bit(struct cmipci * cm,unsigned int cmd,unsigned int flag) snd_cmipci_clear_bit() argument 551 snd_cmipci_set_bit_b(struct cmipci * cm,unsigned int cmd,unsigned char flag) snd_cmipci_set_bit_b() argument 562 snd_cmipci_clear_bit_b(struct cmipci * cm,unsigned int cmd,unsigned char flag) snd_cmipci_clear_bit_b() argument 644 snd_cmipci_set_pll(struct cmipci * cm,unsigned int rate,unsigned int slot) snd_cmipci_set_pll() argument 665 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback2_hw_params() local 676 snd_cmipci_ch_reset(struct cmipci * cm,int ch) snd_cmipci_ch_reset() argument 705 set_dac_channels(struct cmipci * cm,struct cmipci_pcm * rec,int channels) set_dac_channels() argument 747 snd_cmipci_pcm_prepare(struct cmipci * cm,struct cmipci_pcm * rec,struct snd_pcm_substream * substream) snd_cmipci_pcm_prepare() argument 851 snd_cmipci_pcm_trigger(struct cmipci * cm,struct cmipci_pcm * rec,int cmd) snd_cmipci_pcm_trigger() argument 901 snd_cmipci_pcm_pointer(struct cmipci * cm,struct cmipci_pcm * rec,struct snd_pcm_substream * substream) snd_cmipci_pcm_pointer() argument 937 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback_trigger() local 943 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback_pointer() local 956 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_capture_trigger() local 962 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_capture_pointer() local 1093 save_mixer_state(struct cmipci * cm) save_mixer_state() argument 1127 restore_mixer_state(struct cmipci * cm) restore_mixer_state() argument 1160 setup_ac3(struct cmipci * cm,struct snd_pcm_substream * subs,int do_ac3,int rate) setup_ac3() argument 1207 setup_spdif_playback(struct cmipci * cm,struct snd_pcm_substream * subs,int up,int do_ac3) setup_spdif_playback() argument 1256 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback_prepare() local 1274 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback_spdif_prepare() local 1295 snd_cmipci_silence_hack(struct cmipci * cm,struct cmipci_pcm * rec) snd_cmipci_silence_hack() argument 1343 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback_hw_free() local 1352 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback2_hw_free() local 1360 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_capture_prepare() local 1367 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_capture_spdif_prepare() local 1388 struct cmipci *cm = snd_pcm_substream_chip(subs); snd_cmipci_capture_spdif_hw_free() local 1403 struct cmipci *cm = dev_id; snd_cmipci_interrupt() local 1561 open_device_check(struct cmipci * cm,int mode,struct snd_pcm_substream * subs) open_device_check() argument 1584 close_device_check(struct cmipci * cm,int mode) close_device_check() argument 1610 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback_open() local 1635 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_capture_open() local 1658 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback2_open() local 1695 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback_spdif_open() local 1724 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_capture_spdif_open() local 1748 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback_close() local 1755 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_capture_close() local 1762 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback2_close() local 1770 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_playback_spdif_close() local 1777 struct cmipci *cm = snd_pcm_substream_chip(substream); snd_cmipci_capture_spdif_close() local 1835 snd_cmipci_pcm_new(struct cmipci * cm,int device) snd_cmipci_pcm_new() argument 1858 snd_cmipci_pcm2_new(struct cmipci * cm,int device) snd_cmipci_pcm2_new() argument 1880 snd_cmipci_pcm_spdif_new(struct cmipci * cm,int device) snd_cmipci_pcm_spdif_new() argument 1986 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_get_volume() local 2008 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_put_volume() local 2066 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_get_input_sw() local 2084 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_put_input_sw() local 2154 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_get_native_mixer() local 2177 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_put_native_mixer() local 2213 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_put_native_mixer_sensitive() local 2281 struct cmipci *cm = snd_kcontrol_chip(kcontrol); _snd_cmipci_uswitch_get() local 2312 struct cmipci *cm = snd_kcontrol_chip(kcontrol); _snd_cmipci_uswitch_put() local 2440 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_line_in_mode_info() local 2449 get_line_in_mode(struct cmipci * cm) get_line_in_mode() argument 2466 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_line_in_mode_get() local 2476 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_line_in_mode_put() local 2502 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_mic_in_mode_get() local 2514 struct cmipci *cm = snd_kcontrol_chip(kcontrol); snd_cmipci_mic_in_mode_put() local 2588 snd_cmipci_mixer_new(struct cmipci * cm,int pcm_spdif_device) snd_cmipci_mixer_new() argument 2703 struct cmipci *cm = entry->private_data; snd_cmipci_proc_read() local 2718 snd_cmipci_proc_init(struct cmipci * cm) snd_cmipci_proc_init() argument 2737 query_chip(struct cmipci * cm) query_chip() argument 2786 snd_cmipci_create_gameport(struct cmipci * cm,int dev) snd_cmipci_create_gameport() argument 2832 snd_cmipci_free_gameport(struct cmipci * cm) snd_cmipci_free_gameport() argument 2842 snd_cmipci_create_gameport(struct cmipci * cm,int dev) snd_cmipci_create_gameport() argument 2843 snd_cmipci_free_gameport(struct cmipci * cm) snd_cmipci_free_gameport() argument 2848 struct cmipci *cm = card->private_data; snd_cmipci_free() local 2864 snd_cmipci_create_fm(struct cmipci * cm,long fm_port) snd_cmipci_create_fm() argument 2922 struct cmipci *cm = card->private_data; snd_cmipci_create() local 3238 struct cmipci *cm = card->private_data; snd_cmipci_suspend() local 3257 struct cmipci *cm = card->private_data; snd_cmipci_resume() local [all...] |
| /linux/drivers/clk/sunxi-ng/ |
| H A D | ccu_mux.c | 18 struct ccu_mux_internal *cm, in ccu_mux_get_prediv() argument 34 parent_index = reg >> cm->shift; in ccu_mux_get_prediv() 35 parent_index &= (1 << cm->width) - 1; in ccu_mux_get_prediv() 41 for (i = 0; i < cm->n_predivs; i++) in ccu_mux_get_prediv() 42 if (parent_index == cm->fixed_predivs[i].index) in ccu_mux_get_prediv() 43 prediv = cm->fixed_predivs[i].div; in ccu_mux_get_prediv() 49 for (i = 0; i < cm->n_var_predivs; i++) in ccu_mux_get_prediv() 50 if (parent_index == cm->var_predivs[i].index) { in ccu_mux_get_prediv() 53 div = reg >> cm->var_predivs[i].shift; in ccu_mux_get_prediv() 54 div &= (1 << cm->var_predivs[i].width) - 1; in ccu_mux_get_prediv() [all …]
|
| H A D | ccu_mmc_timing.c | 23 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 D | ccu-sun6i-rtc.c | 63 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_enable() local 65 return ccu_gate_helper_enable(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_enable() 70 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_disable() local 72 return ccu_gate_helper_disable(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_disable() 77 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_is_enabled() local 79 return ccu_gate_helper_is_enabled(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_is_enabled() 85 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_recalc_rate() local 87 if (cm->features & CCU_FEATURE_IOSC_CALIBRATION) { in ccu_iosc_recalc_rate() 88 u32 reg = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_recalc_rate() 123 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_prepare() local [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-packed-hsv.rst | 28 …cm}|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 D | metafmt-generic.rst | 33 .. 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 D | pixfmt-packed-yuv.rst | 43 …cm}|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 D | pixfmt-rgb.rst | 73 …cm}|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… 782 …cm}|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… 1068 …cm}|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 D | vidioc-enumstd.rst | 50 .. 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.…
|
| H A D | vidioc-dqevent.rst | 42 .. 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}|
|
| /linux/net/sched/ |
| H A D | em_canid.c | 53 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/drivers/rapidio/ |
| H A D | rio_cm.c | 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() 325 static void riocm_rx_fill(struct cm_dev *cm, int nent) in riocm_rx_fill() argument 329 if (cm->rx_slots == 0) in riocm_rx_fill() 332 for (i = 0; i < RIOCM_RX_RING_SIZE && cm->rx_slots && nent; i++) { in riocm_rx_fill() 333 if (cm->rx_buf[i] == NULL) { in riocm_rx_fill() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-cmedia.c | 91 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 D | clockid.c | 71 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/drivers/media/usb/pwc/ |
| H A D | pwc-dec23.c | 352 const unsigned char *cm = pwc_crop_table+MAX_OUTER_CROP_VALUE; in copy_image_block_Y() local 356 *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() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | net_timestamping.c | 77 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/fs/dlm/ |
| H A D | config.c | 526 struct dlm_comm *cm; in make_comm() local 534 cm = kzalloc_obj(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() 546 cm->addr_count = 0; in make_comm() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_surface.c | 51 plane_state->cm.shaper_func.type = TF_TYPE_BYPASS; in dc_plane_construct() 52 plane_state->cm.blend_func.type = TF_TYPE_BYPASS; in dc_plane_construct() 53 plane_state->cm.lut3d_func.state.raw = 0; in dc_plane_construct() 54 plane_state->cm.flags.all = 0; in dc_plane_construct() 286 struct dc_plane_cm *cm = container_of(kref, struct dc_plane_cm, refcount); in dc_plane_cm_free() local 288 kvfree(cm); in dc_plane_cm_free() 293 struct dc_plane_cm *cm = kvzalloc_obj(*cm); in dc_plane_cm_create() local 295 if (cm == NULL) in dc_plane_cm_create() 298 kref_init(&cm->refcount); in dc_plane_cm_create() 300 return cm; in dc_plane_cm_create() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | ipv6_flowlabel.c | 75 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() 81 *(uint32_t *)CMSG_DATA(cm) = htonl(flowlabel); 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() [all …]
|
| /linux/net/netfilter/ |
| H A D | xt_limit.c | 159 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/Documentation/userspace-api/media/cec/ |
| H A D | cec-ioc-adap-g-conn-info.rst | 42 .. 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}|
|
| /linux/Documentation/devicetree/bindings/arm/omap/ |
| H A D | prcm.txt | 16 "ti,omap3-cm" 22 "ti,omap5-cm-core-aon" 24 "ti,omap5-cm-core" 26 "ti,dra7-cm-core-aon" 27 "ti,dra7-cm-core" 40 cm: clock@48004000 { 41 compatible = "ti,omap3-cm"; 44 clock-output-names = "cm";
|
| /linux/tools/testing/vsock/ |
| H A D | msg_zerocopy_common.c | 22 struct cmsghdr *cm; in vsock_recv_completion() local 34 cm = CMSG_FIRSTHDR(&msg); in vsock_recv_completion() 35 if (!cm) { in vsock_recv_completion() 40 if (cm->cmsg_level != SOL_VSOCK) { in vsock_recv_completion() 45 if (cm->cmsg_type != VSOCK_RECVERR) { in vsock_recv_completion() 50 serr = (void *)CMSG_DATA(cm); in vsock_recv_completion()
|
| /linux/drivers/clk/sprd/ |
| H A D | mux.c | 41 struct sprd_mux *cm = hw_to_sprd_mux(hw); in sprd_mux_get_parent() local 43 return sprd_mux_helper_get_parent(&cm->common, &cm->mux); in sprd_mux_get_parent() 66 struct sprd_mux *cm = hw_to_sprd_mux(hw); in sprd_mux_set_parent() local 68 return sprd_mux_helper_set_parent(&cm->common, &cm->mux, index); in sprd_mux_set_parent()
|
| /linux/net/core/ |
| H A D | scm.c | 272 struct cmsghdr __user *cm = msg->msg_control_user; in put_cmsg() local 274 check_object_size(data, cmlen - sizeof(*cm), true); in put_cmsg() 276 scoped_user_write_access_size(cm, cmlen, efault) { in put_cmsg() 277 unsafe_put_user(cmlen, &cm->cmsg_len, efault); in put_cmsg() 278 unsafe_put_user(level, &cm->cmsg_level, efault); in put_cmsg() 279 unsafe_put_user(type, &cm->cmsg_type, efault); in put_cmsg() 280 unsafe_copy_to_user(CMSG_USER_DATA(cm), data, in put_cmsg() 281 cmlen - sizeof(*cm), efault); in put_cmsg() 284 struct cmsghdr *cm = msg->msg_control; in put_cmsg() local 286 cm->cmsg_level = level; in put_cmsg() [all …]
|