Home
last modified time | relevance | path

Searched refs:tmp_res (Results 1 – 11 of 11) sorted by relevance

/drivers/pci/
Dof.c266 struct resource *res, tmp_res; in devm_of_pci_get_host_bridge_resources() local
320 err = of_pci_range_to_resource(&range, dev_node, &tmp_res); in devm_of_pci_get_host_bridge_resources()
324 res = devm_kmemdup(dev, &tmp_res, sizeof(tmp_res), GFP_KERNEL); in devm_of_pci_get_host_bridge_resources()
369 err = of_pci_range_to_resource(&range, dev_node, &tmp_res); in devm_of_pci_get_host_bridge_resources()
373 res = devm_kmemdup(dev, &tmp_res, sizeof(tmp_res), GFP_KERNEL); in devm_of_pci_get_host_bridge_resources()
Dsetup-bus.c373 struct pci_dev_resource *dev_res, *tmp_res, *dev_res2; in __assign_resources_sorted() local
390 list_for_each_entry_safe(dev_res, tmp_res, head, list) { in __assign_resources_sorted()
447 list_for_each_entry_safe(dev_res, tmp_res, head, list) in __assign_resources_sorted()
/drivers/i2c/busses/
Di2c-mlxbf.c1047 struct mlxbf_i2c_resource *tmp_res; in mlxbf_i2c_init_resource() local
1053 tmp_res = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), in mlxbf_i2c_init_resource()
1055 if (!tmp_res) in mlxbf_i2c_init_resource()
1058 tmp_res->params = platform_get_resource(pdev, IORESOURCE_MEM, type); in mlxbf_i2c_init_resource()
1059 if (!tmp_res->params) { in mlxbf_i2c_init_resource()
1060 devm_kfree(dev, tmp_res); in mlxbf_i2c_init_resource()
1064 tmp_res->io = devm_ioremap_resource(dev, tmp_res->params); in mlxbf_i2c_init_resource()
1065 if (IS_ERR(tmp_res->io)) { in mlxbf_i2c_init_resource()
1066 devm_kfree(dev, tmp_res); in mlxbf_i2c_init_resource()
1067 return PTR_ERR(tmp_res->io); in mlxbf_i2c_init_resource()
[all …]
/drivers/scsi/aic94xx/
Daic94xx_tmf.c164 int res, tmp_res, i; in asd_I_T_nexus_reset() local
183 tmp_res = asd_clear_nexus_I_T(dev, NEXUS_PHASE_RESUME); in asd_I_T_nexus_reset()
184 if (tmp_res == TC_RESUME) in asd_I_T_nexus_reset()
193 "Failed to resume nexus after reset 0x%x\n", tmp_res); in asd_I_T_nexus_reset()
/drivers/staging/media/atomisp/i2c/
Datomisp-gc2235.c710 struct gc2235_resolution *tmp_res = NULL; in nearest_resolution_index() local
713 tmp_res = &gc2235_res[i]; in nearest_resolution_index()
714 dist = distance(tmp_res, w, h); in nearest_resolution_index()
Datomisp-ov2722.c823 struct ov2722_resolution *tmp_res = NULL; in nearest_resolution_index() local
826 tmp_res = &ov2722_res[i]; in nearest_resolution_index()
827 dist = distance(tmp_res, w, h); in nearest_resolution_index()
Datomisp-gc0310.c923 struct gc0310_resolution *tmp_res = NULL; in nearest_resolution_index() local
926 tmp_res = &gc0310_res[i]; in nearest_resolution_index()
927 dist = distance(tmp_res, w, h); in nearest_resolution_index()
Datomisp-ov2680.c881 struct ov2680_resolution *tmp_res = NULL; in nearest_resolution_index() local
884 tmp_res = &ov2680_res[i]; in nearest_resolution_index()
885 dist = distance(tmp_res, w, h); in nearest_resolution_index()
Datomisp-mt9m114.c622 const struct mt9m114_res_struct *tmp_res = NULL; in nearest_resolution_index() local
625 tmp_res = &mt9m114_res[i]; in nearest_resolution_index()
626 dist = distance(tmp_res, w, h); in nearest_resolution_index()
/drivers/net/bonding/
Dbond_main.c4171 int tmp_res; in bond_change_mtu() local
4176 tmp_res = dev_set_mtu(rollback_slave->dev, bond_dev->mtu); in bond_change_mtu()
4177 if (tmp_res) in bond_change_mtu()
4179 tmp_res); in bond_change_mtu()
4242 int tmp_res; in bond_set_mac_address() local
4247 tmp_res = dev_set_mac_address(rollback_slave->dev, in bond_set_mac_address()
4249 if (tmp_res) { in bond_set_mac_address()
4251 __func__, tmp_res); in bond_set_mac_address()
/drivers/staging/media/atomisp/i2c/ov5693/
Datomisp-ov5693.c1514 struct ov5693_resolution *tmp_res = NULL; in nearest_resolution_index() local
1517 tmp_res = &ov5693_res[i]; in nearest_resolution_index()
1518 dist = distance(tmp_res, w, h); in nearest_resolution_index()