| /drivers/w1/ |
| A D | w1_netlink.c | 57 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 D | tc90522.c | 259 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 D | mb86a16.c | 1757 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 D | phy-fsl-imx8-mipi-dphy.c | 111 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 D | Makefile | 2 obj-$(CONFIG_CONNECTOR) += cn.o 5 cn-y += cn_queue.o connector.o
|
| A D | Kconfig | 11 will be called cn.
|
| /drivers/mmc/host/ |
| A D | cavium-octeon.c | 151 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 D | pxa168fb.h | 213 #define CFG_CBSH_ENA(cn) ((cn) << 29) argument 223 #define CFG_HWC_ENA(cn) ((cn) << 24) argument
|
| /drivers/clk/ |
| A D | clk.c | 1855 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 D | intel_pxp.c | 495 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 D | configfs.c | 685 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 D | intel_context.h | 94 #define for_each_child_safe(parent, ce, cn)\ argument 95 list_for_each_entry_safe(ce, cn, &(parent)->parallel.child_list,\
|
| /drivers/base/ |
| A D | arch_topology.c | 655 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 D | mmp_ctrl.h | 422 #define CFG_CBSH_ENA(cn) ((cn)<<29) argument 432 #define CFG_HWC_ENA(cn) ((cn)<<24) argument
|
| /drivers/dma/ |
| A D | k3dma.c | 302 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 D | sa11x0-dma.c | 892 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 D | sprd-dma.c | 1245 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 D | hdmi5_core.c | 374 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 D | hdmi5_core.c | 416 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 D | htc.c | 650 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 D | adv7511-v4l2.c | 394 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 D | i915_vma.c | 154 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 D | mb862xxfbdrv.c | 844 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 D | intel_guc_submission.c | 2324 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 D | nouveau_connector.c | 487 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()
|