Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/drivers/video/fbdev/mmp/
Dcore.c16 static struct mmp_overlay *path_get_overlay(struct mmp_path *path, in path_get_overlay() argument
19 if (path && overlay_id < path->overlay_num) in path_get_overlay()
20 return &path->overlays[overlay_id]; in path_get_overlay()
24 static int path_check_status(struct mmp_path *path) in path_check_status() argument
27 for (i = 0; i < path->overlay_num; i++) in path_check_status()
28 if (path->overlays[i].status) in path_check_status()
41 static int path_get_modelist(struct mmp_path *path, in path_get_modelist() argument
44 BUG_ON(!path || !modelist); in path_get_modelist()
46 if (path->panel && path->panel->get_modelist) in path_get_modelist()
47 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist()
[all …]
/drivers/net/wireless/realtek/rtw89/
Drtw8852c_rfk.c136 u8 path; in _wait_rx_mode() local
140 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode()
141 if (!(kpath & BIT(path))) in _wait_rx_mode()
145 2, 5000, false, rtwdev, path, 0x00, in _wait_rx_mode()
149 path, ret); in _wait_rx_mode()
287 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path() argument
295 path_offset = (path == RF_PATH_A ? 0 : 0x28); in _dack_reload_by_path()
303 val32 |= dack->msbk_d[path][index][i + 12] << (i * 8); in _dack_reload_by_path()
312 val32 |= dack->msbk_d[path][index][i + 8] << (i * 8); in _dack_reload_by_path()
321 val32 |= dack->msbk_d[path][index][i + 4] << (i * 8); in _dack_reload_by_path()
[all …]
Drtw8852a_rfk.c94 u8 path; in _wait_rx_mode() local
98 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode()
99 if (!(kpath & BIT(path))) in _wait_rx_mode()
103 2, 5000, false, rtwdev, path, 0x00, in _wait_rx_mode()
107 path, ret); in _wait_rx_mode()
254 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path() argument
266 if (path == RF_PATH_A) in _dack_reload_by_path()
275 tmp |= dack->msbk_d[path][index][i + 12] << (i * 8); in _dack_reload_by_path()
283 tmp |= dack->msbk_d[path][index][i + 8] << (i * 8); in _dack_reload_by_path()
291 tmp |= dack->msbk_d[path][index][i + 4] << (i * 8); in _dack_reload_by_path()
[all …]
/drivers/thunderbolt/
Dpath.c108 struct tb_path *path; in tb_path_discover() local
153 path = kzalloc(sizeof(*path), GFP_KERNEL); in tb_path_discover()
154 if (!path) in tb_path_discover()
157 path->name = name; in tb_path_discover()
158 path->tb = src->sw->tb; in tb_path_discover()
159 path->path_length = num_hops; in tb_path_discover()
160 path->activated = true; in tb_path_discover()
161 path->alloc_hopid = alloc_hopid; in tb_path_discover()
163 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_discover()
164 if (!path->hops) { in tb_path_discover()
[all …]
Dtunnel.c186 static int tb_pci_init_path(struct tb_path *path) in tb_pci_init_path() argument
190 path->egress_fc_enable = TB_PATH_SOURCE | TB_PATH_INTERNAL; in tb_pci_init_path()
191 path->egress_shared_buffer = TB_PATH_NONE; in tb_pci_init_path()
192 path->ingress_fc_enable = TB_PATH_ALL; in tb_pci_init_path()
193 path->ingress_shared_buffer = TB_PATH_NONE; in tb_pci_init_path()
194 path->priority = 3; in tb_pci_init_path()
195 path->weight = 1; in tb_pci_init_path()
196 path->drop_packages = 0; in tb_pci_init_path()
198 tb_path_for_each_hop(path, hop) { in tb_pci_init_path()
223 struct tb_path *path; in tb_tunnel_discover_pci() local
[all …]
Dtest.c829 struct tb_path *path; in tb_test_path_not_connected() local
839 path = tb_path_alloc(NULL, down, 8, up, 8, 0, "PCIe Down"); in tb_test_path_not_connected()
840 KUNIT_ASSERT_NULL(test, path); in tb_test_path_not_connected()
841 path = tb_path_alloc(NULL, down, 8, up, 8, 1, "PCIe Down"); in tb_test_path_not_connected()
842 KUNIT_ASSERT_NULL(test, path); in tb_test_path_not_connected()
881 struct tb_path *path; in tb_test_path_not_bonded_lane0() local
890 path = tb_path_alloc(NULL, down, 8, up, 8, 0, "PCIe Down"); in tb_test_path_not_bonded_lane0()
891 KUNIT_ASSERT_NOT_NULL(test, path); in tb_test_path_not_bonded_lane0()
892 KUNIT_ASSERT_EQ(test, path->path_length, ARRAY_SIZE(test_data)); in tb_test_path_not_bonded_lane0()
896 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane0()
[all …]
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c122 struct mmp_path *path = overlay->path; in dmafetch_set_fmt() local
123 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt()
126 writel_relaxed(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt()
131 struct lcd_regs *regs = path_regs(overlay->path); in overlay_set_win()
171 struct mmp_path *path = overlay->path; in dmafetch_onoff() local
174 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff()
177 writel(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff()
181 static void path_enabledisable(struct mmp_path *path, int on) in path_enabledisable() argument
184 mutex_lock(&path->access_ok); in path_enabledisable()
185 tmp = readl_relaxed(ctrl_regs(path) + LCD_SCLK(path)); in path_enabledisable()
[all …]
/drivers/net/ethernet/mediatek/
Dmtk_eth_path.c18 int (*set_path)(struct mtk_eth *eth, int path);
21 static const char *mtk_eth_path_name(int path) in mtk_eth_path_name() argument
23 switch (path) { in mtk_eth_path_name()
43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, int path) in set_mux_gdm1_to_gmac1_esw() argument
48 switch (path) { in set_mux_gdm1_to_gmac1_esw()
69 mtk_eth_path_name(path), __func__, updated); in set_mux_gdm1_to_gmac1_esw()
74 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, int path) in set_mux_gmac2_gmac0_to_gephy() argument
79 switch (path) { in set_mux_gmac2_gmac0_to_gephy()
92 mtk_eth_path_name(path), __func__, updated); in set_mux_gmac2_gmac0_to_gephy()
97 static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, int path) in set_mux_u3_gmac2_to_qphy() argument
[all …]
/drivers/interconnect/
Dcore.c155 struct icc_path *path; in path_init() local
158 path = kzalloc(struct_size(path, reqs, num_nodes), GFP_KERNEL); in path_init()
159 if (!path) in path_init()
162 path->num_nodes = num_nodes; in path_init()
166 hlist_add_head(&path->reqs[i].req_node, &node->req_list); in path_init()
167 path->reqs[i].node = node; in path_init()
168 path->reqs[i].dev = dev; in path_init()
169 path->reqs[i].enabled = true; in path_init()
174 return path; in path_init()
180 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); in path_find() local
[all …]
Dbulk.c21 paths[i].path = of_icc_get(dev, paths[i].name); in of_icc_bulk_get()
22 if (IS_ERR(paths[i].path)) { in of_icc_bulk_get()
23 ret = PTR_ERR(paths[i].path); in of_icc_bulk_get()
27 paths[i].path = NULL; in of_icc_bulk_get()
49 icc_put(paths[num_paths].path); in icc_bulk_put()
50 paths[num_paths].path = NULL; in icc_bulk_put()
68 ret = icc_set_bw(paths[i].path, paths[i].avg_bw, paths[i].peak_bw); in icc_bulk_set_bw()
91 ret = icc_enable(paths[i].path); in icc_bulk_enable()
115 icc_disable(paths[num_paths].path); in icc_bulk_disable()
/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c93 u32 path, i; in rtw8822c_dac_backup_reg() local
108 for (path = 0; path < DACK_PATH_8822C; path++) { in rtw8822c_dac_backup_reg()
111 val = rtw_read_rf(rtwdev, path, reg, RFREG_MASK); in rtw8822c_dac_backup_reg()
112 backup_rf[path * i + i].reg = reg; in rtw8822c_dac_backup_reg()
113 backup_rf[path * i + i].val = val; in rtw8822c_dac_backup_reg()
122 u32 path, i; in rtw8822c_dac_restore_reg() local
128 for (path = 0; path < DACK_PATH_8822C; path++) { in rtw8822c_dac_restore_reg()
130 val = backup_rf[path * i + i].val; in rtw8822c_dac_restore_reg()
131 reg = backup_rf[path * i + i].reg; in rtw8822c_dac_restore_reg()
132 rtw_write_rf(rtwdev, path, reg, RFREG_MASK, val); in rtw8822c_dac_restore_reg()
[all …]
/drivers/infiniband/ulp/rtrs/
Drtrs.c74 struct rtrs_path *path = con->path; in rtrs_iu_post_recv() local
80 list.lkey = path->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_recv()
83 rtrs_wrn(con->path, in rtrs_iu_post_recv()
131 struct rtrs_path *path = con->path; in rtrs_iu_post_send() local
140 list.lkey = path->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_send()
193 struct rtrs_path *path = con->path; in rtrs_post_rdma_write_imm_empty() local
197 sflags = (atomic_inc_return(&con->wr_cnt) % path->signal_interval) ? in rtrs_post_rdma_write_imm_empty()
216 rtrs_info(con->path, "QP event %s (%d) received\n", in qp_event_handler()
221 rtrs_info(con->path, "Unhandled QP event %s (%d) received\n", in qp_event_handler()
229 return con->cid >= con->path->irq_con_num; in is_pollqueue()
[all …]
/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-cmdq.c39 static int mdp_path_subfrm_require(const struct mdp_path *path, in mdp_path_subfrm_require() argument
43 const struct img_config *config = path->config; in mdp_path_subfrm_require()
45 const struct mtk_mdp_driver_data *data = path->mdp_dev->mdp_data; in mdp_path_subfrm_require()
46 struct device *dev = &path->mdp_dev->pdev->dev; in mdp_path_subfrm_require()
47 struct mtk_mutex **mutex = path->mdp_dev->mdp_mutex; in mdp_path_subfrm_require()
51 switch (path->comps[0].comp->id) { in mdp_path_subfrm_require()
71 ctx = &path->comps[index]; in mdp_path_subfrm_require()
85 static int mdp_path_subfrm_run(const struct mdp_path *path, in mdp_path_subfrm_run() argument
89 const struct img_config *config = path->config; in mdp_path_subfrm_run()
91 struct device *dev = &path->mdp_dev->pdev->dev; in mdp_path_subfrm_run()
[all …]
/drivers/infiniband/ulp/ipoib/
Dipoib_main.c76 struct ipoib_path path; member
561 struct ipoib_path *path; in __path_find() local
565 path = rb_entry(n, struct ipoib_path, rb_node); in __path_find()
567 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find()
575 return path; in __path_find()
581 static int __path_add(struct net_device *dev, struct ipoib_path *path) in __path_add() argument
593 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()
603 rb_link_node(&path->rb_node, pn, n); in __path_add()
604 rb_insert_color(&path->rb_node, &priv->path_tree); in __path_add()
606 list_add_tail(&path->list, &priv->path_list); in __path_add()
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c46 if (dst->path[tx].prio_type != src->path[tx].prio_type) { in ixgbe_copy_dcb_cfg()
47 dst->path[tx].prio_type = src->path[tx].prio_type; in ixgbe_copy_dcb_cfg()
51 if (dst->path[tx].bwg_id != src->path[tx].bwg_id) { in ixgbe_copy_dcb_cfg()
52 dst->path[tx].bwg_id = src->path[tx].bwg_id; in ixgbe_copy_dcb_cfg()
56 if (dst->path[tx].bwg_percent != src->path[tx].bwg_percent) { in ixgbe_copy_dcb_cfg()
57 dst->path[tx].bwg_percent = src->path[tx].bwg_percent; in ixgbe_copy_dcb_cfg()
61 if (dst->path[tx].up_to_tc_bitmap != in ixgbe_copy_dcb_cfg()
62 src->path[tx].up_to_tc_bitmap) { in ixgbe_copy_dcb_cfg()
63 dst->path[tx].up_to_tc_bitmap = in ixgbe_copy_dcb_cfg()
64 src->path[tx].up_to_tc_bitmap; in ixgbe_copy_dcb_cfg()
[all …]
/drivers/xen/xenbus/
Dxenbus_xs.c425 char *strings, *path; in xenbus_directory() local
428 path = join(dir, node); in xenbus_directory()
429 if (IS_ERR(path)) in xenbus_directory()
430 return (char **)path; in xenbus_directory()
432 strings = xs_single(t, XS_DIRECTORY, path, &len); in xenbus_directory()
433 kfree(path); in xenbus_directory()
463 char *path; in xenbus_read() local
466 path = join(dir, node); in xenbus_read()
467 if (IS_ERR(path)) in xenbus_read()
468 return (void *)path; in xenbus_read()
[all …]
/drivers/base/
Ddevtmpfs.c169 struct path path; in dev_mkdir() local
172 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir()
176 err = vfs_mkdir(&init_user_ns, d_inode(path.dentry), dentry, mode); in dev_mkdir()
180 done_path_create(&path, dentry); in dev_mkdir()
186 char *path; in create_path() local
191 path = kstrdup(nodepath, GFP_KERNEL); in create_path()
192 if (!path) in create_path()
195 s = path; in create_path()
201 err = dev_mkdir(path, 0755); in create_path()
207 kfree(path); in create_path()
[all …]
/drivers/md/
Ddm-ps-queue-length.c37 struct dm_path *path; member
86 static int ql_status(struct path_selector *ps, struct dm_path *path, in ql_status() argument
93 if (!path) in ql_status()
96 pi = path->pscontext; in ql_status()
114 static int ql_add_path(struct path_selector *ps, struct dm_path *path, in ql_add_path() argument
150 pi->path = path; in ql_add_path()
154 path->pscontext = pi; in ql_add_path()
163 static void ql_fail_path(struct path_selector *ps, struct dm_path *path) in ql_fail_path() argument
166 struct path_info *pi = path->pscontext; in ql_fail_path()
174 static int ql_reinstate_path(struct path_selector *ps, struct dm_path *path) in ql_reinstate_path() argument
[all …]
Ddm-ps-service-time.c32 struct dm_path *path; member
82 static int st_status(struct path_selector *ps, struct dm_path *path, in st_status() argument
88 if (!path) in st_status()
91 pi = path->pscontext; in st_status()
111 static int st_add_path(struct path_selector *ps, struct dm_path *path, in st_add_path() argument
161 pi->path = path; in st_add_path()
166 path->pscontext = pi; in st_add_path()
175 static void st_fail_path(struct path_selector *ps, struct dm_path *path) in st_fail_path() argument
178 struct path_info *pi = path->pscontext; in st_fail_path()
186 static int st_reinstate_path(struct path_selector *ps, struct dm_path *path) in st_reinstate_path() argument
[all …]
Ddm-ps-historical-service-time.c56 struct dm_path *path; member
237 static int hst_status(struct path_selector *ps, struct dm_path *path, in hst_status() argument
243 if (!path) { in hst_status()
248 pi = path->pscontext; in hst_status()
267 static int hst_add_path(struct path_selector *ps, struct dm_path *path, in hst_add_path() argument
298 pi->path = path; in hst_add_path()
309 path->pscontext = pi; in hst_add_path()
319 static void hst_fail_path(struct path_selector *ps, struct dm_path *path) in hst_fail_path() argument
322 struct path_info *pi = path->pscontext; in hst_fail_path()
331 static int hst_reinstate_path(struct path_selector *ps, struct dm_path *path) in hst_reinstate_path() argument
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c907 u8 band, u8 path, in _rtl8821ae_phy_set_txpower_by_rate_base() argument
914 if (path > RF90_PATH_D) { in _rtl8821ae_phy_set_txpower_by_rate_base()
916 "Invalid Rf Path %d in phy_SetTxPowerByRatBase()\n", path); in _rtl8821ae_phy_set_txpower_by_rate_base()
923 rtlphy->txpwr_by_rate_base_24g[path][txnum][0] = value; in _rtl8821ae_phy_set_txpower_by_rate_base()
926 rtlphy->txpwr_by_rate_base_24g[path][txnum][1] = value; in _rtl8821ae_phy_set_txpower_by_rate_base()
929 rtlphy->txpwr_by_rate_base_24g[path][txnum][2] = value; in _rtl8821ae_phy_set_txpower_by_rate_base()
932 rtlphy->txpwr_by_rate_base_24g[path][txnum][3] = value; in _rtl8821ae_phy_set_txpower_by_rate_base()
935 rtlphy->txpwr_by_rate_base_24g[path][txnum][4] = value; in _rtl8821ae_phy_set_txpower_by_rate_base()
938 rtlphy->txpwr_by_rate_base_24g[path][txnum][5] = value; in _rtl8821ae_phy_set_txpower_by_rate_base()
943 rate_section, path, txnum); in _rtl8821ae_phy_set_txpower_by_rate_base()
[all …]
/drivers/tty/hvc/
Dhvc_iucv.c69 struct iucv_path *path; /* IUCV path pointer */ member
249 rc = __iucv_message_receive(priv->path, &rb->msg, 0, in hvc_iucv_write()
414 rc = __iucv_message_send(priv->path, &sb->msg, 0, 0, in hvc_iucv_send()
589 struct iucv_path *path; in hvc_iucv_hangup() local
591 path = NULL; in hvc_iucv_hangup()
594 path = priv->path; in hvc_iucv_hangup()
595 priv->path = NULL; in hvc_iucv_hangup()
610 if (path) { in hvc_iucv_hangup()
611 iucv_path_sever(path, NULL); in hvc_iucv_hangup()
612 iucv_path_free(path); in hvc_iucv_hangup()
[all …]
/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c44 uc_fw->file_selected.path : intel_uc_fw_status_repr(status)); in intel_uc_fw_change_status()
166 const char *path; member
177 .path = path_,
264 if (uc_fw->file_selected.path) { in __uc_fw_auto_select()
265 if (uc_fw->file_selected.path == blob->path) in __uc_fw_auto_select()
266 uc_fw->file_selected.path = NULL; in __uc_fw_auto_select()
271 uc_fw->file_selected.path = blob->path; in __uc_fw_auto_select()
272 uc_fw->file_wanted.path = blob->path; in __uc_fw_auto_select()
279 if (!found && uc_fw->file_selected.path) { in __uc_fw_auto_select()
281 uc_fw->file_selected.path = NULL; in __uc_fw_auto_select()
[all …]
/drivers/acpi/x86/
Dutils.c44 const char *path; member
48 #define ENTRY(status, hid, uid, path, cpu_model, dmi...) { \ argument
53 path, \
63 #define PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \ argument
64 ENTRY(ACPI_STA_DEFAULT, "", NULL, path, cpu_model, dmi)
66 #define NOT_PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \ argument
67 ENTRY(0, "", NULL, path, cpu_model, dmi)
161 if (override_status_ids[i].path) { in acpi_device_override_status()
162 struct acpi_buffer path = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_device_override_status() local
165 if (acpi_get_name(adev->handle, ACPI_FULL_PATHNAME, &path)) in acpi_device_override_status()
[all …]
/drivers/comedi/drivers/ni_routing/tools/
Dconvert_csv_to_c.py152 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H))
241 sheet_filename = os.path.join(self.ITEMS_DIR,'{}.c'.format(S))
258 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f:
262 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f:
268 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H)
269 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f:
278 filename=os.path.join(self.OUTPUT_DIR, self.SET_C)
281 os.makedirs(os.path.join(self.OUTPUT_DIR, self.ITEMS_DIR))
331 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H))
429 sheet_filename = os.path.join(self.ITEMS_DIR,'{}.c'.format(S))
[all …]

12345678910>>...12