Searched refs:ref (Results 1 – 7 of 7) sorted by relevance
| /drivers/xen/ |
| A D | gnttab.c | 50 gnttab_list[0] = ref; in put_free_entry() 56 unsigned int ref; in get_free_entry() local 60 ref = gnttab_list[0]; in get_free_entry() 61 BUG_ON(ref < NR_RESERVED_ENTRIES || ref >= NR_GRANT_ENTRIES); in get_free_entry() 64 return ref; in get_free_entry() 79 grant_ref_t ref; in gnttab_grant_access() local 81 ref = get_free_entry(); in gnttab_grant_access() 82 gnttab_table[ref].frame = frame; in gnttab_grant_access() 88 return ref; in gnttab_grant_access() 99 BUG_ON(ref >= NR_GRANT_ENTRIES || ref < NR_RESERVED_ENTRIES); in gnttab_end_access() [all …]
|
| /drivers/firmware/scmi/ |
| A D | smccc_agent.c | 37 struct scmi_smccc_channel ref; member 44 struct scmi_smccc_channel *chan = &channel->ref; in scmi_smccc_process_msg() 93 *channel = container_of(base_chan, struct scmi_channel, ref); in scmi_smccc_get_channel() 109 *channel = container_of(chan, struct scmi_channel, ref); in scmi_smccc_get_channel()
|
| A D | mailbox_agent.c | 38 struct scmi_mbox_channel ref; member 45 struct scmi_mbox_channel *chan = &channel->ref; in scmi_mbox_process_msg() 105 *channel = container_of(base_chan, struct scmi_channel, ref); in scmi_mbox_get_channel()
|
| A D | optee_agent.c | 42 struct scmi_optee_channel ref; member 280 struct scmi_optee_channel *chan = &channel->ref; in scmi_optee_process_msg() 336 *channel = container_of(base_chan, struct scmi_channel, ref); in scmi_optee_get_channel() 352 *channel = container_of(chan, struct scmi_channel, ref); in scmi_optee_get_channel()
|
| A D | sandbox-scmi_agent.c | 64 struct sandbox_channel ref; member 1126 *channel = container_of(agent_chan, struct scmi_channel, ref); in sandbox_scmi_of_get_channel() 1138 *channel = container_of(chan, struct scmi_channel, ref); in sandbox_scmi_of_get_channel() 1167 chan = (struct sandbox_channel *)&priv->channel->ref; in sandbox_scmi_channel_id()
|
| /drivers/mtd/ubi/ |
| A D | build.c | 449 static int ubi_sysfs_init(struct ubi_device *ubi, int *ref) in ubi_sysfs_init() argument 462 *ref = 1; in ubi_sysfs_init() 507 static int uif_init(struct ubi_device *ubi, int *ref) in uif_init() argument 514 *ref = 0; in uif_init() 542 err = ubi_sysfs_init(ubi, ref); in uif_init() 560 if (*ref) in uif_init() 878 int i, err, ref = 0; in ubi_attach_mtd_dev() local 1013 err = uif_init(ubi, &ref); in ubi_attach_mtd_dev() 1070 ubi_assert(ref); in ubi_attach_mtd_dev() 1079 if (ref) in ubi_attach_mtd_dev()
|
| /drivers/video/rockchip/ |
| A D | dw_mipi_dsi_rockchip.c | 234 struct clk *ref; member 569 fin = clk_get_rate(dsi->ref); in dw_mipi_dsi_get_lane_mbps() 861 priv->ref = NULL; in dw_mipi_dsi_rockchip_probe() 864 priv->ref = devm_clk_get(dev, "ref"); in dw_mipi_dsi_rockchip_probe() 865 if (IS_ERR(priv->ref)) { in dw_mipi_dsi_rockchip_probe() 866 ret = PTR_ERR(priv->ref); in dw_mipi_dsi_rockchip_probe()
|
Completed in 31 milliseconds