Home
last modified time | relevance | path

Searched full:handle (Results 1 – 25 of 4810) sorted by relevance

12345678910>>...193

/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c16 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb() argument
18 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_mac_cb()
28 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb() argument
32 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_ppe_cb()
137 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle() argument
139 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_ae_put_handle()
142 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle()
143 hns_ae_get_ring_pair(handle->qs[i])->used_by_vf = 0; in hns_ae_put_handle()
148 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down() argument
156 for (i = 0; i < handle->q_num; i++) { in hns_ae_wait_flow_down()
[all …]
/linux/tools/testing/selftests/namespaces/
H A Dfile_handle_test.c25 struct file_handle *handle; in TEST() local
36 handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ); in TEST()
37 ASSERT_NE(handle, NULL); in TEST()
43 /* Get handle for the namespace */ in TEST()
44 handle->handle_bytes = MAX_HANDLE_SZ; in TEST()
45 ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST()
47 SKIP(free(handle); close(ns_fd); in TEST()
51 ASSERT_GT(handle->handle_bytes, 0); in TEST()
54 fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY); in TEST()
56 SKIP(free(handle); close(ns_fd); in TEST()
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A Dfw.json15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok",
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw",
18 "matchPattern": "pref 65535 fw.*handle 0x1.*gact action pass",
37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok",
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw",
40 "matchPattern": "pref 65536 fw.*handle 0x1.*gact action pass",
59 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok",
61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
62 "matchPattern": "handle 0x1.*gact action pass",
82 … "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1",
[all …]
H A Dmatchall.json15 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
17 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r…
35 "$TC qdisc add dev $DUMMY root handle 1: prio"
37 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action…
39 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall",
40 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref …
43 "$TC qdisc del dev $DUMMY root handle 1: prio"
59 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a…
61 … "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ipv6 matchall",
[all …]
H A Dflow.json15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
18 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst …
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
40 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst.…
59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
62 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst …
81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_offload.sh19 local handle=$1; shift
23 h=$(qdisc_stats_get $h1 "$handle" .handle)
24 [[ $h == '"'$handle'"' ]]
25 check_err $? "Qdisc with handle $handle does not exist"
27 offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded)
29 check_fail $? "Qdisc with handle $handle offloaded, but should not be"
34 local handle=$1; shift
36 if [[ ! -z $handle ]]; then
37 local offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded)
39 check_err $? "Qdisc with handle $handle not offloaded"
[all …]
H A Dtc_restrictions.sh47 tc filter add block 22 protocol ip pref 1 handle 101 flower \
59 tc filter del block 22 protocol ip pref 1 handle 101 flower
64 tc filter add block 22 protocol ip pref 1 handle 101 flower \
73 tc filter add block 22 protocol ip pref 1 handle 101 flower \
77 tc filter del block 22 protocol ip pref 1 handle 101 flower
95 tc filter add block 22 protocol ip pref 1 handle 101 flower \
108 tc filter del block 22 protocol ip pref 1 handle 101 flower
113 tc filter add block 22 protocol ip pref 1 handle 101 flower \
123 tc filter add block 22 protocol ip pref 1 handle 101 flower \
130 tc filter add block 22 protocol ip pref 1 handle 101 flower \
[all …]
/linux/drivers/net/ethernet/qualcomm/
H A Dqca_7k_common.c64 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte) in qcafrm_fsm_decode() argument
69 switch (handle->state) { in qcafrm_fsm_decode()
73 handle->state--; in qcafrm_fsm_decode()
77 handle->state = handle->init; in qcafrm_fsm_decode()
82 handle->state--; in qcafrm_fsm_decode()
91 handle->state = handle->init; in qcafrm_fsm_decode()
93 handle->state--; in qcafrm_fsm_decode()
99 handle->offset = recv_byte; in qcafrm_fsm_decode()
100 handle->state = QCAFRM_WAIT_LEN_BYTE1; in qcafrm_fsm_decode()
103 handle->offset = handle->offset | (recv_byte << 8); in qcafrm_fsm_decode()
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/infra/
H A Dqdiscs.json14 "$TC qdisc add dev $DUMMY root handle 1: drr",
17 "$TC qdisc add dev $DUMMY parent 1:1 handle ffff: drr",
31 "$TC qdisc del dev $DUMMY root handle 1: drr",
47 "$TC qdisc add dev $DUMMY root handle ffff: drr",
61 "$TC qdisc del dev $DUMMY root handle ffff: drr",
78 "$TC qdisc add dev $DUMMY root handle 1: drr",
81 "$TC qdisc add dev $DUMMY parent 1:1 handle 2: drr",
93 "$TC qdisc del dev $DUMMY root handle 1: drr",
110 "$TC qdisc add dev $DUMMY root handle 1: drr",
113 "$TC qdisc add dev $DUMMY parent 1:1 handle
604 "handle": "1:", global() string
639 "handle": "1:1", global() string
676 "handle": "1:", global() string
717 "handle": "1:", global() string
755 "handle": "1:", global() string
1068 "handle": "1:", global() string
1107 "handle": "1:", global() string
1168 "handle": "2:", global() string
1206 "handle": "2:", global() string
1242 "handle": "2:", global() string
1278 "handle": "2:", global() string
1321 "handle": "2:", global() string
[all...]
H A Dactions.json16 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
18 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
19 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*",
39 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
41 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
42 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*",
62 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
64 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
65 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*",
85 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/
H A Damd_powerplay.c308 static int pp_dpm_load_fw(void *handle) in pp_dpm_load_fw() argument
310 struct pp_hwmgr *hwmgr = handle; in pp_dpm_load_fw()
323 static int pp_dpm_fw_loading_complete(void *handle) in pp_dpm_fw_loading_complete() argument
328 static int pp_set_clockgating_by_smu(void *handle, uint32_t msg_id) in pp_set_clockgating_by_smu() argument
330 struct pp_hwmgr *hwmgr = handle; in pp_set_clockgating_by_smu()
367 static int pp_dpm_force_performance_level(void *handle, in pp_dpm_force_performance_level() argument
370 struct pp_hwmgr *hwmgr = handle; in pp_dpm_force_performance_level()
386 void *handle) in pp_dpm_get_performance_level() argument
388 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_performance_level()
396 static uint32_t pp_dpm_get_sclk(void *handle, boo argument
410 pp_dpm_get_mclk(void * handle,bool low) pp_dpm_get_mclk() argument
424 pp_dpm_powergate_vce(void * handle,bool gate) pp_dpm_powergate_vce() argument
438 pp_dpm_powergate_uvd(void * handle,bool gate) pp_dpm_powergate_uvd() argument
452 pp_dpm_dispatch_tasks(void * handle,enum amd_pp_task task_id,enum amd_pm_state_type * user_state) pp_dpm_dispatch_tasks() argument
463 pp_dpm_get_current_power_state(void * handle) pp_dpm_get_current_power_state() argument
495 pp_dpm_set_fan_control_mode(void * handle,uint32_t mode) pp_dpm_set_fan_control_mode() argument
513 pp_dpm_get_fan_control_mode(void * handle,uint32_t * fan_mode) pp_dpm_get_fan_control_mode() argument
530 pp_dpm_set_fan_speed_pwm(void * handle,uint32_t speed) pp_dpm_set_fan_speed_pwm() argument
546 pp_dpm_get_fan_speed_pwm(void * handle,uint32_t * speed) pp_dpm_get_fan_speed_pwm() argument
562 pp_dpm_get_fan_speed_rpm(void * handle,uint32_t * rpm) pp_dpm_get_fan_speed_rpm() argument
578 pp_dpm_set_fan_speed_rpm(void * handle,uint32_t rpm) pp_dpm_set_fan_speed_rpm() argument
594 pp_dpm_get_pp_num_states(void * handle,struct pp_states_info * data) pp_dpm_get_pp_num_states() argument
630 pp_dpm_get_pp_table(void * handle,char ** table) pp_dpm_get_pp_table() argument
644 amd_powerplay_reset(void * handle) amd_powerplay_reset() argument
660 pp_dpm_set_pp_table(void * handle,const char * buf,size_t size) pp_dpm_set_pp_table() argument
690 pp_dpm_force_clock_level(void * handle,enum pp_clock_type type,uint32_t mask) pp_dpm_force_clock_level() argument
711 pp_dpm_emit_clock_levels(void * handle,enum pp_clock_type type,char * buf,int * offset) pp_dpm_emit_clock_levels() argument
727 pp_dpm_get_sclk_od(void * handle) pp_dpm_get_sclk_od() argument
741 pp_dpm_set_sclk_od(void * handle,uint32_t value) pp_dpm_set_sclk_od() argument
756 pp_dpm_get_mclk_od(void * handle) pp_dpm_get_mclk_od() argument
770 pp_dpm_set_mclk_od(void * handle,uint32_t value) pp_dpm_set_mclk_od() argument
784 pp_dpm_read_sensor(void * handle,int idx,void * value,int * size) pp_dpm_read_sensor() argument
817 pp_dpm_get_vce_clock_state(void * handle,unsigned idx) pp_dpm_get_vce_clock_state() argument
829 pp_get_power_profile_mode(void * handle,char * buf) pp_get_power_profile_mode() argument
841 pp_set_power_profile_mode(void * handle,long * input,uint32_t size) pp_set_power_profile_mode() argument
856 pp_set_fine_grain_clk_vol(void * handle,uint32_t type,long * input,uint32_t size) pp_set_fine_grain_clk_vol() argument
869 pp_odn_edit_dpm_table(void * handle,enum PP_OD_DPM_TABLE_COMMAND type,long * input,uint32_t size) pp_odn_edit_dpm_table() argument
885 pp_dpm_set_mp1_state(void * handle,enum pp_mp1_state mp1_state) pp_dpm_set_mp1_state() argument
901 pp_dpm_switch_power_profile(void * handle,enum PP_SMC_POWER_PROFILE type,bool en) pp_dpm_switch_power_profile() argument
943 pp_set_power_limit(void * handle,uint32_t limit_type,uint32_t limit) pp_set_power_limit() argument
973 pp_get_power_limit(void * handle,uint32_t * limit,enum pp_power_limit_level pp_limit_level,enum pp_power_type power_type) pp_get_power_limit() argument
1011 pp_display_configuration_change(void * handle,const struct amd_pp_display_configuration * display_config) pp_display_configuration_change() argument
1023 pp_get_display_power_level(void * handle,struct amd_pp_simple_clock_info * output) pp_get_display_power_level() argument
1034 pp_get_current_clocks(void * handle,struct amd_pp_clock_info * clocks) pp_get_current_clocks() argument
1083 pp_get_clock_by_type(void * handle,enum amd_pp_clock_type type,struct amd_pp_clocks * clocks) pp_get_clock_by_type() argument
1096 pp_get_clock_by_type_with_latency(void * handle,enum amd_pp_clock_type type,struct pp_clock_levels_with_latency * clocks) pp_get_clock_by_type_with_latency() argument
1108 pp_get_clock_by_type_with_voltage(void * handle,enum amd_pp_clock_type type,struct pp_clock_levels_with_voltage * clocks) pp_get_clock_by_type_with_voltage() argument
1120 pp_set_watermarks_for_clocks_ranges(void * handle,void * clock_ranges) pp_set_watermarks_for_clocks_ranges() argument
1132 pp_display_clock_voltage_request(void * handle,struct pp_display_clock_request * clock) pp_display_clock_voltage_request() argument
1143 pp_get_display_mode_validation_clocks(void * handle,struct amd_pp_simple_clock_info * clocks) pp_get_display_mode_validation_clocks() argument
1160 pp_dpm_powergate_mmhub(void * handle) pp_dpm_powergate_mmhub() argument
1175 pp_dpm_powergate_gfx(void * handle,bool gate) pp_dpm_powergate_gfx() argument
1190 pp_dpm_powergate_acp(void * handle,bool gate) pp_dpm_powergate_acp() argument
1205 pp_dpm_powergate_sdma(void * handle,bool gate) pp_dpm_powergate_sdma() argument
1220 pp_set_powergating_by_smu(void * handle,uint32_t block_type,bool gate,int inst) pp_set_powergating_by_smu() argument
1258 pp_notify_smu_enable_pwe(void * handle) pp_notify_smu_enable_pwe() argument
1275 pp_enable_mgpu_fan_boost(void * handle) pp_enable_mgpu_fan_boost() argument
1291 pp_set_min_deep_sleep_dcefclk(void * handle,uint32_t clock) pp_set_min_deep_sleep_dcefclk() argument
1308 pp_set_hard_min_dcefclk_by_freq(void * handle,uint32_t clock) pp_set_hard_min_dcefclk_by_freq() argument
1325 pp_set_hard_min_fclk_by_freq(void * handle,uint32_t clock) pp_set_hard_min_fclk_by_freq() argument
1342 pp_set_active_display_count(void * handle,uint32_t count) pp_set_active_display_count() argument
1352 pp_get_asic_baco_capability(void * handle) pp_get_asic_baco_capability() argument
1366 pp_get_asic_baco_state(void * handle,int * state) pp_get_asic_baco_state() argument
1381 pp_set_asic_baco_state(void * handle,int state) pp_set_asic_baco_state() argument
1397 pp_get_ppfeature_status(void * handle,char * buf) pp_get_ppfeature_status() argument
1412 pp_set_ppfeature_status(void * handle,uint64_t ppfeature_masks) pp_set_ppfeature_status() argument
1427 pp_asic_reset_mode_2(void * handle) pp_asic_reset_mode_2() argument
1442 pp_smu_i2c_bus_access(void * handle,bool acquire) pp_smu_i2c_bus_access() argument
1457 pp_set_df_cstate(void * handle,enum pp_df_cstate state) pp_set_df_cstate() argument
1472 pp_set_xgmi_pstate(void * handle,uint32_t pstate) pp_set_xgmi_pstate() argument
1487 pp_get_gpu_metrics(void * handle,void ** table) pp_get_gpu_metrics() argument
1500 pp_gfx_state_change_set(void * handle,uint32_t state) pp_gfx_state_change_set() argument
1516 pp_get_prv_buffer_details(void * handle,void ** addr,size_t * size) pp_get_prv_buffer_details() argument
1537 pp_pm_compute_clocks(void * handle) pp_pm_compute_clocks() argument
[all...]
/linux/drivers/firmware/
H A Dti_sci.c111 * @handle: Instance of TI SCI handle to send to clients.
130 struct ti_sci_handle handle;
145 #define handle_to_ti_sci_info(h) container_of(h, struct ti_sci_info, handle) in ti_sci_debug_show()
277 dev_err(dev, "Unable to handle %zu xfer(max %d)\n",
474 struct ti_sci_handle *handle = &info->handle; in ti_sci_cmd_get_revision()
475 struct ti_sci_version_info *ver = &handle->version; in ti_sci_cmd_get_revision()
524 * @handle: pointer to TI SCI handle in ti_sci_set_device_state()
115 struct ti_sci_handle handle; global() member
457 struct ti_sci_handle *handle = &info->handle; ti_sci_cmd_get_revision() local
514 ti_sci_set_device_state(const struct ti_sci_handle * handle,u32 id,u32 flags,u8 state) ti_sci_set_device_state() argument
571 ti_sci_get_device_state(const struct ti_sci_handle * handle,u32 id,u32 * clcnt,u32 * resets,u8 * p_state,u8 * c_state) ti_sci_get_device_state() argument
642 ti_sci_cmd_get_device(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_get_device() argument
661 ti_sci_cmd_get_device_exclusive(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_get_device_exclusive() argument
680 ti_sci_cmd_idle_device(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_idle_device() argument
699 ti_sci_cmd_idle_device_exclusive(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_idle_device_exclusive() argument
718 ti_sci_cmd_put_device(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_put_device() argument
732 ti_sci_cmd_dev_is_valid(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_dev_is_valid() argument
748 ti_sci_cmd_dev_get_clcnt(const struct ti_sci_handle * handle,u32 id,u32 * count) ti_sci_cmd_dev_get_clcnt() argument
762 ti_sci_cmd_dev_is_idle(const struct ti_sci_handle * handle,u32 id,bool * r_state) ti_sci_cmd_dev_is_idle() argument
789 ti_sci_cmd_dev_is_stop(const struct ti_sci_handle * handle,u32 id,bool * r_state,bool * curr_state) ti_sci_cmd_dev_is_stop() argument
820 ti_sci_cmd_dev_is_on(const struct ti_sci_handle * handle,u32 id,bool * r_state,bool * curr_state) ti_sci_cmd_dev_is_on() argument
850 ti_sci_cmd_dev_is_trans(const struct ti_sci_handle * handle,u32 id,bool * curr_state) ti_sci_cmd_dev_is_trans() argument
877 ti_sci_cmd_set_device_resets(const struct ti_sci_handle * handle,u32 id,u32 reset_state) ti_sci_cmd_set_device_resets() argument
932 ti_sci_cmd_get_device_resets(const struct ti_sci_handle * handle,u32 id,u32 * reset_state) ti_sci_cmd_get_device_resets() argument
951 ti_sci_set_clock_state(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u32 flags,u8 state) ti_sci_set_clock_state() argument
1016 ti_sci_cmd_get_clock_state(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u8 * programmed_state,u8 * current_state) ti_sci_cmd_get_clock_state() argument
1092 ti_sci_cmd_get_clock(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,bool needs_ssc,bool can_change_freq,bool enable_input_term) ti_sci_cmd_get_clock() argument
1118 ti_sci_cmd_idle_clock(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id) ti_sci_cmd_idle_clock() argument
1138 ti_sci_cmd_put_clock(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id) ti_sci_cmd_put_clock() argument
1157 ti_sci_cmd_clk_is_auto(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,bool * req_state) ti_sci_cmd_clk_is_auto() argument
1186 ti_sci_cmd_clk_is_on(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,bool * req_state,bool * curr_state) ti_sci_cmd_clk_is_on() argument
1219 ti_sci_cmd_clk_is_off(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,bool * req_state,bool * curr_state) ti_sci_cmd_clk_is_off() argument
1251 ti_sci_cmd_clk_set_parent(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u32 parent_id) ti_sci_cmd_clk_set_parent() argument
1319 ti_sci_cmd_clk_get_parent(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u32 * parent_id) ti_sci_cmd_clk_get_parent() argument
1388 ti_sci_cmd_clk_get_num_parents(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u32 * num_parents) ti_sci_cmd_clk_get_num_parents() argument
1466 ti_sci_cmd_clk_get_match_freq(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u64 min_freq,u64 target_freq,u64 max_freq,u64 * match_freq) ti_sci_cmd_clk_get_match_freq() argument
1543 ti_sci_cmd_clk_set_freq(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u64 min_freq,u64 target_freq,u64 max_freq) ti_sci_cmd_clk_set_freq() argument
1609 ti_sci_cmd_clk_get_freq(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u64 * freq) ti_sci_cmd_clk_get_freq() argument
1673 ti_sci_cmd_prepare_sleep(const struct ti_sci_handle * handle,u8 mode,u32 ctx_lo,u32 ctx_hi,u32 debug_flags) ti_sci_cmd_prepare_sleep() argument
1740 ti_sci_msg_cmd_query_fw_caps(const struct ti_sci_handle * handle,u64 * fw_caps) ti_sci_msg_cmd_query_fw_caps() argument
1797 ti_sci_cmd_set_io_isolation(const struct ti_sci_handle * handle,u8 state) ti_sci_cmd_set_io_isolation() argument
1855 ti_sci_msg_cmd_lpm_wake_reason(const struct ti_sci_handle * handle,u32 * source,u64 * timestamp,u8 * pin,u8 * mode) ti_sci_msg_cmd_lpm_wake_reason() argument
1919 ti_sci_cmd_set_device_constraint(const struct ti_sci_handle * handle,u32 id,u8 state) ti_sci_cmd_set_device_constraint() argument
1976 ti_sci_cmd_set_latency_constraint(const struct ti_sci_handle * handle,u16 latency,u8 state) ti_sci_cmd_set_latency_constraint() argument
2066 ti_sci_cmd_core_reboot(const struct ti_sci_handle * handle) ti_sci_cmd_core_reboot() argument
2126 ti_sci_get_resource_range(const struct ti_sci_handle * handle,u32 dev_id,u8 subtype,u8 s_host,struct ti_sci_resource_desc * desc) ti_sci_get_resource_range() argument
2197 ti_sci_cmd_get_resource_range(const struct ti_sci_handle * handle,u32 dev_id,u8 subtype,struct ti_sci_resource_desc * desc) ti_sci_cmd_get_resource_range() argument
2220 ti_sci_cmd_get_resource_range_from_shost(const struct ti_sci_handle * handle,u32 dev_id,u8 subtype,u8 s_host,struct ti_sci_resource_desc * desc) ti_sci_cmd_get_resource_range_from_shost() argument
2246 ti_sci_manage_irq(const struct ti_sci_handle * handle,u32 valid_params,u16 src_id,u16 src_index,u16 dst_id,u16 dst_host_irq,u16 ia_id,u16 vint,u16 global_event,u8 vint_status_bit,u8 s_host,u16 type) ti_sci_manage_irq() argument
2320 ti_sci_set_irq(const struct ti_sci_handle * handle,u32 valid_params,u16 src_id,u16 src_index,u16 dst_id,u16 dst_host_irq,u16 ia_id,u16 vint,u16 global_event,u8 vint_status_bit,u8 s_host) ti_sci_set_irq() argument
2354 ti_sci_free_irq(const struct ti_sci_handle * handle,u32 valid_params,u16 src_id,u16 src_index,u16 dst_id,u16 dst_host_irq,u16 ia_id,u16 vint,u16 global_event,u8 vint_status_bit,u8 s_host) ti_sci_free_irq() argument
2381 ti_sci_cmd_set_irq(const struct ti_sci_handle * handle,u16 src_id,u16 src_index,u16 dst_id,u16 dst_host_irq) ti_sci_cmd_set_irq() argument
2403 ti_sci_cmd_set_event_map(const struct ti_sci_handle * handle,u16 src_id,u16 src_index,u16 ia_id,u16 vint,u16 global_event,u8 vint_status_bit) ti_sci_cmd_set_event_map() argument
2427 ti_sci_cmd_free_irq(const struct ti_sci_handle * handle,u16 src_id,u16 src_index,u16 dst_id,u16 dst_host_irq) ti_sci_cmd_free_irq() argument
2449 ti_sci_cmd_free_event_map(const struct ti_sci_handle * handle,u16 src_id,u16 src_index,u16 ia_id,u16 vint,u16 global_event,u8 vint_status_bit) ti_sci_cmd_free_event_map() argument
2472 ti_sci_cmd_rm_ring_cfg(const struct ti_sci_handle * handle,const struct ti_sci_msg_rm_ring_cfg * params) ti_sci_cmd_rm_ring_cfg() argument
2534 ti_sci_cmd_rm_psil_pair(const struct ti_sci_handle * handle,u32 nav_id,u32 src_thread,u32 dst_thread) ti_sci_cmd_rm_psil_pair() argument
2590 ti_sci_cmd_rm_psil_unpair(const struct ti_sci_handle * handle,u32 nav_id,u32 src_thread,u32 dst_thread) ti_sci_cmd_rm_psil_unpair() argument
2647 ti_sci_cmd_rm_udmap_tx_ch_cfg(const struct ti_sci_handle * handle,const struct ti_sci_msg_rm_udmap_tx_ch_cfg * params) ti_sci_cmd_rm_udmap_tx_ch_cfg() argument
2719 ti_sci_cmd_rm_udmap_rx_ch_cfg(const struct ti_sci_handle * handle,const struct ti_sci_msg_rm_udmap_rx_ch_cfg * params) ti_sci_cmd_rm_udmap_rx_ch_cfg() argument
2788 ti_sci_cmd_rm_udmap_rx_flow_cfg(const struct ti_sci_handle * handle,const struct ti_sci_msg_rm_udmap_flow_cfg * params) ti_sci_cmd_rm_udmap_rx_flow_cfg() argument
2858 ti_sci_cmd_proc_request(const struct ti_sci_handle * handle,u8 proc_id) ti_sci_cmd_proc_request() argument
2910 ti_sci_cmd_proc_release(const struct ti_sci_handle * handle,u8 proc_id) ti_sci_cmd_proc_release() argument
2965 ti_sci_cmd_proc_handover(const struct ti_sci_handle * handle,u8 proc_id,u8 host_id) ti_sci_cmd_proc_handover() argument
3022 ti_sci_cmd_proc_set_config(const struct ti_sci_handle * handle,u8 proc_id,u64 bootvector,u32 config_flags_set,u32 config_flags_clear) ti_sci_cmd_proc_set_config() argument
3084 ti_sci_cmd_proc_set_control(const struct ti_sci_handle * handle,u8 proc_id,u32 control_flags_set,u32 control_flags_clear) ti_sci_cmd_proc_set_control() argument
3143 ti_sci_cmd_proc_get_status(const struct ti_sci_handle * handle,u8 proc_id,u64 * bv,u32 * cfg_flags,u32 * ctrl_flags,u32 * sts_flags) ti_sci_cmd_proc_get_status() argument
3296 struct ti_sci_handle *handle = NULL; ti_sci_get_handle() local
3339 ti_sci_put_handle(const struct ti_sci_handle * handle) ti_sci_put_handle() argument
3361 const struct ti_sci_handle *handle = *ptr; devm_ti_sci_release() local
3383 const struct ti_sci_handle *handle; devm_ti_sci_get_handle() local
3417 struct ti_sci_handle *handle = NULL; ti_sci_get_by_phandle() local
3463 const struct ti_sci_handle *handle; devm_ti_sci_get_by_phandle() local
3569 devm_ti_sci_get_resource_sets(const struct ti_sci_handle * handle,struct device * dev,u32 dev_id,u32 * sub_types,u32 sets) devm_ti_sci_get_resource_sets() argument
3629 devm_ti_sci_get_of_resource(const struct ti_sci_handle * handle,struct device * dev,u32 dev_id,char * of_prop) devm_ti_sci_get_of_resource() argument
3667 devm_ti_sci_get_resource(const struct ti_sci_handle * handle,struct device * dev,u32 dev_id,u32 sub_type) devm_ti_sci_get_resource() argument
3723 const struct ti_sci_handle *handle = &info->handle; ti_sci_sys_off_handler() local
3749 const struct ti_sci_handle *handle = &info->handle; tisci_reboot_handler() local
[all...]
/linux/fs/
H A Dfhandle.c26 struct file_handle *handle = NULL; in do_sys_name_to_handle() local
30 * the file handle if decodeable file handle was requested. in do_sys_name_to_handle()
36 * A request to encode a connectable handle for a disconnected dentry in do_sys_name_to_handle()
49 handle = kzalloc_flex(*handle, f_handle, f_handle.handle_bytes); in do_sys_name_to_handle()
50 if (!handle) in do_sys_name_to_handle()
53 /* convert handle size to multiple of sizeof(u32) */ in do_sys_name_to_handle()
56 /* Encode a possibly decodeable/connectable file handle */ in do_sys_name_to_handle()
58 (struct fid *)handle->f_handle, in do_sys_name_to_handle()
60 handle->handle_type = retval; in do_sys_name_to_handle()
61 /* convert handle size to bytes */ in do_sys_name_to_handle()
[all …]
/linux/drivers/pci/hotplug/
H A Dacpi_pcihp.c36 * @handle - the handle of the hotplug controller.
38 static acpi_status acpi_run_oshp(acpi_handle handle) in acpi_run_oshp() argument
43 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_oshp()
46 status = acpi_evaluate_object(handle, METHOD_NAME_OSHP, NULL, NULL); in acpi_run_oshp()
73 acpi_handle chandle, handle; in acpi_get_hp_hw_control_from_firmware() local
105 handle = ACPI_HANDLE(&pdev->dev); in acpi_get_hp_hw_control_from_firmware()
106 if (!handle) { in acpi_get_hp_hw_control_from_firmware()
109 * space at all. Try to get ACPI handle of parent PCI bus. in acpi_get_hp_hw_control_from_firmware()
113 handle = acpi_pci_get_bridge_handle(pbus); in acpi_get_hp_hw_control_from_firmware()
114 if (handle) in acpi_get_hp_hw_control_from_firmware()
[all …]
/linux/tools/testing/selftests/drivers/net/
H A Dshaper.py60 'handle': {'scope': 'queue', 'id': 1},
64 'handle': {'scope': 'queue', 'id': 2},
72 'handle': {'scope': 'queue', 'id': 0}})
78 'handle': {'scope': 'queue', 'id': 1}})
81 'handle': {'scope': 'queue', 'id': 1},
88 'handle': {'scope': 'queue', 'id': 1},
93 'handle': {'scope': 'queue', 'id': 2},
102 'handle': {'scope': 'queue', 'id': 2}})
104 'handle': {'scope': 'queue', 'id': 1}})
122 'handle': {'scope': 'netdev', 'id': 0},
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_act.c81 struct mlx5e_post_act_handle *handle) in mlx5e_tc_post_act_offload() argument
94 mlx5e_tc_match_to_reg_match(spec, FTEID_TO_REG, handle->id, MLX5_POST_ACTION_MASK); in mlx5e_tc_post_act_offload()
96 handle->rule = mlx5e_tc_rule_offload(post_act->priv, spec, handle->attr); in mlx5e_tc_post_act_offload()
97 if (IS_ERR(handle->rule)) { in mlx5e_tc_post_act_offload()
98 err = PTR_ERR(handle->rule); in mlx5e_tc_post_act_offload()
114 struct mlx5e_post_act_handle *handle; in mlx5e_tc_post_act_add() local
120 handle = kzalloc_obj(*handle); in mlx5e_tc_post_act_add()
121 if (!handle) in mlx5e_tc_post_act_add()
132 handle->ns_type = post_act->ns_type; in mlx5e_tc_post_act_add()
134 if (handle->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5e_tc_post_act_add()
[all …]
/linux/drivers/misc/vmw_vmci/
H A Dvmci_doorbell.c30 * DoorbellEntry describes the a doorbell notification handle allocated by the
80 * with a given doorbell handle. For guest endpoints, the
83 * handle. Hypervisor endpoints are not yet supported.
85 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags) in vmci_dbell_get_priv_flags() argument
87 if (priv_flags == NULL || handle.context == VMCI_INVALID_ID) in vmci_dbell_get_priv_flags()
90 if (handle.context == VMCI_HOST_CONTEXT_ID) { in vmci_dbell_get_priv_flags()
94 resource = vmci_resource_by_handle(handle, in vmci_dbell_get_priv_flags()
102 } else if (handle.context == VMCI_HYPERVISOR_CONTEXT_ID) { in vmci_dbell_get_priv_flags()
109 *priv_flags = vmci_context_get_priv_flags(handle.context); in vmci_dbell_get_priv_flags()
225 * Creates a link between the given doorbell handle and the given
[all …]
H A Dvmci_resource.c30 static unsigned int vmci_resource_hash(struct vmci_handle handle) in vmci_resource_hash() argument
32 return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS); in vmci_resource_hash()
36 * Gets a resource (if one exists) matching given handle from the hash table.
38 static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle, in vmci_resource_lookup() argument
42 unsigned int idx = vmci_resource_hash(handle); in vmci_resource_lookup()
47 u32 cid = r->handle.context; in vmci_resource_lookup()
48 u32 rid = r->handle.resource; in vmci_resource_lookup()
51 rid == handle.resource && in vmci_resource_lookup()
52 (cid == handle.context || cid == VMCI_INVALID_ID || in vmci_resource_lookup()
53 handle.context == VMCI_INVALID_ID)) { in vmci_resource_lookup()
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dtc_flower.sh44 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
58 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
59 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
70 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
72 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
84 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
85 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
94 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
96 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
[all …]
/linux/drivers/acpi/riscv/
H A Dirq.c16 acpi_handle handle; member
29 acpi_handle handle; member
59 static acpi_status riscv_acpi_update_gsi_handle(u32 gsi_base, acpi_handle handle) in riscv_acpi_update_gsi_handle() argument
67 ext_intc_element->handle = handle; in riscv_acpi_update_gsi_handle()
99 if (ext_intc_element->handle == ACPI_HANDLE_FWNODE(fwnode)) { in riscv_acpi_get_gsi_info()
123 adev = acpi_fetch_acpi_dev(ext_intc_element->handle); in riscv_acpi_get_gsi_domain_id()
171 static acpi_status __init riscv_acpi_create_gsi_map_smsi(acpi_handle handle, u32 level, in riscv_acpi_create_gsi_map_smsi() argument
177 if (!acpi_has_method(handle, "_GSB")) { in riscv_acpi_create_gsi_map_smsi()
178 acpi_handle_err(handle, "_GSB method not found\n"); in riscv_acpi_create_gsi_map_smsi()
182 status = acpi_evaluate_integer(handle, "_GSB", NULL, &gbase); in riscv_acpi_create_gsi_map_smsi()
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Dfq.json14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq",
20 "$TC qdisc del dev $DUMMY handle 1: root"
35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq limit 3000",
41 "$TC qdisc del dev $DUMMY handle 1: root"
56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq flow_limit 300",
62 "$TC qdisc del dev $DUMMY handle 1: root"
77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq quantum 9000",
83 "$TC qdisc del dev $DUMMY handle 1: root"
98 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq initial_quantum 900000",
104 "$TC qdisc del dev $DUMMY handle 1: root"
[all …]
H A Dnetem.json14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem",
20 "$TC qdisc del dev $DUMMY handle 1: root"
35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem limit 200",
41 "$TC qdisc del dev $DUMMY handle 1: root"
56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem delay 100ms",
62 "$TC qdisc del dev $DUMMY handle 1: root"
77 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem delay 100ms 10ms distribution norma…
83 "$TC qdisc del dev $DUMMY handle 1: root"
98 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem delay 100ms 10ms distribution norma…
104 "$TC qdisc del dev $DUMMY handle 1: root"
[all …]
H A Dets.json14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 2",
20 "$TC qdisc del dev $DUMMY handle 1: root"
35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1000 900 800 700",
41 "$TC qdisc del dev $DUMMY handle 1: root"
56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 3",
62 "$TC qdisc del dev $DUMMY handle 1: root"
77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 4 quanta 1000 900 800 700",
83 "$TC qdisc del dev $DUMMY handle 1: root"
98 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 3 strict 3",
104 "$TC qdisc del dev $DUMMY handle
[all...]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_aca.c31 typedef int bank_handler_t(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type…
212 static bool aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type t… in aca_bank_is_valid() argument
214 const struct aca_bank_ops *bank_ops = handle->bank_ops; in aca_bank_is_valid()
216 /* Parse all deferred errors with UMC aca handle */ in aca_bank_is_valid()
218 return handle->hwip == ACA_HWIP_TYPE_UMC; in aca_bank_is_valid()
220 if (!aca_bank_hwip_is_matched(bank, handle->hwip)) in aca_bank_is_valid()
226 return bank_ops->aca_bank_is_valid(handle, bank, type, handle->data); in aca_bank_is_valid()
295 int aca_error_cache_log_bank_error(struct aca_handle *handle, struct aca_bank_info *info, in aca_error_cache_log_bank_error() argument
298 struct aca_error_cache *error_cache = &handle->error_cache; in aca_error_cache_log_bank_error()
302 if (!handle || !info || type >= ACA_ERROR_TYPE_COUNT) in aca_error_cache_log_bank_error()
[all …]
/linux/kernel/events/
H A Dring_buffer.c20 static void perf_output_wakeup(struct perf_output_handle *handle) in perf_output_wakeup() argument
22 atomic_set(&handle->rb->poll, EPOLLIN | EPOLLRDNORM); in perf_output_wakeup()
24 handle->event->pending_wakeup = 1; in perf_output_wakeup()
26 if (*perf_event_fasync(handle->event) && !handle->event->pending_kill) in perf_output_wakeup()
27 handle->event->pending_kill = POLL_IN; in perf_output_wakeup()
29 irq_work_queue(&handle->event->pending_irq); in perf_output_wakeup()
40 static void perf_output_get_handle(struct perf_output_handle *handle) in perf_output_get_handle() argument
42 struct perf_buffer *rb = handle->rb; in perf_output_get_handle()
51 handle->wakeup = local_read(&rb->wakeup); in perf_output_get_handle()
54 static void perf_output_put_handle(struct perf_output_handle *handle) in perf_output_put_handle() argument
[all …]

12345678910>>...193