Home
last modified time | relevance | path

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

/drivers/w1/
Dw1_netlink.c229 struct cn_msg *cn; in w1_process_command_root() local
239 cn = kmalloc(PAGE_SIZE, GFP_KERNEL); in w1_process_command_root()
240 if (!cn) in w1_process_command_root()
243 cn->id.idx = CN_W1_IDX; in w1_process_command_root()
244 cn->id.val = CN_W1_VAL; in w1_process_command_root()
246 cn->seq = msg->seq; in w1_process_command_root()
247 cn->ack = 1; in w1_process_command_root()
248 cn->len = sizeof(struct w1_netlink_msg); in w1_process_command_root()
249 w = (struct w1_netlink_msg *)(cn + 1); in w1_process_command_root()
258 if (cn->len + sizeof(*id) > PAGE_SIZE - sizeof(struct cn_msg)) { in w1_process_command_root()
[all …]
/drivers/clk/
Dclk.c933 struct clk_notifier *cn; in __clk_notify() local
941 list_for_each_entry(cn, &clk_notifier_list, node) { in __clk_notify()
942 if (cn->clk == clk) { in __clk_notify()
943 ret = srcu_notifier_call_chain(&cn->notifier_head, msg, in __clk_notify()
1889 struct clk_notifier *cn; in clk_notifier_register() local
1898 list_for_each_entry(cn, &clk_notifier_list, node) in clk_notifier_register()
1899 if (cn->clk == clk) in clk_notifier_register()
1903 if (cn->clk != clk) { in clk_notifier_register()
1904 cn = kzalloc(sizeof(struct clk_notifier), GFP_KERNEL); in clk_notifier_register()
1905 if (!cn) in clk_notifier_register()
[all …]
/drivers/connector/
DMakefile1 obj-$(CONFIG_CONNECTOR) += cn.o
4 cn-y += cn_queue.o connector.o
DKconfig10 will be called cn.
/drivers/usb/gadget/
Dconfigfs.c611 struct gadget_config_name *cn = to_gadget_config_name(item); in gadget_config_name_attr_release() local
613 kfree(cn->configuration); in gadget_config_name_attr_release()
615 list_del(&cn->list); in gadget_config_name_attr_release()
616 kfree(cn); in gadget_config_name_attr_release()
839 struct gadget_config_name *cn; in configfs_composite_bind() local
844 list_for_each_entry(cn, &cfg->string_list, list) { in configfs_composite_bind()
845 cfg->gstrings[i] = &cn->stringtab_dev; in configfs_composite_bind()
846 cn->stringtab_dev.strings = &cn->strings; in configfs_composite_bind()
847 cn->strings.s = cn->configuration; in configfs_composite_bind()
/drivers/video/
Dpxa168fb.h212 #define CFG_CBSH_ENA(cn) ((cn) << 29) argument
222 #define CFG_HWC_ENA(cn) ((cn) << 24) argument
/drivers/staging/sm7xxfb/
DTODO9 Teddy Wang <teddy.wang@siliconmotion.com.cn>.
/drivers/gpu/drm/nouveau/
Dnouveau_connector.c169 struct device_node *cn, *dn = pci_device_to_OF_node(dev->pdev); in nouveau_connector_of_detect() local
176 for_each_child_of_node(dn, cn) { in nouveau_connector_of_detect()
177 const char *name = of_get_property(cn, "name", NULL); in nouveau_connector_of_detect()
178 const void *edid = of_get_property(cn, "EDID", NULL); in nouveau_connector_of_detect()
184 of_node_put(cn); in nouveau_connector_of_detect()
/drivers/video/mmp/hw/
Dmmp_ctrl.h448 #define CFG_CBSH_ENA(cn) ((cn)<<29) argument
458 #define CFG_HWC_ENA(cn) ((cn)<<24) argument
/drivers/video/mb862xx/
Dmb862xxfbdrv.c851 int cn, ver; in coralp_init() local
870 cn = (ver & GC_CID_CNAME_MSK) >> 8; in coralp_init()
872 if (cn == 3) { in coralp_init()
/drivers/media/dvb-frontends/
Dmb86a16.c1776 u8 cn; in mb86a16_read_snr() local
1779 if (mb86a16_read(state, 0x26, &cn) != 2) { in mb86a16_read_snr()
1785 if (cn < cnr_tab[i].cn_reg) { in mb86a16_read_snr()
/drivers/dma/
Dsa11x0-dma.c885 struct sa11x0_dma_chan *c, *cn; in sa11x0_dma_free_channels() local
887 list_for_each_entry_safe(c, cn, &dmadev->channels, vc.chan.device_node) { in sa11x0_dma_free_channels()
/drivers/net/wireless/libertas/
Dcfg.c2107 const char *cn; in lbs_cfg_set_regulatory_hint() member
2126 regulatory_hint(priv->wdev->wiphy, regmap[i].cn); in lbs_cfg_set_regulatory_hint()