Home
last modified time | relevance | path

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

12

/drivers/w1/
Dw1_netlink.c26 struct cn_msg *cn; /* advances as cn_msg is appeneded */ member
57 if (!block->cn) in w1_reply_len()
59 return (u8 *)block->cn - (u8 *)block->first_cn + block->cn->len; in w1_reply_len()
88 block->cn = NULL; in w1_reply_make_space()
97 if (!(block->request_cn.flags & W1_CN_BUNDLE) && block->cn) in w1_netlink_check_send()
112 if (block->cn && block->cn->ack == ack) { in w1_netlink_setup_msg()
113 block->msg = (struct w1_netlink_msg *)(block->cn->data + block->cn->len); in w1_netlink_setup_msg()
116 if (block->cn) in w1_netlink_setup_msg()
117 block->cn = (struct cn_msg *)(block->cn->data + in w1_netlink_setup_msg()
118 block->cn->len); in w1_netlink_setup_msg()
[all …]
/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c83 u32 cn; member
191 cfg->cn = denominator >> i; in mixel_dphy_config_from_opts()
196 cfg->cn < 1 || cfg->cn > 32 || in mixel_dphy_config_from_opts()
199 cfg->cm, cfg->cn, cfg->co); in mixel_dphy_config_from_opts()
306 priv->cfg.cn < 1 || priv->cfg.cn > 32 || in mixel_dphy_set_pll_params()
309 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params()
313 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params()
315 phy_write(phy, CN(priv->cfg.cn), DPHY_CN); in mixel_dphy_set_pll_params()
/drivers/media/dvb-frontends/
Dtc90522.c259 s64 cn; in tc90522s_get_frontend() local
271 cn = div64_s64(-16346LL * p4 * p, 10) >> 35; in tc90522s_get_frontend()
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()
[all …]
Dmb86a16.c1752 u8 cn; in mb86a16_read_snr() local
1755 if (mb86a16_read(state, 0x26, &cn) != 2) { in mb86a16_read_snr()
1761 if (cn < cnr_tab[i].cn_reg) { in mb86a16_read_snr()
/drivers/connector/
DMakefile2 obj-$(CONFIG_CONNECTOR) += cn.o
5 cn-y += cn_queue.o connector.o
DKconfig11 will be called cn.
/drivers/mmc/host/
Dcavium-octeon.c149 struct device_node *cn, *node = pdev->dev.of_node; in octeon_mmc_probe() local
269 for_each_child_of_node(node, cn) { in octeon_mmc_probe()
271 of_platform_device_create(cn, NULL, &pdev->dev); in octeon_mmc_probe()
280 of_node_put(cn); in octeon_mmc_probe()
/drivers/base/
Darch_topology.c557 struct device_node *cn, *map; in parse_dt_topology() local
561 cn = of_find_node_by_path("/cpus"); in parse_dt_topology()
562 if (!cn) { in parse_dt_topology()
571 map = of_get_child_by_name(cn, "cpu-map"); in parse_dt_topology()
592 of_node_put(cn); in parse_dt_topology()
/drivers/video/fbdev/
Dpxa168fb.h213 #define CFG_CBSH_ENA(cn) ((cn) << 29) argument
223 #define CFG_HWC_ENA(cn) ((cn) << 24) argument
/drivers/clk/
Dclk.c1575 struct clk_notifier *cn; in __clk_notify() local
1582 list_for_each_entry(cn, &clk_notifier_list, node) { in __clk_notify()
1583 if (cn->clk->core == core) { in __clk_notify()
1584 cnd.clk = cn->clk; in __clk_notify()
1585 ret = srcu_notifier_call_chain(&cn->notifier_head, msg, in __clk_notify()
4480 struct clk_notifier *cn; in clk_notifier_register() local
4489 list_for_each_entry(cn, &clk_notifier_list, node) in clk_notifier_register()
4490 if (cn->clk == clk) in clk_notifier_register()
4494 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in clk_notifier_register()
4495 if (!cn) in clk_notifier_register()
[all …]
/drivers/staging/rts5208/
DTODO7 Micky Ching <micky_ching@realsil.com.cn>
/drivers/usb/gadget/
Dconfigfs.c698 struct gadget_config_name *cn = to_gadget_config_name(item); in gadget_config_name_attr_release() local
700 kfree(cn->configuration); in gadget_config_name_attr_release()
702 list_del(&cn->list); in gadget_config_name_attr_release()
703 kfree(cn); in gadget_config_name_attr_release()
1414 struct gadget_config_name *cn; in configfs_composite_bind() local
1425 list_for_each_entry(cn, &cfg->string_list, list) { in configfs_composite_bind()
1426 cfg->gstrings[i] = &cn->stringtab_dev; in configfs_composite_bind()
1427 cn->stringtab_dev.strings = &cn->strings; in configfs_composite_bind()
1428 cn->strings.s = cn->configuration; in configfs_composite_bind()
/drivers/gpu/drm/nouveau/
Dnouveau_connector.c465 struct device_node *cn, *dn = pci_device_to_OF_node(pdev); in nouveau_connector_of_detect() local
472 for_each_child_of_node(dn, cn) { in nouveau_connector_of_detect()
473 const char *name = of_get_property(cn, "name", NULL); in nouveau_connector_of_detect()
474 const void *edid = of_get_property(cn, "EDID", NULL); in nouveau_connector_of_detect()
480 of_node_put(cn); in nouveau_connector_of_detect()
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h422 #define CFG_CBSH_ENA(cn) ((cn)<<29) argument
432 #define CFG_HWC_ENA(cn) ((cn)<<24) argument
/drivers/dma/
Dk3dma.c303 struct k3_dma_chan *c, *cn; in k3_dma_tasklet() local
307 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { in k3_dma_tasklet()
979 struct k3_dma_chan *c, *cn; in k3_dma_remove() local
987 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { in k3_dma_remove()
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()
Dsprd-dma.c1238 struct sprd_dma_chn *c, *cn; in sprd_dma_remove() local
1246 list_for_each_entry_safe(c, cn, &sdev->dma_dev.channels, in sprd_dma_remove()
/drivers/gpu/drm/omapdrm/dss/
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/
Dhdmi5_core.c418 unsigned yq, cn, pr; in hdmi_core_write_avi_infoframe() local
444 cn = (ptr[4] >> 4) & 0x3; in hdmi_core_write_avi_infoframe()
459 (yq << 2) | (cn << 0)); in hdmi_core_write_avi_infoframe()
/drivers/net/wireless/ath/ath10k/
Dhtc.c637 int ret, cn = 0; in ath10k_htc_send_bundle() local
658 for (cn = 0; (skb = skb_dequeue_tail(tx_save_head)); cn++) { in ath10k_htc_send_bundle()
672 ret, ep->eid, skb_queue_len(&ep->tx_req_head), cn, skb_len); in ath10k_htc_send_bundle()
/drivers/media/i2c/
Dadv7511-v4l2.c419 u8 itc, cn; in adv7511_s_ctrl() local
423 cn = itc ? state->content_type : V4L2_DV_IT_CONTENT_TYPE_GRAPHICS; in adv7511_s_ctrl()
425 adv7511_wr_and_or(sd, 0x59, 0xcf, cn << 4); in adv7511_s_ctrl()
1302 u8 cn = itc ? state->content_type : V4L2_DV_IT_CONTENT_TYPE_GRAPHICS; in adv7511_set_fmt() local
1417 adv7511_wr_and_or(sd, 0x59, 0x0f, (yq << 6) | (cn << 4)); in adv7511_set_fmt()
/drivers/gpu/drm/i915/selftests/
Di915_vma.c153 struct i915_gem_context *ctx, *cn; in igt_vma_create() local
195 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
207 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c845 int cn, ver; in coralp_init() local
864 cn = (ver & GC_CID_CNAME_MSK) >> 8; in coralp_init()
866 if (cn == 3) { in coralp_init()
/drivers/gpu/drm/i915/
Di915_request.c162 struct execute_cb *cb, *cn; in __notify_execute_cb() local
167 llist_for_each_entry_safe(cb, cn, in __notify_execute_cb()
/drivers/net/wireless/marvell/libertas/
Dcfg.c2068 const char *cn; in lbs_cfg_set_regulatory_hint() member
2085 regulatory_hint(priv->wdev->wiphy, regmap[i].cn); in lbs_cfg_set_regulatory_hint()

12