Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 25 of 33) sorted by relevance

12

/drivers/w1/
A Dw1_netlink.c57 if (!block->cn) in w1_reply_len()
59 return (u8 *)block->cn - (u8 *)block->first_cn + block->cn->len; in w1_reply_len()
114 if (block->cn && block->cn->ack == ack) { in w1_netlink_setup_msg()
119 block->cn = (struct cn_msg *)(block->cn->data + in w1_netlink_setup_msg()
124 memcpy(block->cn, &block->request_cn, sizeof(*block->cn)); in w1_netlink_setup_msg()
405 if (!cn) in w1_process_command_root()
438 kfree(cn); in w1_process_command_root()
582 int reply_size = sizeof(*cn) + cn->len + slave_len; in w1_cn_callback()
598 sizeof(struct w1_cb_block) + sizeof(*cn) + cn->len + in w1_cn_callback()
615 memcpy(block->request_cn.data, cn->data, cn->len); in w1_cn_callback()
[all …]
/drivers/media/dvb-frontends/
A Dtc90522.c259 s64 cn; in tc90522s_get_frontend() local
272 cn += (14341LL * p4) >> 21; in tc90522s_get_frontend()
273 cn -= (50259LL * cndat * p) >> 23; in tc90522s_get_frontend()
274 cn += (88977LL * cndat) >> 9; in tc90522s_get_frontend()
275 cn -= (89565LL * p) >> 11; in tc90522s_get_frontend()
276 cn += 58857 << 3; in tc90522s_get_frontend()
277 stats->stat[0].svalue = cn >> 3; in tc90522s_get_frontend()
417 s64 cn; in tc90522t_get_frontend() local
428 cn = 24772; in tc90522t_get_frontend()
429 cn += div64_s64(43827LL * p, 10) >> 24; in tc90522t_get_frontend()
[all …]
A Dmb86a16.c1757 u8 cn; in mb86a16_read_snr() local
1760 if (mb86a16_read(state, 0x26, &cn) != 2) { in mb86a16_read_snr()
1766 if (cn < cnr_tab[i].cn_reg) { in mb86a16_read_snr()
/drivers/phy/freescale/
A Dphy-fsl-imx8-mipi-dphy.c111 u32 cn; member
223 cfg->cn = denominator >> i; in mixel_dphy_config_from_opts()
228 cfg->cn < 1 || cfg->cn > 32 || in mixel_dphy_config_from_opts()
231 cfg->cm, cfg->cn, cfg->co); in mixel_dphy_config_from_opts()
338 priv->cfg.cn < 1 || priv->cfg.cn > 32 || in mixel_dphy_set_pll_params()
341 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params()
345 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params()
347 phy_write(phy, CN(priv->cfg.cn), DPHY_CN); in mixel_dphy_set_pll_params()
/drivers/connector/
A DMakefile2 obj-$(CONFIG_CONNECTOR) += cn.o
5 cn-y += cn_queue.o connector.o
A DKconfig11 will be called cn.
/drivers/mmc/host/
A Dcavium-octeon.c151 struct device_node *cn, *node = pdev->dev.of_node; in octeon_mmc_probe() local
271 for_each_child_of_node(node, cn) { in octeon_mmc_probe()
273 of_platform_device_create(cn, NULL, &pdev->dev); in octeon_mmc_probe()
282 of_node_put(cn); in octeon_mmc_probe()
/drivers/video/fbdev/
A Dpxa168fb.h213 #define CFG_CBSH_ENA(cn) ((cn) << 29) argument
223 #define CFG_HWC_ENA(cn) ((cn) << 24) argument
/drivers/clk/
A Dclk.c1855 struct clk_notifier *cn; in __clk_notify() local
1864 cnd.clk = cn->clk; in __clk_notify()
4816 struct clk_notifier *cn; in clk_notifier_register() local
4826 if (cn->clk == clk) in clk_notifier_register()
4830 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in clk_notifier_register()
4831 if (!cn) in clk_notifier_register()
4834 cn->clk = clk; in clk_notifier_register()
4864 struct clk_notifier *cn; in clk_notifier_unregister() local
4873 if (cn->clk == clk) { in clk_notifier_unregister()
4881 list_del(&cn->node); in clk_notifier_unregister()
[all …]
/drivers/gpu/drm/i915/pxp/
A Dintel_pxp.c495 struct i915_gem_context *ctx, *cn; in intel_pxp_invalidate() local
499 list_for_each_entry_safe(ctx, cn, &i915->gem.contexts.list, link) { in intel_pxp_invalidate()
538 list_safe_reset_next(ctx, cn, link); in intel_pxp_invalidate()
/drivers/usb/gadget/
A Dconfigfs.c685 struct gadget_config_name *cn = to_gadget_config_name(item); in gadget_config_name_attr_release() local
687 kfree(cn->configuration); in gadget_config_name_attr_release()
689 list_del(&cn->list); in gadget_config_name_attr_release()
690 kfree(cn); in gadget_config_name_attr_release()
1773 struct gadget_config_name *cn; in configfs_composite_bind() local
1784 list_for_each_entry(cn, &cfg->string_list, list) { in configfs_composite_bind()
1785 cfg->gstrings[i] = &cn->stringtab_dev; in configfs_composite_bind()
1786 cn->stringtab_dev.strings = &cn->strings; in configfs_composite_bind()
1787 cn->strings.s = cn->configuration; in configfs_composite_bind()
/drivers/gpu/drm/i915/gt/
A Dintel_context.h94 #define for_each_child_safe(parent, ce, cn)\ argument
95 list_for_each_entry_safe(ce, cn, &(parent)->parallel.child_list,\
/drivers/base/
A Darch_topology.c655 struct device_node *cn __free(device_node) = in parse_dt_topology()
658 if (!cn) { in parse_dt_topology()
668 of_get_child_by_name(cn, "cpu-map"); in parse_dt_topology()
/drivers/video/fbdev/mmp/hw/
A Dmmp_ctrl.h422 #define CFG_CBSH_ENA(cn) ((cn)<<29) argument
432 #define CFG_HWC_ENA(cn) ((cn)<<24) argument
/drivers/dma/
A Dk3dma.c302 struct k3_dma_chan *c, *cn; in k3_dma_tasklet() local
306 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { in k3_dma_tasklet()
974 struct k3_dma_chan *c, *cn; in k3_dma_remove() local
982 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { in k3_dma_remove()
A Dsa11x0-dma.c892 struct sa11x0_dma_chan *c, *cn; in sa11x0_dma_free_channels() local
894 list_for_each_entry_safe(c, cn, &dmadev->channels, vc.chan.device_node) { in sa11x0_dma_free_channels()
A Dsprd-dma.c1245 struct sprd_dma_chn *c, *cn; in sprd_dma_remove() local
1253 list_for_each_entry_safe(c, cn, &sdev->dma_dev.channels, in sprd_dma_remove()
/drivers/gpu/drm/omapdrm/dss/
A Dhdmi5_core.c374 unsigned int yq, cn, pr; in hdmi_core_write_avi_infoframe() local
400 cn = (ptr[4] >> 4) & 0x3; in hdmi_core_write_avi_infoframe()
415 (yq << 2) | (cn << 0)); in hdmi_core_write_avi_infoframe()
/drivers/video/fbdev/omap2/omapfb/dss/
A Dhdmi5_core.c416 unsigned yq, cn, pr; in hdmi_core_write_avi_infoframe() local
442 cn = (ptr[4] >> 4) & 0x3; in hdmi_core_write_avi_infoframe()
457 (yq << 2) | (cn << 0)); in hdmi_core_write_avi_infoframe()
/drivers/net/wireless/ath/ath10k/
A Dhtc.c650 int ret, cn = 0; in ath10k_htc_send_bundle() local
671 for (cn = 0; (skb = skb_dequeue_tail(tx_save_head)); cn++) { in ath10k_htc_send_bundle()
685 ret, ep->eid, skb_queue_len(&ep->tx_req_head), cn, skb_len); in ath10k_htc_send_bundle()
/drivers/media/i2c/
A Dadv7511-v4l2.c394 u8 itc, cn; in adv7511_s_ctrl() local
398 cn = itc ? state->content_type : V4L2_DV_IT_CONTENT_TYPE_GRAPHICS; in adv7511_s_ctrl()
400 adv7511_wr_and_or(sd, 0x59, 0xcf, cn << 4); in adv7511_s_ctrl()
1296 u8 cn = itc ? state->content_type : V4L2_DV_IT_CONTENT_TYPE_GRAPHICS; in adv7511_set_fmt() local
1411 adv7511_wr_and_or(sd, 0x59, 0x0f, (yq << 6) | (cn << 4)); in adv7511_set_fmt()
/drivers/gpu/drm/i915/selftests/
A Di915_vma.c154 struct i915_gem_context *ctx, *cn; in igt_vma_create() local
197 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
209 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
/drivers/video/fbdev/mb862xx/
A Dmb862xxfbdrv.c844 int cn, ver; in coralp_init() local
863 cn = (ver & GC_CID_CNAME_MSK) >> 8; in coralp_init()
865 if (cn == 3) { in coralp_init()
/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_submission.c2324 struct intel_context *cn; in steal_guc_id() local
2335 GEM_BUG_ON(atomic_read(&cn->guc_id.ref)); in steal_guc_id()
2336 GEM_BUG_ON(context_guc_id_invalid(cn)); in steal_guc_id()
2337 GEM_BUG_ON(intel_context_is_child(cn)); in steal_guc_id()
2338 GEM_BUG_ON(intel_context_is_parent(cn)); in steal_guc_id()
2340 list_del_init(&cn->guc_id.link); in steal_guc_id()
2341 ce->guc_id.id = cn->guc_id.id; in steal_guc_id()
2343 spin_lock(&cn->guc_state.lock); in steal_guc_id()
2344 clr_context_registered(cn); in steal_guc_id()
2345 spin_unlock(&cn->guc_state.lock); in steal_guc_id()
[all …]
/drivers/gpu/drm/nouveau/
A Dnouveau_connector.c487 for_each_child_of_node_scoped(dn, cn) { in nouveau_connector_of_detect()
488 const char *name = of_get_property(cn, "name", NULL); in nouveau_connector_of_detect()
489 const void *edid = of_get_property(cn, "EDID", NULL); in nouveau_connector_of_detect()

Completed in 143 milliseconds

12