| /drivers/video/fbdev/mmp/ |
| A D | core.c | 19 if (path && overlay_id < path->overlay_num) in path_get_overlay() 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() 110 if (path->panel && path->panel == panel) { in mmp_unregister_panel() 141 return path; in mmp_get_path() 160 if (!path) in mmp_register_path() 184 path->name, path->overlay_num); in mmp_register_path() 196 path->overlays[i].path = path; in mmp_register_path() 206 return path; in mmp_register_path() 220 if (!path) in mmp_unregister_path() [all …]
|
| /drivers/thunderbolt/ |
| A D | path.c | 153 path = kzalloc(sizeof(*path), GFP_KERNEL); in tb_path_discover() 154 if (!path) in tb_path_discover() 165 kfree(path); in tb_path_discover() 211 return path; in tb_path_discover() 248 path = kzalloc(sizeof(*path), GFP_KERNEL); in tb_path_alloc() 249 if (!path) in tb_path_alloc() 345 return path; in tb_path_alloc() 376 kfree(path); in tb_path_free() 485 path->name, tb_route(path->hops[0].in_port->sw), in tb_path_deactivate() 514 path->name, tb_route(path->hops[0].in_port->sw), in tb_path_activate() [all …]
|
| A D | test.c | 846 struct tb_path *path; in tb_test_path_not_connected() local 898 struct tb_path *path; in tb_test_path_not_bonded_lane0() local 925 tb_path_free(path); in tb_test_path_not_bonded_lane0() 960 struct tb_path *path; in tb_test_path_not_bonded_lane1() local 987 tb_path_free(path); in tb_test_path_not_bonded_lane1() 1038 struct tb_path *path; in tb_test_path_not_bonded_lane1_chain() local 1067 tb_path_free(path); in tb_test_path_not_bonded_lane1_chain() 1118 struct tb_path *path; in tb_test_path_not_bonded_lane1_chain_reverse() local 1147 tb_path_free(path); in tb_test_path_not_bonded_lane1_chain_reverse() 1239 tb_path_free(path); in tb_test_path_mixed_chain() [all …]
|
| A D | tunnel.c | 444 if (!path) { in tb_tunnel_discover_pci() 455 if (!path) in tb_tunnel_discover_pci() 517 if (!path) in tb_tunnel_alloc_pci() 525 if (!path) in tb_tunnel_alloc_pci() 1588 if (!path) in tb_tunnel_discover_dp() 1595 if (!path) in tb_tunnel_discover_dp() 1691 if (!path) in tb_tunnel_alloc_dp() 1698 if (!path) in tb_tunnel_alloc_dp() 1705 if (!path) in tb_tunnel_alloc_dp() 2199 if (!path) in tb_tunnel_discover_usb3() [all …]
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | rtw8852c_rfk.c | 157 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 1510 for (path = 0; path < RTW8852C_IQK_SS; path++) { in _iqk_init() 2722 for (path = 0; path < RTW8852C_DPK_RF_PATH; path++) in _dpk_cal_select() 3906 for (path = 0; path < 2; path++) { in _ctrl_bw() 3982 for (path = 0; path < 2; path++) { in _ctrl_ch() 3998 for (path = 0; path < 2; path++) { in _rxbb_bw() 4147 for (path = 0; path < 2; path++) in rtw8852c_rck() 4193 for (path = 0; path < 2; path++) { in _rx_dck() 4259 for (path = 0; path < RF_PATH_NUM_8852C; path++) { in rtw8852c_rx_dck_track() 4278 for (path = 0; path < RF_PATH_NUM_8852C; path++) { in rtw8852c_rx_dck_track() [all …]
|
| A D | rtw8852a_rfk.c | 98 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 589 path, BIT(path), tmp); in _iqk_read_xym_dbcc0() 1612 for (path = 0; path < RTW8852A_IQK_SS; path++) { in _iqk_init() 1736 for (path = 0; path < 2; path++) { in _rx_dck() 2635 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) in _dpk_cal_select() 2646 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2658 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2669 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2706 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_force_bypass() 2753 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_track() [all …]
|
| A D | rtw8852b_rfk.c | 313 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _rx_dck() 1558 for (path = 0; path < RTW8852B_IQK_SS; path++) { in _iqk_init() 1575 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 2506 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) in _dpk_cal_select() 2512 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2522 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2530 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2599 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _dpk_track() 2705 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _set_dpd_backoff() 3744 for (path = 0; path < RF_PATH_NUM_8852B; path++) in rtw8852b_rck() [all …]
|
| A D | rtw8851b_rfk.c | 235 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 651 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _rx_dck() 1684 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _iqk_init() 1870 path, dpk->cur_idx[path], phy, in _dpk_information() 2586 for (path = 0; path < RF_PATH_NUM_8851B; path++) in _dpk_cal_select() 2589 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2601 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2607 path, dpk->cur_idx[path]); in _dpk_cal_select() 2618 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2655 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_track() [all …]
|
| A D | rtw8852bt_rfk.c | 388 for (path = 0; path < RF_PATH_NUM_8852BT; path++) { in _rx_dck() 1169 path, gp, 1 << path, iqk_info->nb_txcfir[path]); in _iqk_2g_tx() 1229 path, gp, 1 << path, iqk_info->nb_txcfir[path]); in _iqk_5g_tx() 1707 for (path = 0; path < RTW8852BT_SS; path++) { in _iqk_init() 1724 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 2670 for (path = 0; path < RTW8852BT_SS; path++) { in _dpk_force_bypass() 2687 for (path = 0; path < RF_PATH_NUM_8852BT; path++) { in _dpk_track() 3807 for (path = 0; path < 2; path++) { in rtw8852bt_dpk_init() 3821 for (path = 0; path < RF_PATH_NUM_8852BT; path++) in rtw8852bt_rck() 4275 for (path = 0; path < RTW8852BT_SS; path++) in rtw8852bt_rfk_chanctx_cb() [all …]
|
| A D | acpi.c | 564 enum rtw89_rf_path path; in rtw89_acpi_sar_load_std_legacy() local 567 for (path = 0; path < NUM_OF_RTW89_ACPI_SAR_RF_PATH; path++) { in rtw89_acpi_sar_load_std_legacy() 587 enum rtw89_rf_path path; in rtw89_acpi_sar_load_std_has_6ghz() local 592 for (path = 0; path < NUM_OF_RTW89_ACPI_SAR_RF_PATH; path++) { in rtw89_acpi_sar_load_std_has_6ghz() 611 for (path = 0; path < NUM_OF_RTW89_ACPI_SAR_RF_PATH; path++) { in rtw89_acpi_sar_load_sml_legacy() 636 for (path = 0; path < NUM_OF_RTW89_ACPI_SAR_RF_PATH; path++) { in rtw89_acpi_sar_load_sml_has_6ghz() 758 for (path = 0; path < NUM_OF_RTW89_ACPI_SAR_RF_PATH; path++) in rtw89_acpi_geo_sar_load_hp_legacy() 801 for (path = 0; path < NUM_OF_RTW89_ACPI_SAR_RF_PATH; path++) in rtw89_acpi_geo_sar_load_hp_has_6ghz() 842 for (path = 0; path < NUM_OF_RTW89_ACPI_SAR_RF_PATH; path++) in rtw89_acpi_geo_sar_load_rt_legacy() 885 for (path = 0; path < NUM_OF_RTW89_ACPI_SAR_RF_PATH; path++) in rtw89_acpi_geo_sar_load_rt_has_6ghz() [all …]
|
| /drivers/video/fbdev/mmp/hw/ |
| A D | mmp_ctrl.c | 122 struct mmp_path *path = overlay->path; in dmafetch_set_fmt() local 171 struct mmp_path *path = overlay->path; in dmafetch_onoff() local 177 writel(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff() 185 tmp = readl_relaxed(ctrl_regs(path) + LCD_SCLK(path)); in path_enabledisable() 198 path->name, stat_name(path->status)); in path_onoff() 205 if (path->panel && path->panel->set_onoff) in path_onoff() 206 path->panel->set_onoff(path->panel, 1); in path_onoff() 208 if (path->panel && path->panel->set_onoff) in path_onoff() 209 path->panel->set_onoff(path->panel, 0); in path_onoff() 225 if (overlay->path->ops.check_status(overlay->path) in overlay_set_onoff() [all …]
|
| /drivers/net/ethernet/mediatek/ |
| A D | mtk_eth_path.c | 23 switch (path) { in mtk_eth_path_name() 50 switch (path) { in set_mux_gdm1_to_gmac1_esw() 83 switch (path) { in set_mux_gmac2_gmac0_to_gephy() 106 switch (path) { in set_mux_u3_gmac2_to_qphy() 160 switch (path) { in set_mux_gmac1_gmac2_to_sgmii_rgmii() 283 u64 path; in mtk_gmac_sgmii_path_setup() local 294 u64 path = 0; in mtk_gmac_2p5gphy_path_setup() local 299 if (!path) in mtk_gmac_2p5gphy_path_setup() 308 u64 path = 0; in mtk_gmac_gephy_path_setup() local 313 if (!path) in mtk_gmac_gephy_path_setup() [all …]
|
| /drivers/media/platform/mediatek/mdp3/ |
| A D | mtk-mdp3-cmdq.c | 156 index = __get_pipe(path->mdp_dev, path->comps[0].comp->public_id); in mdp_path_subfrm_require() 174 ctx = &path->comps[index]; in mdp_path_subfrm_require() 287 param, path->param); in mdp_path_ctx_init() 592 path = kzalloc(sizeof(*path), GFP_KERNEL); in mdp_cmdq_prepare() 593 if (!path) { in mdp_cmdq_prepare() 598 path->mdp_dev = mdp; in mdp_cmdq_prepare() 599 path->config = config; in mdp_cmdq_prepare() 603 path->bounds[i].top = 0; in mdp_cmdq_prepare() 604 path->bounds[i].width = in mdp_cmdq_prepare() 656 kfree(path); in mdp_cmdq_prepare() [all …]
|
| /drivers/interconnect/ |
| A D | core.c | 176 if (!path) in path_init() 195 return path; in path_init() 261 return path; in path_find() 649 if (!path) in icc_set_tag() 672 if (!path) in icc_get_name() 701 if (!path) in icc_set_bw() 704 if (WARN_ON(IS_ERR(path) || !path->num_nodes)) in icc_set_bw() 751 if (!path) in __icc_enable() 754 if (WARN_ON(IS_ERR(path) || !path->num_nodes)) in __icc_enable() 764 return icc_set_bw(path, path->reqs[0].avg_bw, in __icc_enable() [all …]
|
| /drivers/net/wireless/realtek/rtw88/ |
| A D | rtw8822c.c | 127 for (path = 0; path < DACK_PATH_8822C; path++) { in rtw8822c_dac_backup_reg() 147 for (path = 0; path < DACK_PATH_8822C; path++) { in rtw8822c_dac_restore_reg() 1034 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_set_power_trim() 1098 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_thermal_trim() 1117 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_pa_bias() 1125 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw8822c_pa_bias() 2702 for (path = 0; path < hal->rf_path_num; path++) { in rtw8822c_set_write_tx_power_ref() 2707 for (path = 0; path < hal->rf_path_num; path++) { in rtw8822c_set_write_tx_power_ref() 3662 u8 path = data->path; in rtw8822c_loss_check_state() local 3686 data.path = path; in rtw8822c_dpk_pas_agc() [all …]
|
| A D | rtw8814a.c | 240 u8 path; in rtw8814a_pwrtrack_init() local 244 for (path = RF_PATH_A; path < rtwdev->hal.rf_path_num; path++) { in rtw8814a_pwrtrack_init() 650 for (path = 0; path < hal->rf_path_num; path++) { in rtw8814a_switch_channel() 721 for (path = RF_PATH_A; path < rtwdev->hal.rf_path_num; path++) { in rtw8814a_set_bw_rf() 1303 for (path = 0; path < hal->rf_path_num; path++) { in rtw8814a_set_tx_power_index() 1755 for (path = RF_PATH_A; path < RTW_RF_PATH_MAX; path++) in rtw8814a_iqk() 1758 for (path = RF_PATH_A; path < RTW_RF_PATH_MAX; path++) in rtw8814a_iqk() 1760 &tx_matrix[path], &tx_ok[path]); in rtw8814a_iqk() 1762 for (path = RF_PATH_A; path < RTW_RF_PATH_MAX; path++) in rtw8814a_iqk() 1764 &tx_matrix[path], &tx_ok[path]); in rtw8814a_iqk() [all …]
|
| /drivers/infiniband/ulp/rtrs/ |
| A D | rtrs.c | 74 struct rtrs_path *path = con->path; in rtrs_iu_post_recv() local 83 rtrs_wrn(con->path, in rtrs_iu_post_recv() 131 struct rtrs_path *path = con->path; in rtrs_iu_post_send() local 193 struct rtrs_path *path = con->path; in rtrs_post_rdma_write_imm_empty() local 312 con->path = path; in rtrs_cq_qp_create() 330 queue_delayed_work(path->hb_wq, &path->hb_dwork, in schedule_hb() 358 path = container_of(to_delayed_work(work), typeof(*path), hb_dwork); in hb_work() 361 if (path->hb_missed_cnt > path->hb_missed_max) { in hb_work() 383 schedule_hb(path); in hb_work() 394 path->hb_wq = wq; in rtrs_init_hb() [all …]
|
| /drivers/infiniband/ulp/ipoib/ |
| A D | ipoib_main.c | 706 iter->path = *path; in ipoib_path_iter_next() 722 *path = iter->path; in ipoib_path_iter_read() 770 ib_sa_cancel_query(path->query_id, path->query); in ipoib_flush_paths() 926 path = kzalloc(sizeof(*path), GFP_ATOMIC); in path_rec_create() 927 if (!path) in path_rec_create() 959 path, &path->query); in path_rec_start() 980 if (!path) in neigh_refresh_path() 1025 if (path->ah && path->ah->valid) { in neigh_add_path() 1055 if (!path->query && path_rec_start(dev, path)) in neigh_add_path() 1096 if (!path || !path->ah || !path->ah->valid) { in unicast_arp_send() [all …]
|
| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_dcb_nl.c | 46 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() 68 if (dst->path[rx].prio_type != src->path[rx].prio_type) { in ixgbe_copy_dcb_cfg() 69 dst->path[rx].prio_type = src->path[rx].prio_type; in ixgbe_copy_dcb_cfg() 73 if (dst->path[rx].bwg_id != src->path[rx].bwg_id) { in ixgbe_copy_dcb_cfg() 74 dst->path[rx].bwg_id = src->path[rx].bwg_id; in ixgbe_copy_dcb_cfg() [all …]
|
| /drivers/md/ |
| A D | dm-ps-queue-length.c | 38 struct dm_path *path; member 87 static int ql_status(struct path_selector *ps, struct dm_path *path, in ql_status() argument 94 if (!path) in ql_status() 97 pi = path->pscontext; in ql_status() 151 pi->path = path; in ql_add_path() 155 path->pscontext = pi; in ql_add_path() 167 struct path_info *pi = path->pscontext; in ql_fail_path() 178 struct path_info *pi = path->pscontext; in ql_reinstate_path() 217 ret = best->path; in ql_select_path() 226 struct path_info *pi = path->pscontext; in ql_start_io() [all …]
|
| A D | dm-ps-service-time.c | 33 struct dm_path *path; member 83 static int st_status(struct path_selector *ps, struct dm_path *path, in st_status() argument 89 if (!path) in st_status() 92 pi = path->pscontext; in st_status() 162 pi->path = path; in st_add_path() 167 path->pscontext = pi; in st_add_path() 179 struct path_info *pi = path->pscontext; in st_fail_path() 190 struct path_info *pi = path->pscontext; in st_reinstate_path() 298 ret = best->path; in st_select_path() 307 struct path_info *pi = path->pscontext; in st_start_io() [all …]
|
| /drivers/base/ |
| A D | devtmpfs.c | 177 struct path path; in dev_mkdir() local 193 char *path; in create_path() local 199 if (!path) in create_path() 202 s = path; in create_path() 214 kfree(path); in create_path() 222 struct path path; in handle_create() local 255 struct path parent; in dev_rmdir() 276 char *path; in delete_path() local 280 if (!path) in delete_path() 295 kfree(path); in delete_path() [all …]
|
| /drivers/xen/xenbus/ |
| A D | xenbus_xs.c | 443 if (IS_ERR(path)) in xenbus_directory() 447 kfree(path); in xenbus_directory() 477 char *path; in xenbus_read() local 481 if (IS_ERR(path)) in xenbus_read() 485 kfree(path); in xenbus_read() 496 const char *path; in xenbus_write() local 501 if (IS_ERR(path)) in xenbus_write() 510 kfree(path); in xenbus_write() 518 char *path; in xenbus_rm() local 522 if (IS_ERR(path)) in xenbus_rm() [all …]
|
| /drivers/net/wireless/mediatek/mt76/mt7996/ |
| A D | eeprom.c | 70 *path = FIELD_GET(MT_EE_WIFI_CONF2_TX_PATH_BAND1, in mt7996_eeprom_parse_stream() 78 *path = FIELD_GET(MT_EE_WIFI_CONF2_TX_PATH_BAND2, in mt7996_eeprom_parse_stream() 86 *path = FIELD_GET(MT_EE_WIFI_CONF1_TX_PATH_BAND0, in mt7996_eeprom_parse_stream() 118 u8 path, rx_path, nss; in mt7996_eeprom_variant_valid() local 222 u8 *path, u8 *rx_path, u8 *nss) in mt7996_eeprom_parse_efuse_hw_cap() argument 241 *path = min_t(u8, *path, STREAM_CAP(10 + band_offs)); in mt7996_eeprom_parse_efuse_hw_cap() 301 if (!path || path > max_path) in mt7996_eeprom_parse_hw_cap() 302 path = max_path; in mt7996_eeprom_parse_hw_cap() 307 nss = min_t(u8, nss, path); in mt7996_eeprom_parse_hw_cap() 309 if (path != rx_path) in mt7996_eeprom_parse_hw_cap() [all …]
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| A D | phy.c | 979 path); in _rtl8821ae_phy_get_txpower_by_rate_base() 1047 for (path = RF90_PATH_A; path <= RF90_PATH_B; ++path) { in _rtl8821ae_phy_store_txpower_by_rate_base() 3244 u8 path = 0; in rtl8821ae_phy_set_txpower_level() local 3246 for (path = RF90_PATH_A; path < rtlphy->num_total_rfpath; ++path) in rtl8821ae_phy_set_txpower_level() 3481 u8 path; in rtl8821ae_phy_sw_chnl_callback() local 3501 for (path = RF90_PATH_A; path < rtlphy->num_total_rfpath; path++) { in rtl8821ae_phy_sw_chnl_callback() 3660 switch (path) { in _rtl8821ae_iqk_tx_fill_iqc() 3686 switch (path) { in _rtl8821ae_iqk_rx_fill_iqc() 3728 switch (path) { in _rtl8821ae_iqk_tx() 4324 switch (path) { in _rtl8821ae_iqk_tx() [all …]
|