Home
last modified time | relevance | path

Searched full:comp (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/linux/drivers/gpu/drm/mediatek/
H A Dmtk_ddp_comp.h103 static inline int mtk_ddp_comp_power_on(struct mtk_ddp_comp *comp) in mtk_ddp_comp_power_on() argument
105 if (comp->funcs && comp->funcs->power_on) in mtk_ddp_comp_power_on()
106 return comp->funcs->power_on(comp->dev); in mtk_ddp_comp_power_on()
108 return pm_runtime_resume_and_get(comp->dev); in mtk_ddp_comp_power_on()
112 static inline void mtk_ddp_comp_power_off(struct mtk_ddp_comp *comp) in mtk_ddp_comp_power_off() argument
114 if (comp->funcs && comp->funcs->power_off) in mtk_ddp_comp_power_off()
115 comp->funcs->power_off(comp->dev); in mtk_ddp_comp_power_off()
117 pm_runtime_put(comp->dev); in mtk_ddp_comp_power_off()
120 static inline int mtk_ddp_comp_clk_enable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_enable() argument
122 if (comp->funcs && comp->funcs->clk_enable) in mtk_ddp_comp_clk_enable()
[all …]
H A Dmtk_crtc.c144 struct mtk_ddp_comp *comp; in mtk_crtc_destroy() local
146 comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_destroy()
147 mtk_ddp_comp_unregister_vblank_cb(comp); in mtk_crtc_destroy()
260 struct mtk_ddp_comp *comp; in mtk_ddp_comp_for_plane() local
265 comp = mtk_crtc->ddp_comp[i]; in mtk_ddp_comp_for_plane()
266 if (local_index < (count + mtk_ddp_comp_layer_nr(comp))) { in mtk_ddp_comp_for_plane()
268 return comp; in mtk_ddp_comp_for_plane()
270 count += mtk_ddp_comp_layer_nr(comp); in mtk_ddp_comp_for_plane()
405 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_ddp_hw_init() local
408 mtk_ddp_comp_bgclr_in_on(comp); in mtk_crtc_ddp_hw_init()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddevcom.c46 struct mlx5_devcom_comp *comp; member
121 struct mlx5_devcom_comp *comp; in mlx5_devcom_comp_alloc() local
123 comp = kzalloc(sizeof(*comp), GFP_KERNEL); in mlx5_devcom_comp_alloc()
124 if (!comp) in mlx5_devcom_comp_alloc()
127 comp->id = id; in mlx5_devcom_comp_alloc()
128 comp->key.key = attr->key; in mlx5_devcom_comp_alloc()
129 comp->key.flags = attr->flags; in mlx5_devcom_comp_alloc()
131 write_pnet(&comp->key.net, attr->net); in mlx5_devcom_comp_alloc()
132 comp->handler = handler; in mlx5_devcom_comp_alloc()
133 init_rwsem(&comp->sem); in mlx5_devcom_comp_alloc()
[all …]
/linux/drivers/block/zram/
H A Dzcomp.c46 static void zcomp_strm_free(struct zcomp *comp, struct zcomp_strm *zstrm) in zcomp_strm_free() argument
48 comp->ops->destroy_ctx(&zstrm->ctx); in zcomp_strm_free()
54 static int zcomp_strm_init(struct zcomp *comp, struct zcomp_strm *zstrm) in zcomp_strm_init() argument
58 ret = comp->ops->create_ctx(comp->params, &zstrm->ctx); in zcomp_strm_init()
69 zcomp_strm_free(comp, zstrm); in zcomp_strm_init()
75 static const struct zcomp_ops *lookup_backend_ops(const char *comp) in lookup_backend_ops() argument
80 if (sysfs_streq(comp, backends[i]->name)) in lookup_backend_ops()
87 bool zcomp_available_algorithm(const char *comp) in zcomp_available_algorithm() argument
89 return lookup_backend_ops(comp) != NULL; in zcomp_available_algorithm()
93 ssize_t zcomp_available_show(const char *comp, char *buf, ssize_t at) in zcomp_available_show() argument
[all …]
/linux/Documentation/devicetree/bindings/infiniband/
H A Dhisilicon-hns-roce.txt25 - hns-roce-comp-0 ~ hns-roce-comp-31: 32 complete event irq
74 interrupt-names = "hns-roce-comp-0",
75 "hns-roce-comp-1",
76 "hns-roce-comp-2",
77 "hns-roce-comp-3",
78 "hns-roce-comp-4",
79 "hns-roce-comp-5",
80 "hns-roce-comp-6",
81 "hns-roce-comp-7",
82 "hns-roce-comp-8",
[all …]
/linux/drivers/clk/actions/
H A Dowl-composite.c18 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_get_parent() local
20 return owl_mux_helper_get_parent(&comp->common, &comp->mux_hw); in owl_comp_get_parent()
25 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_set_parent() local
27 return owl_mux_helper_set_parent(&comp->common, &comp->mux_hw, index); in owl_comp_set_parent()
32 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_disable() local
33 struct owl_clk_common *common = &comp->common; in owl_comp_disable()
35 owl_gate_set(common, &comp->gate_hw, false); in owl_comp_disable()
40 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_enable() local
41 struct owl_clk_common *common = &comp->common; in owl_comp_enable()
43 owl_gate_set(common, &comp->gate_hw, true); in owl_comp_enable()
[all …]
/linux/sound/soc/codecs/
H A Dwcd-clsh-v2.c19 struct snd_soc_component *comp; member
122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() local
126 snd_soc_component_update_bits(comp, WCD9XXX_A_CDC_CLSH_CRC, in wcd_enable_clsh_block()
133 static inline void wcd_clsh_set_buck_mode(struct snd_soc_component *comp, in wcd_clsh_set_buck_mode() argument
138 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode()
142 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode()
161 static inline void wcd_clsh_set_flyback_mode(struct snd_soc_component *comp, in wcd_clsh_set_flyback_mode() argument
166 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_flyback_mode()
170 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_flyback_mode()
179 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_buck_ctrl() local
[all …]
H A Dwcd9335.c1646 struct snd_soc_component *comp = dai->component; in wcd9335_set_prim_interpolator_rate()
1647 struct wcd9335_codec *wcd = dev_get_drvdata(comp->dev); in wcd9335_set_prim_interpolator_rate()
1660 cfg0 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate()
1662 cfg1 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate()
1679 snd_soc_component_update_bits(comp, in wcd9335_set_prim_interpolator_rate()
1797 struct snd_soc_component *comp = dai->component; in wcd9335_set_decimator_rate()
1798 struct wcd9335_codec *wcd = snd_soc_component_get_drvdata(comp); in wcd9335_set_decimator_rate()
1834 tx_mux_sel = snd_soc_component_read(comp, tx_port_reg) & in wcd9335_set_decimator_rate()
1853 snd_soc_component_update_bits(comp, in wcd9335_set_decimator_rate()
2185 int comp in wcd9335_get_compander()
1642 struct snd_soc_component *comp = dai->component; wcd9335_set_prim_interpolator_rate() local
1793 struct snd_soc_component *comp = dai->component; wcd9335_set_decimator_rate() local
2181 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; wcd9335_get_compander() local
2193 int comp = ((struct soc_mixer_control *) kc->private_value)->shift; wcd9335_set_compander() local
2570 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); __wcd9335_codec_enable_micbias() local
2611 wcd9335_codec_set_tx_hold(struct snd_soc_component * comp,u16 amic_reg,bool set) wcd9335_codec_set_tx_hold() argument
2649 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_adc() local
2662 wcd9335_codec_find_amic_input(struct snd_soc_component * comp,int adc_mux_n) wcd9335_codec_find_amic_input() argument
2688 wcd9335_codec_get_amic_pwlvl_reg(struct snd_soc_component * comp,int amic) wcd9335_codec_get_amic_pwlvl_reg() argument
2719 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_dec() local
2860 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_dmic() local
2963 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_slim() local
2983 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_mix_path() local
3129 wcd9335_codec_enable_prim_interpolator(struct snd_soc_component * comp,u16 reg,int event) wcd9335_codec_enable_prim_interpolator() argument
3180 int comp; wcd9335_config_compander() local
3240 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_interpolator() local
3333 wcd9335_codec_hph_lohifi_config(struct snd_soc_component * comp,int event) wcd9335_codec_hph_lohifi_config() argument
3370 wcd9335_codec_hph_lp_config(struct snd_soc_component * comp,int event) wcd9335_codec_hph_lp_config() argument
3428 wcd9335_codec_hph_hifi_config(struct snd_soc_component * comp,int event) wcd9335_codec_hph_hifi_config() argument
3474 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_hphl_dac_event() local
3523 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_lineout_dac_event() local
3543 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_ear_dac_event() local
3625 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_hphr_dac_event() local
3674 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_hphl_pa() local
3722 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_lineout_pa() local
3793 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_rx_bias() local
3823 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_hphr_pa() local
3869 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_ear_pa() local
4029 struct snd_soc_component *comp = wcd->component; wcd9335_cdc_sido_ccl_enable() local
4192 struct snd_soc_component *comp = wcd->component; wcd9335_codec_apply_sido_voltage() local
4258 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_mclk() local
4742 wcd9335_enable_efuse_sensing(struct snd_soc_component * comp) wcd9335_enable_efuse_sensing() argument
4820 wcd9335_codec_remove(struct snd_soc_component * comp) wcd9335_codec_remove() argument
4828 wcd9335_codec_set_sysclk(struct snd_soc_component * comp,int clk_id,int source,unsigned int freq,int dir) wcd9335_codec_set_sysclk() argument
[all...]
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_comp.c14 void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_on() argument
18 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_on()
19 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_on()
21 err = clk_prepare_enable(comp->clk[i]); in mtk_mdp_comp_clock_on()
25 err, comp->type, i); in mtk_mdp_comp_clock_on()
29 void mtk_mdp_comp_clock_off(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_off() argument
33 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_off()
34 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_off()
36 clk_disable_unprepare(comp->clk[i]); in mtk_mdp_comp_clock_off()
41 struct mtk_mdp_comp *comp, in mtk_mdp_comp_init() argument
[all …]
/linux/drivers/counter/
H A Dcounter-sysfs.c31 * @comp: Counter component callbacks and data
39 struct counter_comp comp; member
115 err = a->comp.device_u8_read(counter, &data); in counter_comp_u8_show()
118 err = a->comp.signal_u8_read(counter, a->parent, &data); in counter_comp_u8_show()
121 err = a->comp.count_u8_read(counter, a->parent, &data); in counter_comp_u8_show()
129 if (a->comp.type == COUNTER_COMP_BOOL) in counter_comp_u8_show()
146 if (a->comp.type == COUNTER_COMP_BOOL) { in counter_comp_u8_store()
156 err = a->comp.device_u8_write(counter, data); in counter_comp_u8_store()
159 err = a->comp.signal_u8_write(counter, a->parent, data); in counter_comp_u8_store()
162 err = a->comp.count_u8_write(counter, a->parent, data); in counter_comp_u8_store()
[all …]
H A Dcounter-chrdev.c29 struct counter_comp comp; member
49 #define counter_comp_read_is_set(comp) \ argument
50 (comp.action_read || \
51 comp.device_u8_read || \
52 comp.count_u8_read || \
53 comp.signal_u8_read || \
54 comp.device_u32_read || \
55 comp.count_u32_read || \
56 comp.signal_u32_read || \
57 comp.device_u64_read || \
[all …]
/linux/drivers/net/slip/
H A Dslhc.c96 struct slcompress *comp; in slhc_init() local
101 comp = kzalloc(sizeof(struct slcompress), GFP_KERNEL); in slhc_init()
102 if (! comp) in slhc_init()
107 comp->rstate = kzalloc(rsize, GFP_KERNEL); in slhc_init()
108 if (! comp->rstate) in slhc_init()
110 comp->rslot_limit = rslots - 1; in slhc_init()
115 comp->tstate = kzalloc(tsize, GFP_KERNEL); in slhc_init()
116 if (! comp->tstate) in slhc_init()
118 comp->tslot_limit = tslots - 1; in slhc_init()
121 comp->xmit_oldest = 0; in slhc_init()
[all …]
/linux/drivers/dpll/zl3073x/
H A Dfw.c130 struct zl3073x_fw_component *comp; in zl3073x_fw_component_alloc() local
132 comp = kzalloc(sizeof(*comp), GFP_KERNEL); in zl3073x_fw_component_alloc()
133 if (!comp) in zl3073x_fw_component_alloc()
136 comp->size = size; in zl3073x_fw_component_alloc()
137 comp->data = kzalloc(size, GFP_KERNEL); in zl3073x_fw_component_alloc()
138 if (!comp->data) { in zl3073x_fw_component_alloc()
139 kfree(comp); in zl3073x_fw_component_alloc()
143 return comp; in zl3073x_fw_component_alloc()
148 * @comp: pointer to allocated component
151 zl3073x_fw_component_free(struct zl3073x_fw_component *comp) in zl3073x_fw_component_free() argument
[all …]
/linux/sound/hda/codecs/side-codecs/
H A Dhda_component.c21 struct hda_component *comp; in hda_component_acpi_device_notify() local
26 comp = hda_component_from_index(parent, i); in hda_component_acpi_device_notify()
27 if (comp->dev && comp->acpi_notify) in hda_component_acpi_device_notify()
28 comp->acpi_notify(acpi_device_handle(comp->adev), event, comp->dev); in hda_component_acpi_device_notify()
39 struct hda_component *comp; in hda_component_manager_bind_acpi_notifications() local
48 comp = hda_component_from_index(parent, i); in hda_component_manager_bind_acpi_notifications()
50 comp->acpi_notifications_supported; in hda_component_manager_bind_acpi_notifications()
88 struct hda_component *comp; in hda_component_manager_playback_hook() local
93 comp = hda_component_from_index(parent, i); in hda_component_manager_playback_hook()
94 if (comp->dev && comp->pre_playback_hook) in hda_component_manager_playback_hook()
[all …]
/linux/drivers/most/
H A Dcore.c33 struct most_component *comp; member
450 struct most_component *comp; in match_component() local
452 list_for_each_entry(comp, &comp_list, list) { in match_component()
453 if (!strcmp(comp->name, name)) in match_component()
454 return comp; in match_component()
473 if (c->pipe0.comp) { in print_links()
477 c->pipe0.comp->name, in print_links()
481 if (c->pipe1.comp) { in print_links()
485 c->pipe1.comp->name, in print_links()
517 struct most_component *comp; in components_show() local
[all …]
H A Dmost_cdev.c28 } comp; variable
52 return channel_has_mbo(c->iface, c->channel_id, &comp.cc) > 0; in ch_has_mbo()
58 *mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc); in ch_get_mbo()
87 most_stop_channel(c->iface, c->channel_id, &comp.cc); in stop_channel()
94 device_destroy(comp.class, c->devno); in destroy_cdev()
103 ida_free(&comp.minor_id, MINOR(c->devno)); in destroy_channel()
143 ret = most_start_channel(c->iface, c->channel_id, &comp.cc); in comp_open()
428 current_minor = ida_alloc(&comp.minor_id, GFP_KERNEL); in comp_probe()
438 c->devno = MKDEV(comp.major, current_minor); in comp_probe()
458 c->dev = device_create(comp.class, NULL, c->devno, NULL, "%s", name); in comp_probe()
[all …]
/linux/tools/perf/tests/
H A Dsample-parsing.c20 #define COMP(m) do { \ macro
50 COMP(id); in samples_same()
53 COMP(ip); in samples_same()
56 COMP(pid); in samples_same()
57 COMP(tid); in samples_same()
61 COMP(time); in samples_same()
64 COMP(addr); in samples_same()
67 COMP(id); in samples_same()
70 COMP(stream_id); in samples_same()
73 COMP(cpu); in samples_same()
[all …]
H A Dkmod-path.c11 int comp, const char *name) in test() argument
20 pr_debug("%s - alloc name %d, kmod %d, comp %d, name '%s'\n", in test()
21 path, alloc_name, m.kmod, m.comp, m.name); in test()
24 TEST_ASSERT_VAL("wrong comp", m.comp == comp); in test()
52 /* path alloc_name kmod comp name */ in test__kmod_path__parse()
62 /* path alloc_name kmod comp name */ in test__kmod_path__parse()
71 /* path alloc_name kmod comp name */ in test__kmod_path__parse()
80 /* path alloc_name kmod comp name */ in test__kmod_path__parse()
89 /* path alloc_name kmod comp name */ in test__kmod_path__parse()
99 /* path alloc_name kmod comp name */ in test__kmod_path__parse()
[all …]
/linux/drivers/vdpa/pds/
H A Dcmds.c25 union pds_core_adminq_comp comp = {}; in pds_vdpa_init_hw() local
30 &comp, 0); in pds_vdpa_init_hw()
33 comp.status, ERR_PTR(err)); in pds_vdpa_init_hw()
47 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_reset() local
50 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa), &comp, 0); in pds_vdpa_cmd_reset()
53 comp.status, ERR_PTR(err)); in pds_vdpa_cmd_reset()
68 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_set_status() local
71 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_status), &comp, 0); in pds_vdpa_cmd_set_status()
74 status, comp.status, ERR_PTR(err)); in pds_vdpa_cmd_set_status()
89 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_set_mac() local
[all …]
/linux/drivers/net/ethernet/amd/pds_core/
H A Dadminq.c10 union pds_core_notifyq_comp *comp; in pdsc_process_notifyq() local
18 comp = cq_info->comp; in pdsc_process_notifyq()
19 eid = le64_to_cpu(comp->event.eid); in pdsc_process_notifyq()
21 u16 ecode = le16_to_cpu(comp->event.ecode); in pdsc_process_notifyq()
27 pdsc_notify(PDS_EVENT_LINK_CHANGE, comp); in pdsc_process_notifyq()
33 pdsc_notify(PDS_EVENT_RESET, comp); in pdsc_process_notifyq()
50 comp = cq_info->comp; in pdsc_process_notifyq()
51 eid = le64_to_cpu(comp->event.eid); in pdsc_process_notifyq()
72 union pds_core_adminq_comp *comp; in pdsc_process_adminq() local
102 comp = cq->info[cq->tail_idx].comp; in pdsc_process_adminq()
[all …]
/linux/drivers/vfio/pci/pds/
H A Dcmds.c99 union pds_core_adminq_comp comp = {}; in pds_vfio_suspend_wait_device_cmd() local
108 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_suspend_wait_device_cmd()
116 dev_dbg(dev, "%s: vf%u: Suspend comp received in %d msecs\n", __func__, in pds_vfio_suspend_wait_device_cmd()
121 dev_err(dev, "%s: vf%u: Suspend comp timeout\n", __func__, in pds_vfio_suspend_wait_device_cmd()
139 union pds_core_adminq_comp comp = {}; in pds_vfio_suspend_device_cmd() local
149 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_suspend_device_cmd()
173 union pds_core_adminq_comp comp = {}; in pds_vfio_resume_device_cmd() local
177 return pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_resume_device_cmd()
189 union pds_core_adminq_comp comp = {}; in pds_vfio_get_lm_state_size_cmd() local
194 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, false); in pds_vfio_get_lm_state_size_cmd()
[all …]
/linux/drivers/gpu/drm/omapdrm/dss/
H A Dbase.c190 struct omapdss_comp_node *comp; in omapdss_list_contains() local
192 list_for_each_entry(comp, &omapdss_comp_list, list) { in omapdss_list_contains()
193 if (comp->node == node) in omapdss_list_contains()
203 struct omapdss_comp_node *comp; in omapdss_walk_device() local
212 comp = devm_kzalloc(dev, sizeof(*comp), GFP_KERNEL); in omapdss_walk_device()
213 if (comp) { in omapdss_walk_device()
214 comp->node = node; in omapdss_walk_device()
215 comp->dss_core_component = dss_core; in omapdss_walk_device()
216 comp->compat = compat; in omapdss_walk_device()
217 list_add(&comp->list, &omapdss_comp_list); in omapdss_walk_device()
[all …]
/linux/drivers/infiniband/sw/rxe/
H A Drxe_comp.c35 [COMPST_COMP_WQE] = "COMP WQE",
36 [COMPST_COMP_ACK] = "COMP ACK",
42 [COMPST_UPDATE_COMP] = "UPDATE COMP",
124 qp->comp.timeout = 1; in retransmit_timer()
167 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters()
168 qp->comp.rnr_retry = qp->attr.rnr_retry; in reset_retry_counters()
169 qp->comp.started_retry = 0; in reset_retry_counters()
195 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn()
203 (qp->comp.opcode == IB_OPCODE_RC_RDMA_READ_RESPONSE_FIRST || in check_psn()
204 qp->comp.opcode == IB_OPCODE_RC_RDMA_READ_RESPONSE_MIDDLE)) in check_psn()
[all …]
/linux/drivers/clk/ti/
H A Dcomposite.c83 struct component_clk *comp; in _lookup_component() local
85 list_for_each_entry(comp, &component_clks, link) { in _lookup_component()
86 if (comp->node == node) in _lookup_component()
87 return comp; in _lookup_component()
117 struct component_clk *comp; in _register_composite() local
129 comp = _lookup_component(cclk->comp_nodes[i]); in _register_composite()
130 if (!comp) { in _register_composite()
139 if (cclk->comp_clks[comp->type] != NULL) { in _register_composite()
141 node, component_clk_types[comp->type]); in _register_composite()
145 cclk->comp_clks[comp->type] = comp; in _register_composite()
[all …]
/linux/fs/jffs2/
H A Dcompr.c301 int jffs2_register_compressor(struct jffs2_compressor *comp) in jffs2_register_compressor() argument
305 if (!comp->name) { in jffs2_register_compressor()
309 comp->compr_buf_size=0; in jffs2_register_compressor()
310 comp->compr_buf=NULL; in jffs2_register_compressor()
311 comp->usecount=0; in jffs2_register_compressor()
312 comp->stat_compr_orig_size=0; in jffs2_register_compressor()
313 comp->stat_compr_new_size=0; in jffs2_register_compressor()
314 comp->stat_compr_blocks=0; in jffs2_register_compressor()
315 comp->stat_decompr_blocks=0; in jffs2_register_compressor()
316 jffs2_dbg(1, "Registering JFFS2 compressor \"%s\"\n", comp->name); in jffs2_register_compressor()
[all …]

12345678910>>...19