Home
last modified time | relevance | path

Searched refs:tc (Results 1 - 25 of 932) sorted by relevance

12345678910>>...38

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_tc.c37 enum intel_display_power_domain (*cold_off_domain)(struct intel_tc_port *tc);
38 u32 (*hpd_live_status)(struct intel_tc_port *tc);
39 bool (*is_ready)(struct intel_tc_port *tc);
40 bool (*is_owned)(struct intel_tc_port *tc);
41 void (*get_hw_state)(struct intel_tc_port *tc);
42 bool (*connect)(struct intel_tc_port *tc, int required_lanes);
43 void (*disconnect)(struct intel_tc_port *tc);
44 void (*init)(struct intel_tc_port *tc);
70 static u32 tc_phy_hpd_live_status(struct intel_tc_port *tc);
71 static bool tc_phy_is_ready(struct intel_tc_port *tc);
95 tc_to_i915(struct intel_tc_port *tc) tc_to_i915() argument
105 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_in_mode() local
176 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_cold_requires_aux_pw() local
183 __tc_cold_block(struct intel_tc_port *tc, enum intel_display_power_domain *domain) __tc_cold_block() argument
193 tc_cold_block(struct intel_tc_port *tc) tc_cold_block() argument
206 __tc_cold_unblock(struct intel_tc_port *tc, enum intel_display_power_domain domain, intel_wakeref_t wakeref) __tc_cold_unblock() argument
215 tc_cold_unblock(struct intel_tc_port *tc, intel_wakeref_t wakeref) tc_cold_unblock() argument
226 assert_display_core_power_enabled(struct intel_tc_port *tc) assert_display_core_power_enabled() argument
235 assert_tc_cold_blocked(struct intel_tc_port *tc) assert_tc_cold_blocked() argument
246 tc_port_power_domain(struct intel_tc_port *tc) tc_port_power_domain() argument
255 assert_tc_port_power_enabled(struct intel_tc_port *tc) assert_tc_port_power_enabled() argument
266 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_get_lane_mask() local
281 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_get_pin_assignment_mask() local
317 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_fia_max_lane_count() local
355 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_set_fia_lane_count() local
388 tc_port_fixup_legacy_flag(struct intel_tc_port *tc, u32 live_status_mask) tc_port_fixup_legacy_flag() argument
416 tc_phy_load_fia_params(struct intel_tc_port *tc, bool modular_fia) tc_phy_load_fia_params() argument
440 icl_tc_phy_cold_off_domain(struct intel_tc_port *tc) icl_tc_phy_cold_off_domain() argument
451 icl_tc_phy_hpd_live_status(struct intel_tc_port *tc) icl_tc_phy_hpd_live_status() argument
492 icl_tc_phy_is_ready(struct intel_tc_port *tc) icl_tc_phy_is_ready() argument
510 icl_tc_phy_take_ownership(struct intel_tc_port *tc, bool take) icl_tc_phy_take_ownership() argument
536 icl_tc_phy_is_owned(struct intel_tc_port *tc) icl_tc_phy_is_owned() argument
554 icl_tc_phy_get_hw_state(struct intel_tc_port *tc) icl_tc_phy_get_hw_state() argument
579 tc_phy_verify_legacy_or_dp_alt_mode(struct intel_tc_port *tc, int required_lanes) tc_phy_verify_legacy_or_dp_alt_mode() argument
615 icl_tc_phy_connect(struct intel_tc_port *tc, int required_lanes) icl_tc_phy_connect() argument
652 icl_tc_phy_disconnect(struct intel_tc_port *tc) icl_tc_phy_disconnect() argument
667 icl_tc_phy_init(struct intel_tc_port *tc) icl_tc_phy_init() argument
688 tgl_tc_phy_cold_off_domain(struct intel_tc_port *tc) tgl_tc_phy_cold_off_domain() argument
693 tgl_tc_phy_init(struct intel_tc_port *tc) tgl_tc_phy_init() argument
723 adlp_tc_phy_cold_off_domain(struct intel_tc_port *tc) adlp_tc_phy_cold_off_domain() argument
734 adlp_tc_phy_hpd_live_status(struct intel_tc_port *tc) adlp_tc_phy_hpd_live_status() argument
769 adlp_tc_phy_is_ready(struct intel_tc_port *tc) adlp_tc_phy_is_ready() argument
788 adlp_tc_phy_take_ownership(struct intel_tc_port *tc, bool take) adlp_tc_phy_take_ownership() argument
802 adlp_tc_phy_is_owned(struct intel_tc_port *tc) adlp_tc_phy_is_owned() argument
814 adlp_tc_phy_get_hw_state(struct intel_tc_port *tc) adlp_tc_phy_get_hw_state() argument
830 adlp_tc_phy_connect(struct intel_tc_port *tc, int required_lanes) adlp_tc_phy_connect() argument
877 adlp_tc_phy_disconnect(struct intel_tc_port *tc) adlp_tc_phy_disconnect() argument
902 adlp_tc_phy_init(struct intel_tc_port *tc) adlp_tc_phy_init() argument
922 xelpdp_tc_phy_hpd_live_status(struct intel_tc_port *tc) xelpdp_tc_phy_hpd_live_status() argument
951 xelpdp_tc_phy_tcss_power_is_enabled(struct intel_tc_port *tc) xelpdp_tc_phy_tcss_power_is_enabled() argument
962 xelpdp_tc_phy_wait_for_tcss_power(struct intel_tc_port *tc, bool enabled) xelpdp_tc_phy_wait_for_tcss_power() argument
977 __xelpdp_tc_phy_enable_tcss_power(struct intel_tc_port *tc, bool enable) __xelpdp_tc_phy_enable_tcss_power() argument
993 xelpdp_tc_phy_enable_tcss_power(struct intel_tc_port *tc, bool enable) xelpdp_tc_phy_enable_tcss_power() argument
1013 xelpdp_tc_phy_take_ownership(struct intel_tc_port *tc, bool take) xelpdp_tc_phy_take_ownership() argument
1029 xelpdp_tc_phy_is_owned(struct intel_tc_port *tc) xelpdp_tc_phy_is_owned() argument
1039 xelpdp_tc_phy_get_hw_state(struct intel_tc_port *tc) xelpdp_tc_phy_get_hw_state() argument
1058 xelpdp_tc_phy_connect(struct intel_tc_port *tc, int required_lanes) xelpdp_tc_phy_connect() argument
1085 xelpdp_tc_phy_disconnect(struct intel_tc_port *tc) xelpdp_tc_phy_disconnect() argument
1117 tc_phy_cold_off_domain(struct intel_tc_port *tc) tc_phy_cold_off_domain() argument
1122 tc_phy_hpd_live_status(struct intel_tc_port *tc) tc_phy_hpd_live_status() argument
1135 tc_phy_is_ready(struct intel_tc_port *tc) tc_phy_is_ready() argument
1140 tc_phy_is_owned(struct intel_tc_port *tc) tc_phy_is_owned() argument
1145 tc_phy_get_hw_state(struct intel_tc_port *tc) tc_phy_get_hw_state() argument
1150 tc_phy_is_ready_and_owned(struct intel_tc_port *tc, bool phy_is_ready, bool phy_is_owned) tc_phy_is_ready_and_owned() argument
1160 tc_phy_is_connected(struct intel_tc_port *tc, enum icl_port_dpll_id port_pll_type) tc_phy_is_connected() argument
1185 tc_phy_wait_for_ready(struct intel_tc_port *tc) tc_phy_wait_for_ready() argument
1209 tc_phy_hpd_live_mode(struct intel_tc_port *tc) tc_phy_hpd_live_mode() argument
1217 get_tc_mode_in_phy_owned_state(struct intel_tc_port *tc, enum tc_port_mode live_mode) get_tc_mode_in_phy_owned_state() argument
1237 get_tc_mode_in_phy_not_owned_state(struct intel_tc_port *tc, enum tc_port_mode live_mode) get_tc_mode_in_phy_not_owned_state() argument
1258 tc_phy_get_current_mode(struct intel_tc_port *tc) tc_phy_get_current_mode() argument
1295 default_tc_mode(struct intel_tc_port *tc) default_tc_mode() argument
1304 hpd_mask_to_target_mode(struct intel_tc_port *tc, u32 live_status_mask) hpd_mask_to_target_mode() argument
1315 tc_phy_get_target_mode(struct intel_tc_port *tc) tc_phy_get_target_mode() argument
1322 tc_phy_connect(struct intel_tc_port *tc, int required_lanes) tc_phy_connect() argument
1341 tc_phy_disconnect(struct intel_tc_port *tc) tc_phy_disconnect() argument
1349 tc_phy_init(struct intel_tc_port *tc) tc_phy_init() argument
1356 intel_tc_port_reset_mode(struct intel_tc_port *tc, int required_lanes, bool force_disconnect) intel_tc_port_reset_mode() argument
1383 intel_tc_port_needs_reset(struct intel_tc_port *tc) intel_tc_port_needs_reset() argument
1388 intel_tc_port_update_mode(struct intel_tc_port *tc, int required_lanes, bool force_disconnect) intel_tc_port_update_mode() argument
1396 __intel_tc_port_get_link(struct intel_tc_port *tc) __intel_tc_port_get_link() argument
1401 __intel_tc_port_put_link(struct intel_tc_port *tc) __intel_tc_port_put_link() argument
1406 tc_port_is_enabled(struct intel_tc_port *tc) tc_port_is_enabled() argument
1427 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_init_mode() local
1473 tc_port_has_active_links(struct intel_tc_port *tc, const struct intel_crtc_state *crtc_state) tc_port_has_active_links() argument
1513 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_sanitize_mode() local
1556 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_connected_locked() local
1570 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_connected() local
1580 __intel_tc_port_link_needs_reset(struct intel_tc_port *tc) __intel_tc_port_link_needs_reset() argument
1606 reset_link_commit(struct intel_tc_port *tc, struct intel_atomic_state *state, struct drm_modeset_acquire_ctx *ctx) reset_link_commit() argument
1644 reset_link(struct intel_tc_port *tc) reset_link() argument
1669 struct intel_tc_port *tc = intel_tc_port_link_reset_work() local
1704 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_link_cancel_reset_work() local
1712 __intel_tc_port_lock(struct intel_tc_port *tc, int required_lanes) __intel_tc_port_lock() argument
1742 struct intel_tc_port *tc = intel_tc_port_disconnect_phy_work() local
1766 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_suspend() local
1774 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_unlock() local
1785 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_ref_held() local
1794 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_get_link() local
1803 struct intel_tc_port *tc = to_tc_port(dig_port); intel_tc_port_put_link() local
1821 struct intel_tc_port *tc; intel_tc_port_init() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
H A Dtc358767.c331 static inline int tc_poll_timeout(struct tc_data *tc, unsigned int addr, in tc_poll_timeout() argument
338 return regmap_read_poll_timeout(tc->regmap, addr, val, in tc_poll_timeout()
343 static int tc_aux_wait_busy(struct tc_data *tc) in tc_aux_wait_busy() argument
345 return tc_poll_timeout(tc, DP0_AUXSTATUS, AUX_BUSY, 0, 100, 100000); in tc_aux_wait_busy()
348 static int tc_aux_write_data(struct tc_data *tc, const void *data, in tc_aux_write_data() argument
356 ret = regmap_raw_write(tc->regmap, DP0_AUXWDATA(0), auxwdata, count); in tc_aux_write_data()
363 static int tc_aux_read_data(struct tc_data *tc, void *data, size_t size) in tc_aux_read_data() argument
368 ret = regmap_raw_read(tc->regmap, DP0_AUXRDATA(0), auxrdata, count); in tc_aux_read_data()
392 struct tc_data *tc = aux_to_tc(aux); in tc_aux_transfer() local
398 ret = tc_aux_wait_busy(tc); in tc_aux_transfer()
476 tc_srcctrl(struct tc_data *tc) tc_srcctrl() argument
495 tc_pllupdate(struct tc_data *tc, unsigned int pllctrl) tc_pllupdate() argument
509 tc_pxl_pll_en(struct tc_data *tc, u32 refclk, u32 pixelclock) tc_pxl_pll_en() argument
619 tc_pxl_pll_dis(struct tc_data *tc) tc_pxl_pll_dis() argument
625 tc_stream_clock_calc(struct tc_data *tc) tc_stream_clock_calc() argument
645 tc_set_syspllparam(struct tc_data *tc) tc_set_syspllparam() argument
672 tc_aux_link_setup(struct tc_data *tc) tc_aux_link_setup() argument
727 tc_get_display_props(struct tc_data *tc) tc_get_display_props() argument
793 tc_set_common_video_mode(struct tc_data *tc, const struct drm_display_mode *mode) tc_set_common_video_mode() argument
864 tc_set_dpi_video_mode(struct tc_data *tc, const struct drm_display_mode *mode) tc_set_dpi_video_mode() argument
878 tc_set_edp_video_mode(struct tc_data *tc, const struct drm_display_mode *mode) tc_set_edp_video_mode() argument
961 tc_wait_link_training(struct tc_data *tc) tc_wait_link_training() argument
980 tc_main_link_enable(struct tc_data *tc) tc_main_link_enable() argument
1243 tc_main_link_disable(struct tc_data *tc) tc_main_link_disable() argument
1262 tc_dsi_rx_enable(struct tc_data *tc) tc_dsi_rx_enable() argument
1299 tc_dpi_rx_enable(struct tc_data *tc) tc_dpi_rx_enable() argument
1312 tc_dpi_stream_enable(struct tc_data *tc) tc_dpi_stream_enable() argument
1352 tc_dpi_stream_disable(struct tc_data *tc) tc_dpi_stream_disable() argument
1361 tc_edp_stream_enable(struct tc_data *tc) tc_edp_stream_enable() argument
1425 tc_edp_stream_disable(struct tc_data *tc) tc_edp_stream_disable() argument
1445 struct tc_data *tc = bridge_to_tc(bridge); tc_dpi_bridge_atomic_enable() local
1460 struct tc_data *tc = bridge_to_tc(bridge); tc_dpi_bridge_atomic_disable() local
1472 struct tc_data *tc = bridge_to_tc(bridge); tc_edp_bridge_atomic_enable() local
1499 struct tc_data *tc = bridge_to_tc(bridge); tc_edp_bridge_atomic_disable() local
1552 struct tc_data *tc = bridge_to_tc(bridge); tc_edp_mode_valid() local
1573 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_mode_set() local
1581 struct tc_data *tc = bridge_to_tc(bridge); tc_get_edid() local
1588 struct tc_data *tc = connector_to_tc(connector); tc_connector_get_modes() local
1618 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_detect() local
1638 struct tc_data *tc = connector_to_tc(connector); tc_connector_detect() local
1661 struct tc_data *tc = bridge_to_tc(bridge); tc_dpi_bridge_attach() local
1674 struct tc_data *tc = bridge_to_tc(bridge); tc_edp_bridge_attach() local
2018 struct tc_data *tc = arg; tc_irq_handler() local
2059 tc_mipi_dsi_host_attach(struct tc_data *tc) tc_mipi_dsi_host_attach() argument
2106 tc_probe_dpi_bridge_endpoint(struct tc_data *tc) tc_probe_dpi_bridge_endpoint() argument
2135 tc_probe_edp_bridge_endpoint(struct tc_data *tc) tc_probe_edp_bridge_endpoint() argument
2167 tc_probe_bridge_endpoint(struct tc_data *tc) tc_probe_bridge_endpoint() argument
2221 struct tc_data *tc; tc_probe() local
2365 struct tc_data *tc = i2c_get_clientdata(client); tc_remove() local
[all...]
H A Dtc358775.c283 struct tc_data *tc = bridge_to_tc(bridge); in tc_bridge_pre_enable() local
284 struct device *dev = &tc->dsi->dev; in tc_bridge_pre_enable()
287 ret = regulator_enable(tc->vddio); in tc_bridge_pre_enable()
292 ret = regulator_enable(tc->vdd); in tc_bridge_pre_enable()
297 gpiod_set_value(tc->stby_gpio, 0); in tc_bridge_pre_enable()
300 gpiod_set_value(tc->reset_gpio, 0); in tc_bridge_pre_enable()
306 struct tc_data *tc = bridge_to_tc(bridge); in tc_bridge_post_disable() local
307 struct device *dev = &tc->dsi->dev; in tc_bridge_post_disable()
310 gpiod_set_value(tc->reset_gpio, 1); in tc_bridge_post_disable()
313 gpiod_set_value(tc in tc_bridge_post_disable()
378 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_enable() local
498 struct tc_data *tc = bridge_to_tc(bridge); tc_mode_valid() local
528 tc358775_parse_dt(struct device_node *np, struct tc_data *tc) tc358775_parse_dt() argument
586 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_attach() local
601 tc_attach_host(struct tc_data *tc) tc_attach_host() argument
642 struct tc_data *tc; tc_probe() local
708 struct tc_data *tc = i2c_get_clientdata(client); tc_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/ntb/test/
H A Dntb_tool.c208 struct tool_ctx *tc; member
233 struct tool_ctx *tc; member
239 struct tool_ctx *tc; member
244 struct tool_ctx *tc; member
291 struct tool_ctx *tc = ctx; in tool_link_event() local
296 up = ntb_link_is_up(tc->ntb, &speed, &width); in tool_link_event()
298 dev_dbg(&tc->ntb->dev, "link is %s speed %d width %d\n", in tool_link_event()
301 wake_up(&tc->link_wq); in tool_link_event()
306 struct tool_ctx *tc = ctx; in tool_db_event() local
309 db_mask = ntb_db_vector_mask(tc in tool_db_event()
320 struct tool_ctx *tc = ctx; tool_msg_event() local
341 tool_fn_read(struct tool_ctx *tc, char __user *ubuf, size_t size, loff_t *offp, u64 (*fn_read)(struct ntb_dev *)) tool_fn_read() argument
359 tool_fn_write(struct tool_ctx *tc, const char __user *ubuf, size_t size, loff_t *offp, int (*fn_set)(struct ntb_dev *, u64), int (*fn_clear)(struct ntb_dev *, u64)) tool_fn_write() argument
415 struct tool_ctx *tc = filep->private_data; tool_port_read() local
432 struct tool_ctx *tc = peer->tc; tool_peer_port_read() local
446 tool_init_peers(struct tool_ctx *tc) tool_init_peers() argument
472 struct tool_ctx *tc = filep->private_data; tool_link_write() local
499 struct tool_ctx *tc = peer->tc; tool_peer_link_read() local
521 struct tool_ctx *tc = peer->tc; tool_peer_link_event_write() local
576 tool_setup_mw(struct tool_ctx *tc, int pidx, int widx, size_t req_size) tool_setup_mw() argument
626 tool_free_mw(struct tool_ctx *tc, int pidx, int widx) tool_free_mw() argument
811 tool_setup_peer_mw(struct tool_ctx *tc, int pidx, int widx, u64 req_addr, size_t req_size) tool_setup_peer_mw() argument
854 tool_free_peer_mw(struct tool_ctx *tc, int widx) tool_free_peer_mw() argument
965 tool_init_mws(struct tool_ctx *tc) tool_init_mws() argument
1013 tool_clear_mws(struct tool_ctx *tc) tool_clear_mws() argument
1035 struct tool_ctx *tc = filep->private_data; tool_db_read() local
1043 struct tool_ctx *tc = filep->private_data; tool_db_write() local
1056 struct tool_ctx *tc = filep->private_data; tool_db_valid_mask_read() local
1068 struct tool_ctx *tc = filep->private_data; tool_db_mask_read() local
1076 struct tool_ctx *tc = filep->private_data; tool_db_mask_write() local
1089 struct tool_ctx *tc = filep->private_data; tool_peer_db_read() local
1097 struct tool_ctx *tc = filep->private_data; tool_peer_db_write() local
1110 struct tool_ctx *tc = filep->private_data; tool_peer_db_mask_read() local
1120 struct tool_ctx *tc = filep->private_data; tool_peer_db_mask_write() local
1135 struct tool_ctx *tc = filep->private_data; tool_db_event_write() local
1240 tool_init_spads(struct tool_ctx *tc) tool_init_spads() argument
1325 struct tool_ctx *tc = filep->private_data; tool_msg_sts_read() local
1333 struct tool_ctx *tc = filep->private_data; tool_msg_sts_write() local
1346 struct tool_ctx *tc = filep->private_data; tool_msg_inbits_read() local
1358 struct tool_ctx *tc = filep->private_data; tool_msg_outbits_read() local
1370 struct tool_ctx *tc = filep->private_data; tool_msg_mask_write() local
1385 struct tool_ctx *tc = filep->private_data; tool_msg_event_write() local
1404 tool_init_msgs(struct tool_ctx *tc) tool_init_msgs() argument
1447 struct tool_ctx *tc; tool_create_data() local
1467 tool_clear_data(struct tool_ctx *tc) tool_clear_data() argument
1474 tool_init_ntb(struct tool_ctx *tc) tool_init_ntb() argument
1479 tool_clear_ntb(struct tool_ctx *tc) tool_clear_ntb() argument
1485 tool_setup_dbgfs(struct tool_ctx *tc) tool_setup_dbgfs() argument
1609 tool_clear_dbgfs(struct tool_ctx *tc) tool_clear_dbgfs() argument
1616 struct tool_ctx *tc; tool_probe() local
1658 struct tool_ctx *tc = ntb->ctx; tool_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/ntb/test/
H A Dntb_tool.c208 struct tool_ctx *tc; member
233 struct tool_ctx *tc; member
239 struct tool_ctx *tc; member
244 struct tool_ctx *tc; member
291 struct tool_ctx *tc = ctx; in tool_link_event() local
296 up = ntb_link_is_up(tc->ntb, &speed, &width); in tool_link_event()
298 dev_dbg(&tc->ntb->dev, "link is %s speed %d width %d\n", in tool_link_event()
301 wake_up(&tc->link_wq); in tool_link_event()
306 struct tool_ctx *tc = ctx; in tool_db_event() local
309 db_mask = ntb_db_vector_mask(tc in tool_db_event()
320 struct tool_ctx *tc = ctx; tool_msg_event() local
341 tool_fn_read(struct tool_ctx *tc, char __user *ubuf, size_t size, loff_t *offp, u64 (*fn_read)(struct ntb_dev *)) tool_fn_read() argument
359 tool_fn_write(struct tool_ctx *tc, const char __user *ubuf, size_t size, loff_t *offp, int (*fn_set)(struct ntb_dev *, u64), int (*fn_clear)(struct ntb_dev *, u64)) tool_fn_write() argument
408 struct tool_ctx *tc = filep->private_data; tool_port_read() local
425 struct tool_ctx *tc = peer->tc; tool_peer_port_read() local
439 tool_init_peers(struct tool_ctx *tc) tool_init_peers() argument
465 struct tool_ctx *tc = filep->private_data; tool_link_write() local
492 struct tool_ctx *tc = peer->tc; tool_peer_link_read() local
514 struct tool_ctx *tc = peer->tc; tool_peer_link_event_write() local
569 tool_setup_mw(struct tool_ctx *tc, int pidx, int widx, size_t req_size) tool_setup_mw() argument
619 tool_free_mw(struct tool_ctx *tc, int pidx, int widx) tool_free_mw() argument
804 tool_setup_peer_mw(struct tool_ctx *tc, int pidx, int widx, u64 req_addr, size_t req_size) tool_setup_peer_mw() argument
847 tool_free_peer_mw(struct tool_ctx *tc, int widx) tool_free_peer_mw() argument
958 tool_init_mws(struct tool_ctx *tc) tool_init_mws() argument
1006 tool_clear_mws(struct tool_ctx *tc) tool_clear_mws() argument
1028 struct tool_ctx *tc = filep->private_data; tool_db_read() local
1036 struct tool_ctx *tc = filep->private_data; tool_db_write() local
1049 struct tool_ctx *tc = filep->private_data; tool_db_valid_mask_read() local
1061 struct tool_ctx *tc = filep->private_data; tool_db_mask_read() local
1069 struct tool_ctx *tc = filep->private_data; tool_db_mask_write() local
1082 struct tool_ctx *tc = filep->private_data; tool_peer_db_read() local
1090 struct tool_ctx *tc = filep->private_data; tool_peer_db_write() local
1103 struct tool_ctx *tc = filep->private_data; tool_peer_db_mask_read() local
1113 struct tool_ctx *tc = filep->private_data; tool_peer_db_mask_write() local
1128 struct tool_ctx *tc = filep->private_data; tool_db_event_write() local
1233 tool_init_spads(struct tool_ctx *tc) tool_init_spads() argument
1318 struct tool_ctx *tc = filep->private_data; tool_msg_sts_read() local
1326 struct tool_ctx *tc = filep->private_data; tool_msg_sts_write() local
1339 struct tool_ctx *tc = filep->private_data; tool_msg_inbits_read() local
1351 struct tool_ctx *tc = filep->private_data; tool_msg_outbits_read() local
1363 struct tool_ctx *tc = filep->private_data; tool_msg_mask_write() local
1378 struct tool_ctx *tc = filep->private_data; tool_msg_event_write() local
1397 tool_init_msgs(struct tool_ctx *tc) tool_init_msgs() argument
1440 struct tool_ctx *tc; tool_create_data() local
1460 tool_clear_data(struct tool_ctx *tc) tool_clear_data() argument
1467 tool_init_ntb(struct tool_ctx *tc) tool_init_ntb() argument
1472 tool_clear_ntb(struct tool_ctx *tc) tool_clear_ntb() argument
1478 tool_setup_dbgfs(struct tool_ctx *tc) tool_setup_dbgfs() argument
1600 tool_clear_dbgfs(struct tool_ctx *tc) tool_clear_dbgfs() argument
1607 struct tool_ctx *tc; tool_probe() local
1649 struct tool_ctx *tc = ntb->ctx; tool_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/misc/
H A Datmel_tclib.c46 struct atmel_tc *tc; in atmel_tc_alloc() local
50 list_for_each_entry(tc, &tc_list, node) { in atmel_tc_alloc()
51 if (tc->allocated) in atmel_tc_alloc()
54 if ((tc->pdev->dev.of_node && tc->id == block) || in atmel_tc_alloc()
55 (tc->pdev->id == block)) { in atmel_tc_alloc()
56 pdev = tc->pdev; in atmel_tc_alloc()
57 tc->allocated = true; in atmel_tc_alloc()
63 return pdev ? tc : NULL; in atmel_tc_alloc()
69 * @tc
74 atmel_tc_free(struct atmel_tc *tc) atmel_tc_free() argument
109 struct atmel_tc *tc; tc_probe() local
182 struct atmel_tc *tc = platform_get_drvdata(pdev); tc_shutdown() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dtsc.c18 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc) in perf_time_to_tsc() argument
22 t = ns - tc->time_zero; in perf_time_to_tsc()
23 quot = t / tc->time_mult; in perf_time_to_tsc()
24 rem = t % tc->time_mult; in perf_time_to_tsc()
25 return (quot << tc->time_shift) + in perf_time_to_tsc()
26 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()
29 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc) in tsc_to_perf_time() argument
33 if (tc->cap_user_time_short) in tsc_to_perf_time()
34 cyc = tc in tsc_to_perf_time()
43 perf_read_tsc_conversion(const struct perf_event_mmap_page *pc, struct perf_tsc_conversion *tc) perf_read_tsc_conversion() argument
87 struct perf_tsc_conversion tc; perf_event__synth_time_conv() local
118 struct perf_record_time_conv *tc = (struct perf_record_time_conv *)event; perf_event__fprintf_time_conv() local
[all...]
/kernel/linux/linux-5.10/kernel/time/
H A Dtimecounter.c8 void timecounter_init(struct timecounter *tc, in timecounter_init() argument
12 tc->cc = cc; in timecounter_init()
13 tc->cycle_last = cc->read(cc); in timecounter_init()
14 tc->nsec = start_tstamp; in timecounter_init()
15 tc->mask = (1ULL << cc->shift) - 1; in timecounter_init()
16 tc->frac = 0; in timecounter_init()
22 * @tc: Pointer to time counter
31 static u64 timecounter_read_delta(struct timecounter *tc) in timecounter_read_delta() argument
37 cycle_now = tc->cc->read(tc in timecounter_read_delta()
52 timecounter_read(struct timecounter *tc) timecounter_read() argument
79 timecounter_cyc2time(struct timecounter *tc, u64 cycle_tstamp) timecounter_cyc2time() argument
[all...]
/kernel/linux/linux-6.6/kernel/time/
H A Dtimecounter.c8 void timecounter_init(struct timecounter *tc, in timecounter_init() argument
12 tc->cc = cc; in timecounter_init()
13 tc->cycle_last = cc->read(cc); in timecounter_init()
14 tc->nsec = start_tstamp; in timecounter_init()
15 tc->mask = (1ULL << cc->shift) - 1; in timecounter_init()
16 tc->frac = 0; in timecounter_init()
22 * @tc: Pointer to time counter
31 static u64 timecounter_read_delta(struct timecounter *tc) in timecounter_read_delta() argument
37 cycle_now = tc->cc->read(tc in timecounter_read_delta()
52 timecounter_read(struct timecounter *tc) timecounter_read() argument
79 timecounter_cyc2time(const struct timecounter *tc, u64 cycle_tstamp) timecounter_cyc2time() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
H A Dtc358767.c285 static inline int tc_poll_timeout(struct tc_data *tc, unsigned int addr, in tc_poll_timeout() argument
292 return regmap_read_poll_timeout(tc->regmap, addr, val, in tc_poll_timeout()
297 static int tc_aux_wait_busy(struct tc_data *tc) in tc_aux_wait_busy() argument
299 return tc_poll_timeout(tc, DP0_AUXSTATUS, AUX_BUSY, 0, 100, 100000); in tc_aux_wait_busy()
302 static int tc_aux_write_data(struct tc_data *tc, const void *data, in tc_aux_write_data() argument
310 ret = regmap_raw_write(tc->regmap, DP0_AUXWDATA(0), auxwdata, count); in tc_aux_write_data()
317 static int tc_aux_read_data(struct tc_data *tc, void *data, size_t size) in tc_aux_read_data() argument
322 ret = regmap_raw_read(tc->regmap, DP0_AUXRDATA(0), auxrdata, count); in tc_aux_read_data()
346 struct tc_data *tc = aux_to_tc(aux); in tc_aux_transfer() local
352 ret = tc_aux_wait_busy(tc); in tc_aux_transfer()
430 tc_srcctrl(struct tc_data *tc) tc_srcctrl() argument
449 tc_pllupdate(struct tc_data *tc, unsigned int pllctrl) tc_pllupdate() argument
463 tc_pxl_pll_en(struct tc_data *tc, u32 refclk, u32 pixelclock) tc_pxl_pll_en() argument
563 tc_pxl_pll_dis(struct tc_data *tc) tc_pxl_pll_dis() argument
569 tc_stream_clock_calc(struct tc_data *tc) tc_stream_clock_calc() argument
589 tc_set_syspllparam(struct tc_data *tc) tc_set_syspllparam() argument
616 tc_aux_link_setup(struct tc_data *tc) tc_aux_link_setup() argument
665 tc_get_display_props(struct tc_data *tc) tc_get_display_props() argument
731 tc_set_video_mode(struct tc_data *tc, const struct drm_display_mode *mode) tc_set_video_mode() argument
872 tc_wait_link_training(struct tc_data *tc) tc_wait_link_training() argument
891 tc_main_link_enable(struct tc_data *tc) tc_main_link_enable() argument
1154 tc_main_link_disable(struct tc_data *tc) tc_main_link_disable() argument
1167 tc_stream_enable(struct tc_data *tc) tc_stream_enable() argument
1222 tc_stream_disable(struct tc_data *tc) tc_stream_disable() argument
1239 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_enable() local
1264 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_disable() local
1292 struct tc_data *tc = bridge_to_tc(bridge); tc_mode_valid() local
1313 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_mode_set() local
1321 struct tc_data *tc = bridge_to_tc(bridge); tc_get_edid() local
1328 struct tc_data *tc = connector_to_tc(connector); tc_connector_get_modes() local
1358 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_detect() local
1378 struct tc_data *tc = connector_to_tc(connector); tc_connector_detect() local
1402 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_attach() local
1497 struct tc_data *tc = arg; tc_irq_handler() local
1538 tc_probe_edp_bridge_endpoint(struct tc_data *tc) tc_probe_edp_bridge_endpoint() argument
1575 struct tc_data *tc; tc_probe() local
1732 struct tc_data *tc = i2c_get_clientdata(client); tc_remove() local
[all...]
H A Dtc358775.c283 struct tc_data *tc = bridge_to_tc(bridge); in tc_bridge_pre_enable() local
284 struct device *dev = &tc->dsi->dev; in tc_bridge_pre_enable()
287 ret = regulator_enable(tc->vddio); in tc_bridge_pre_enable()
292 ret = regulator_enable(tc->vdd); in tc_bridge_pre_enable()
297 gpiod_set_value(tc->stby_gpio, 0); in tc_bridge_pre_enable()
300 gpiod_set_value(tc->reset_gpio, 0); in tc_bridge_pre_enable()
306 struct tc_data *tc = bridge_to_tc(bridge); in tc_bridge_post_disable() local
307 struct device *dev = &tc->dsi->dev; in tc_bridge_post_disable()
310 gpiod_set_value(tc->reset_gpio, 1); in tc_bridge_post_disable()
313 gpiod_set_value(tc in tc_bridge_post_disable()
377 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_enable() local
497 struct tc_data *tc = bridge_to_tc(bridge); tc_mode_valid() local
527 tc358775_parse_dt(struct device_node *np, struct tc_data *tc) tc358775_parse_dt() argument
596 struct tc_data *tc = bridge_to_tc(bridge); tc_bridge_attach() local
653 struct tc_data *tc; tc_probe() local
717 struct tc_data *tc = i2c_get_clientdata(client); tc_remove() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dtsc.c16 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc) in perf_time_to_tsc() argument
20 t = ns - tc->time_zero; in perf_time_to_tsc()
21 quot = t / tc->time_mult; in perf_time_to_tsc()
22 rem = t % tc->time_mult; in perf_time_to_tsc()
23 return (quot << tc->time_shift) + in perf_time_to_tsc()
24 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()
27 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc) in tsc_to_perf_time() argument
31 if (tc->cap_user_time_short) in tsc_to_perf_time()
32 cyc = tc in tsc_to_perf_time()
41 perf_read_tsc_conversion(const struct perf_event_mmap_page *pc, struct perf_tsc_conversion *tc) perf_read_tsc_conversion() argument
85 struct perf_tsc_conversion tc; perf_event__synth_time_conv() local
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-thin.c223 typedef void (*process_bio_fn)(struct thin_c *tc, struct bio *bio);
224 typedef void (*process_cell_fn)(struct thin_c *tc, struct dm_bio_prison_cell *cell);
381 struct thin_c *tc; member
387 static void begin_discard(struct discard_op *op, struct thin_c *tc, struct bio *parent) in begin_discard() argument
391 op->tc = tc; in begin_discard()
399 struct thin_c *tc = op->tc; in issue_discard() local
400 sector_t s = block_to_sectors(tc->pool, data_b); in issue_discard()
401 sector_t len = block_to_sectors(tc in issue_discard()
586 struct thin_c *tc; global() member
610 error_thin_bio_list(struct thin_c *tc, struct bio_list *master, blk_status_t error) error_thin_bio_list() argument
624 requeue_deferred_cells(struct thin_c *tc) requeue_deferred_cells() argument
640 requeue_io(struct thin_c *tc) requeue_io() argument
657 struct thin_c *tc; error_retry_list_with_code() local
677 get_bio_block(struct thin_c *tc, struct bio *bio) get_bio_block() argument
693 get_bio_block_range(struct thin_c *tc, struct bio *bio, dm_block_t *begin, dm_block_t *end) get_bio_block_range() argument
718 remap(struct thin_c *tc, struct bio *bio, dm_block_t block) remap() argument
733 remap_to_origin(struct thin_c *tc, struct bio *bio) remap_to_origin() argument
738 bio_triggers_commit(struct thin_c *tc, struct bio *bio) bio_triggers_commit() argument
755 issue(struct thin_c *tc, struct bio *bio) issue() argument
783 remap_to_origin_and_issue(struct thin_c *tc, struct bio *bio) remap_to_origin_and_issue() argument
789 remap_and_issue(struct thin_c *tc, struct bio *bio, dm_block_t block) remap_and_issue() argument
815 struct thin_c *tc; global() member
883 cell_defer_no_holder(struct thin_c *tc, struct dm_bio_prison_cell *cell) cell_defer_no_holder() argument
901 struct thin_c *tc; global() member
928 inc_remap_and_issue_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell, dm_block_t block) inc_remap_and_issue_cell() argument
961 complete_overwrite_bio(struct thin_c *tc, struct bio *bio) complete_overwrite_bio() argument
995 struct thin_c *tc = m->tc; process_prepared_mapping() local
1041 struct thin_c *tc = m->tc; free_discard_mapping() local
1062 struct thin_c *tc = m->tc; process_prepared_discard_no_passdown() local
1086 struct thin_c *tc = m->tc; passdown_double_checking_shared_status() local
1150 struct thin_c *tc = m->tc; process_prepared_discard_passdown_pt1() local
1207 struct thin_c *tc = m->tc; process_prepared_discard_passdown_pt2() local
1288 ll_zero(struct thin_c *tc, struct dm_thin_new_mapping *m, sector_t begin, sector_t end) ll_zero() argument
1300 remap_and_issue_overwrite(struct thin_c *tc, struct bio *bio, dm_block_t data_begin, struct dm_thin_new_mapping *m) remap_and_issue_overwrite() argument
1317 schedule_copy(struct thin_c *tc, dm_block_t virt_block, struct dm_dev *origin, dm_block_t data_origin, dm_block_t data_dest, struct dm_bio_prison_cell *cell, struct bio *bio, sector_t len) schedule_copy() argument
1378 schedule_internal_copy(struct thin_c *tc, dm_block_t virt_block, dm_block_t data_origin, dm_block_t data_dest, struct dm_bio_prison_cell *cell, struct bio *bio) schedule_internal_copy() argument
1387 schedule_zero(struct thin_c *tc, dm_block_t virt_block, dm_block_t data_block, struct dm_bio_prison_cell *cell, struct bio *bio) schedule_zero() argument
1416 schedule_external_copy(struct thin_c *tc, dm_block_t virt_block, dm_block_t data_dest, struct dm_bio_prison_cell *cell, struct bio *bio) schedule_external_copy() argument
1522 alloc_data_block(struct thin_c *tc, dm_block_t *result) alloc_data_block() argument
1592 struct thin_c *tc = h->tc; retry_on_resume() local
1653 process_discard_cell_no_passdown(struct thin_c *tc, struct dm_bio_prison_cell *virt_cell) process_discard_cell_no_passdown() argument
1673 break_up_discard_bio(struct thin_c *tc, dm_block_t begin, dm_block_t end, struct bio *bio) break_up_discard_bio() argument
1736 process_discard_cell_passdown(struct thin_c *tc, struct dm_bio_prison_cell *virt_cell) process_discard_cell_passdown() argument
1757 process_discard_bio(struct thin_c *tc, struct bio *bio) process_discard_bio() argument
1786 break_sharing(struct thin_c *tc, struct bio *bio, dm_block_t block, struct dm_cell_key *key, struct dm_thin_lookup_result *lookup_result, struct dm_bio_prison_cell *cell) break_sharing() argument
1834 remap_and_issue_shared_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell, dm_block_t block) remap_and_issue_shared_cell() argument
1855 process_shared_bio(struct thin_c *tc, struct bio *bio, dm_block_t block, struct dm_thin_lookup_result *lookup_result, struct dm_bio_prison_cell *virt_cell) process_shared_bio() argument
1889 provision_block(struct thin_c *tc, struct bio *bio, dm_block_t block, struct dm_bio_prison_cell *cell) provision_block() argument
1938 process_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell) process_cell() argument
1993 process_bio(struct thin_c *tc, struct bio *bio) process_bio() argument
2011 __process_bio_read_only(struct thin_c *tc, struct bio *bio, struct dm_bio_prison_cell *cell) __process_bio_read_only() argument
2062 process_bio_read_only(struct thin_c *tc, struct bio *bio) process_bio_read_only() argument
2067 process_cell_read_only(struct thin_c *tc, struct dm_bio_prison_cell *cell) process_cell_read_only() argument
2072 process_bio_success(struct thin_c *tc, struct bio *bio) process_bio_success() argument
2077 process_bio_fail(struct thin_c *tc, struct bio *bio) process_bio_fail() argument
2082 process_cell_success(struct thin_c *tc, struct dm_bio_prison_cell *cell) process_cell_success() argument
2087 process_cell_fail(struct thin_c *tc, struct dm_bio_prison_cell *cell) process_cell_fail() argument
2105 __thin_bio_rb_add(struct thin_c *tc, struct bio *bio) __thin_bio_rb_add() argument
2128 __extract_sorted_bios(struct thin_c *tc) __extract_sorted_bios() argument
2145 __sort_thin_deferred_bios(struct thin_c *tc) __sort_thin_deferred_bios() argument
2166 process_thin_deferred_bios(struct thin_c *tc) process_thin_deferred_bios() argument
2260 process_thin_deferred_cells(struct thin_c *tc) process_thin_deferred_cells() argument
2317 struct thin_c *tc = NULL; get_first_thin() local
2329 get_next_thin(struct pool *pool, struct thin_c *tc) get_next_thin() argument
2350 struct thin_c *tc; process_deferred_bios() local
2477 struct thin_c *tc; global() member
2500 noflush_work(struct thin_c *tc, void (*fn)(struct work_struct *)) noflush_work() argument
2661 thin_defer_bio(struct thin_c *tc, struct bio *bio) thin_defer_bio() argument
2672 thin_defer_bio_with_throttle(struct thin_c *tc, struct bio *bio) thin_defer_bio_with_throttle() argument
2681 thin_defer_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell) thin_defer_cell() argument
2694 thin_hook_bio(struct thin_c *tc, struct bio *bio) thin_hook_bio() argument
2711 struct thin_c *tc = ti->private; thin_bio_map() local
2802 struct thin_c *tc; requeue_bios() local
3600 struct thin_c *tc; pool_suspend_active_thins() local
3612 struct thin_c *tc; pool_resume_active_thins() local
4128 thin_get(struct thin_c *tc) thin_get() argument
4133 thin_put(struct thin_c *tc) thin_put() argument
4141 struct thin_c *tc = ti->private; thin_dtr() local
4178 struct thin_c *tc; thin_ctr() local
4366 struct thin_c *tc = ti->private; thin_presuspend() local
4374 struct thin_c *tc = ti->private; thin_postsuspend() local
4385 struct thin_c *tc = ti->private; thin_preresume() local
4403 struct thin_c *tc = ti->private; thin_status() local
4455 struct thin_c *tc = ti->private; thin_iterate_devices() local
4475 struct thin_c *tc = ti->private; thin_io_hints() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh41 tc qdisc add dev $swp1 ingress_block 22 clsact
44 tc filter add block 22 protocol ip pref 1 handle 101 flower \
48 tc qdisc add dev $swp2 ingress_block 22 clsact
51 tc qdisc del dev $swp2 clsact
53 tc qdisc add dev $swp2 egress_block 22 clsact
56 tc filter del block 22 protocol ip pref 1 handle 101 flower
58 tc qdisc add dev $swp2 egress_block 22 clsact
61 tc filter add block 22 protocol ip pref 1 handle 101 flower \
65 tc qdisc del dev $swp1 clsact
67 tc qdis
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-thin.c226 typedef void (*process_bio_fn)(struct thin_c *tc, struct bio *bio);
227 typedef void (*process_cell_fn)(struct thin_c *tc, struct dm_bio_prison_cell *cell);
382 struct thin_c *tc; member
388 static void begin_discard(struct discard_op *op, struct thin_c *tc, struct bio *parent) in begin_discard() argument
392 op->tc = tc; in begin_discard()
400 struct thin_c *tc = op->tc; in issue_discard() local
401 sector_t s = block_to_sectors(tc->pool, data_b); in issue_discard()
402 sector_t len = block_to_sectors(tc in issue_discard()
586 struct thin_c *tc; global() member
610 error_thin_bio_list(struct thin_c *tc, struct bio_list *master, blk_status_t error) error_thin_bio_list() argument
624 requeue_deferred_cells(struct thin_c *tc) requeue_deferred_cells() argument
640 requeue_io(struct thin_c *tc) requeue_io() argument
657 struct thin_c *tc; error_retry_list_with_code() local
677 get_bio_block(struct thin_c *tc, struct bio *bio) get_bio_block() argument
693 get_bio_block_range(struct thin_c *tc, struct bio *bio, dm_block_t *begin, dm_block_t *end) get_bio_block_range() argument
718 remap(struct thin_c *tc, struct bio *bio, dm_block_t block) remap() argument
733 remap_to_origin(struct thin_c *tc, struct bio *bio) remap_to_origin() argument
738 bio_triggers_commit(struct thin_c *tc, struct bio *bio) bio_triggers_commit() argument
755 issue(struct thin_c *tc, struct bio *bio) issue() argument
783 remap_to_origin_and_issue(struct thin_c *tc, struct bio *bio) remap_to_origin_and_issue() argument
789 remap_and_issue(struct thin_c *tc, struct bio *bio, dm_block_t block) remap_and_issue() argument
815 struct thin_c *tc; global() member
883 cell_defer_no_holder(struct thin_c *tc, struct dm_bio_prison_cell *cell) cell_defer_no_holder() argument
903 struct thin_c *tc; global() member
930 inc_remap_and_issue_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell, dm_block_t block) inc_remap_and_issue_cell() argument
963 complete_overwrite_bio(struct thin_c *tc, struct bio *bio) complete_overwrite_bio() argument
997 struct thin_c *tc = m->tc; process_prepared_mapping() local
1043 struct thin_c *tc = m->tc; free_discard_mapping() local
1065 struct thin_c *tc = m->tc; process_prepared_discard_no_passdown() local
1089 struct thin_c *tc = m->tc; passdown_double_checking_shared_status() local
1153 struct thin_c *tc = m->tc; process_prepared_discard_passdown_pt1() local
1202 struct thin_c *tc = m->tc; process_prepared_discard_passdown_pt2() local
1283 ll_zero(struct thin_c *tc, struct dm_thin_new_mapping *m, sector_t begin, sector_t end) ll_zero() argument
1295 remap_and_issue_overwrite(struct thin_c *tc, struct bio *bio, dm_block_t data_begin, struct dm_thin_new_mapping *m) remap_and_issue_overwrite() argument
1312 schedule_copy(struct thin_c *tc, dm_block_t virt_block, struct dm_dev *origin, dm_block_t data_origin, dm_block_t data_dest, struct dm_bio_prison_cell *cell, struct bio *bio, sector_t len) schedule_copy() argument
1373 schedule_internal_copy(struct thin_c *tc, dm_block_t virt_block, dm_block_t data_origin, dm_block_t data_dest, struct dm_bio_prison_cell *cell, struct bio *bio) schedule_internal_copy() argument
1382 schedule_zero(struct thin_c *tc, dm_block_t virt_block, dm_block_t data_block, struct dm_bio_prison_cell *cell, struct bio *bio) schedule_zero() argument
1411 schedule_external_copy(struct thin_c *tc, dm_block_t virt_block, dm_block_t data_dest, struct dm_bio_prison_cell *cell, struct bio *bio) schedule_external_copy() argument
1517 alloc_data_block(struct thin_c *tc, dm_block_t *result) alloc_data_block() argument
1587 struct thin_c *tc = h->tc; retry_on_resume() local
1648 process_discard_cell_no_passdown(struct thin_c *tc, struct dm_bio_prison_cell *virt_cell) process_discard_cell_no_passdown() argument
1668 break_up_discard_bio(struct thin_c *tc, dm_block_t begin, dm_block_t end, struct bio *bio) break_up_discard_bio() argument
1747 process_discard_cell_passdown(struct thin_c *tc, struct dm_bio_prison_cell *virt_cell) process_discard_cell_passdown() argument
1768 process_discard_bio(struct thin_c *tc, struct bio *bio) process_discard_bio() argument
1803 break_sharing(struct thin_c *tc, struct bio *bio, dm_block_t block, struct dm_cell_key *key, struct dm_thin_lookup_result *lookup_result, struct dm_bio_prison_cell *cell) break_sharing() argument
1851 remap_and_issue_shared_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell, dm_block_t block) remap_and_issue_shared_cell() argument
1872 process_shared_bio(struct thin_c *tc, struct bio *bio, dm_block_t block, struct dm_thin_lookup_result *lookup_result, struct dm_bio_prison_cell *virt_cell) process_shared_bio() argument
1906 provision_block(struct thin_c *tc, struct bio *bio, dm_block_t block, struct dm_bio_prison_cell *cell) provision_block() argument
1955 process_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell) process_cell() argument
2010 process_bio(struct thin_c *tc, struct bio *bio) process_bio() argument
2028 __process_bio_read_only(struct thin_c *tc, struct bio *bio, struct dm_bio_prison_cell *cell) __process_bio_read_only() argument
2079 process_bio_read_only(struct thin_c *tc, struct bio *bio) process_bio_read_only() argument
2084 process_cell_read_only(struct thin_c *tc, struct dm_bio_prison_cell *cell) process_cell_read_only() argument
2089 process_bio_success(struct thin_c *tc, struct bio *bio) process_bio_success() argument
2094 process_bio_fail(struct thin_c *tc, struct bio *bio) process_bio_fail() argument
2099 process_cell_success(struct thin_c *tc, struct dm_bio_prison_cell *cell) process_cell_success() argument
2104 process_cell_fail(struct thin_c *tc, struct dm_bio_prison_cell *cell) process_cell_fail() argument
2122 __thin_bio_rb_add(struct thin_c *tc, struct bio *bio) __thin_bio_rb_add() argument
2145 __extract_sorted_bios(struct thin_c *tc) __extract_sorted_bios() argument
2162 __sort_thin_deferred_bios(struct thin_c *tc) __sort_thin_deferred_bios() argument
2183 process_thin_deferred_bios(struct thin_c *tc) process_thin_deferred_bios() argument
2277 process_thin_deferred_cells(struct thin_c *tc) process_thin_deferred_cells() argument
2334 struct thin_c *tc = NULL; get_first_thin() local
2346 get_next_thin(struct pool *pool, struct thin_c *tc) get_next_thin() argument
2367 struct thin_c *tc; process_deferred_bios() local
2495 struct thin_c *tc; global() member
2520 noflush_work(struct thin_c *tc, void (*fn)(struct work_struct *)) noflush_work() argument
2676 thin_defer_bio(struct thin_c *tc, struct bio *bio) thin_defer_bio() argument
2687 thin_defer_bio_with_throttle(struct thin_c *tc, struct bio *bio) thin_defer_bio_with_throttle() argument
2696 thin_defer_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell) thin_defer_cell() argument
2709 thin_hook_bio(struct thin_c *tc, struct bio *bio) thin_hook_bio() argument
2726 struct thin_c *tc = ti->private; thin_bio_map() local
2817 struct thin_c *tc; requeue_bios() local
3605 struct thin_c *tc; pool_suspend_active_thins() local
3617 struct thin_c *tc; pool_resume_active_thins() local
4138 thin_get(struct thin_c *tc) thin_get() argument
4143 thin_put(struct thin_c *tc) thin_put() argument
4151 struct thin_c *tc = ti->private; thin_dtr() local
4188 struct thin_c *tc; thin_ctr() local
4378 struct thin_c *tc = ti->private; thin_presuspend() local
4386 struct thin_c *tc = ti->private; thin_postsuspend() local
4397 struct thin_c *tc = ti->private; thin_preresume() local
4415 struct thin_c *tc = ti->private; thin_status() local
4471 struct thin_c *tc = ti->private; thin_iterate_devices() local
4491 struct thin_c *tc = ti->private; thin_io_hints() local
[all...]
/kernel/linux/linux-5.10/net/rds/
H A Dtcp.c92 u32 rds_tcp_write_seq(struct rds_tcp_connection *tc) in rds_tcp_write_seq() argument
95 return tcp_sk(tc->t_sock->sk)->write_seq; in rds_tcp_write_seq()
98 u32 rds_tcp_snd_una(struct rds_tcp_connection *tc) in rds_tcp_snd_una() argument
100 return tcp_sk(tc->t_sock->sk)->snd_una; in rds_tcp_snd_una()
104 struct rds_tcp_connection *tc) in rds_tcp_restore_callbacks()
106 rdsdebug("restoring sock %p callbacks from tc %p\n", sock, tc); in rds_tcp_restore_callbacks()
111 list_del_init(&tc->t_list_item); in rds_tcp_restore_callbacks()
115 if (!tc->t_cpath->cp_conn->c_isv6) in rds_tcp_restore_callbacks()
119 tc in rds_tcp_restore_callbacks()
103 rds_tcp_restore_callbacks(struct socket *sock, struct rds_tcp_connection *tc) rds_tcp_restore_callbacks() argument
141 struct rds_tcp_connection *tc = cp->cp_transport_data; rds_tcp_reset_callbacks() local
195 struct rds_tcp_connection *tc = cp->cp_transport_data; rds_tcp_set_callbacks() local
236 struct rds_tcp_connection *tc; rds_tcp_tc_info() local
282 struct rds_tcp_connection *tc; rds6_tcp_tc_info() local
353 struct rds_tcp_connection *tc = arg; rds_tcp_conn_free() local
368 struct rds_tcp_connection *tc; rds_tcp_conn_alloc() local
408 struct rds_tcp_connection *tc, *_tc; list_has_conn() local
429 struct rds_tcp_connection *tc, *_tc; rds_tcp_destroy_conns() local
590 struct rds_tcp_connection *tc, *_tc; rds_tcp_kill_sock() local
653 struct rds_tcp_connection *tc, *_tc; rds_tcp_sysctl_reset() local
[all...]
H A Dtcp_send.c43 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit_path_prepare() local
45 tcp_sock_set_cork(tc->t_sock->sk, true); in rds_tcp_xmit_path_prepare()
50 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit_path_complete() local
52 tcp_sock_set_cork(tc->t_sock->sk, false); in rds_tcp_xmit_path_complete()
74 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit() local
84 tc->t_last_sent_nxt = rds_tcp_write_seq(tc); in rds_tcp_xmit()
85 rm->m_ack_seq = tc->t_last_sent_nxt + in rds_tcp_xmit()
90 tc->t_last_expected_una = rm->m_ack_seq + 1; in rds_tcp_xmit()
96 rm, rds_tcp_write_seq(tc), in rds_tcp_xmit()
182 struct rds_tcp_connection *tc; rds_tcp_write_space() local
[all...]
/kernel/linux/linux-6.6/net/rds/
H A Dtcp.c92 u32 rds_tcp_write_seq(struct rds_tcp_connection *tc) in rds_tcp_write_seq() argument
95 return tcp_sk(tc->t_sock->sk)->write_seq; in rds_tcp_write_seq()
98 u32 rds_tcp_snd_una(struct rds_tcp_connection *tc) in rds_tcp_snd_una() argument
100 return tcp_sk(tc->t_sock->sk)->snd_una; in rds_tcp_snd_una()
104 struct rds_tcp_connection *tc) in rds_tcp_restore_callbacks()
106 rdsdebug("restoring sock %p callbacks from tc %p\n", sock, tc); in rds_tcp_restore_callbacks()
111 list_del_init(&tc->t_list_item); in rds_tcp_restore_callbacks()
115 if (!tc->t_cpath->cp_conn->c_isv6) in rds_tcp_restore_callbacks()
119 tc in rds_tcp_restore_callbacks()
103 rds_tcp_restore_callbacks(struct socket *sock, struct rds_tcp_connection *tc) rds_tcp_restore_callbacks() argument
141 struct rds_tcp_connection *tc = cp->cp_transport_data; rds_tcp_reset_callbacks() local
195 struct rds_tcp_connection *tc = cp->cp_transport_data; rds_tcp_set_callbacks() local
236 struct rds_tcp_connection *tc; rds_tcp_tc_info() local
282 struct rds_tcp_connection *tc; rds6_tcp_tc_info() local
353 struct rds_tcp_connection *tc = arg; rds_tcp_conn_free() local
368 struct rds_tcp_connection *tc; rds_tcp_conn_alloc() local
408 struct rds_tcp_connection *tc, *_tc; list_has_conn() local
429 struct rds_tcp_connection *tc, *_tc; rds_tcp_destroy_conns() local
608 struct rds_tcp_connection *tc, *_tc; rds_tcp_kill_sock() local
671 struct rds_tcp_connection *tc, *_tc; rds_tcp_sysctl_reset() local
[all...]
H A Dtcp_send.c43 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit_path_prepare() local
45 tcp_sock_set_cork(tc->t_sock->sk, true); in rds_tcp_xmit_path_prepare()
50 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit_path_complete() local
52 tcp_sock_set_cork(tc->t_sock->sk, false); in rds_tcp_xmit_path_complete()
74 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit() local
85 tc->t_last_sent_nxt = rds_tcp_write_seq(tc); in rds_tcp_xmit()
86 rm->m_ack_seq = tc->t_last_sent_nxt + in rds_tcp_xmit()
91 tc->t_last_expected_una = rm->m_ack_seq + 1; in rds_tcp_xmit()
97 rm, rds_tcp_write_seq(tc), in rds_tcp_xmit()
183 struct rds_tcp_connection *tc; rds_tcp_write_space() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh44 tc qdisc add dev $swp1 ingress_block 22 clsact
47 tc filter add block 22 protocol ip pref 1 handle 101 flower \
51 tc qdisc add dev $swp2 ingress_block 22 clsact
54 tc qdisc del dev $swp2 clsact
56 tc qdisc add dev $swp2 egress_block 22 clsact
59 tc filter del block 22 protocol ip pref 1 handle 101 flower
61 tc qdisc add dev $swp2 egress_block 22 clsact
64 tc filter add block 22 protocol ip pref 1 handle 101 flower \
68 tc qdisc del dev $swp1 clsact
70 tc qdis
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.c165 int tc; in ixgbe_dcb_unpack_pfc() local
167 for (*pfc_en = 0, tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) { in ixgbe_dcb_unpack_pfc()
168 if (tc_config[tc].dcb_pfc != pfc_disabled) in ixgbe_dcb_unpack_pfc()
169 *pfc_en |= BIT(tc); in ixgbe_dcb_unpack_pfc()
177 int tc; in ixgbe_dcb_unpack_refill() local
179 for (tc = 0; tc < MAX_TRAFFIC_CLASS; tc in ixgbe_dcb_unpack_refill()
186 int tc; ixgbe_dcb_unpack_max() local
196 int tc; ixgbe_dcb_unpack_bwgid() local
206 int tc; ixgbe_dcb_unpack_prio() local
216 u8 tc = cfg->num_tcs.pg_tcs; ixgbe_dcb_get_tc_from_up() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.c165 int tc; in ixgbe_dcb_unpack_pfc() local
167 for (*pfc_en = 0, tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) { in ixgbe_dcb_unpack_pfc()
168 if (tc_config[tc].dcb_pfc != pfc_disabled) in ixgbe_dcb_unpack_pfc()
169 *pfc_en |= BIT(tc); in ixgbe_dcb_unpack_pfc()
177 int tc; in ixgbe_dcb_unpack_refill() local
179 for (tc = 0; tc < MAX_TRAFFIC_CLASS; tc in ixgbe_dcb_unpack_refill()
186 int tc; ixgbe_dcb_unpack_max() local
196 int tc; ixgbe_dcb_unpack_bwgid() local
206 int tc; ixgbe_dcb_unpack_prio() local
216 u8 tc = cfg->num_tcs.pg_tcs; ixgbe_dcb_get_tc_from_up() local
[all...]
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dsmp-mt.c46 static unsigned int __init smvp_vpe_init(unsigned int tc, unsigned int mvpconf0, in smvp_vpe_init() argument
49 if (tc >= smp_max_threads || in smvp_vpe_init()
50 (tc > ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT))) in smvp_vpe_init()
54 if (tc != 0) { in smvp_vpe_init()
64 set_cpu_possible(tc, true); in smvp_vpe_init()
65 set_cpu_present(tc, true); in smvp_vpe_init()
66 __cpu_number_map[tc] = ++ncpu; in smvp_vpe_init()
67 __cpu_logical_map[ncpu] = tc; in smvp_vpe_init()
73 if (tc != 0) in smvp_vpe_init()
76 cpu_set_vpe_id(&cpu_data[ncpu], tc); in smvp_vpe_init()
81 smvp_tc_init(unsigned int tc, unsigned int mvpconf0) smvp_tc_init() argument
186 unsigned int mvpconf0, ntc, tc, ncpu = 0; vsmp_smp_setup() local
[all...]
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dsmp-mt.c46 static unsigned int __init smvp_vpe_init(unsigned int tc, unsigned int mvpconf0, in smvp_vpe_init() argument
49 if (tc > ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT)) in smvp_vpe_init()
53 if (tc != 0) { in smvp_vpe_init()
63 set_cpu_possible(tc, true); in smvp_vpe_init()
64 set_cpu_present(tc, true); in smvp_vpe_init()
65 __cpu_number_map[tc] = ++ncpu; in smvp_vpe_init()
66 __cpu_logical_map[ncpu] = tc; in smvp_vpe_init()
72 if (tc != 0) in smvp_vpe_init()
75 cpu_set_vpe_id(&cpu_data[ncpu], tc); in smvp_vpe_init()
80 static void __init smvp_tc_init(unsigned int tc, unsigne argument
185 unsigned int mvpconf0, ntc, tc, ncpu = 0; vsmp_smp_setup() local
[all...]
H A Dvpe-mt.c31 struct tc *t; in vpe_run()
46 if (list_empty(&v->tc)) { in vpe_run()
57 t = list_first_entry(&v->tc, struct tc, tc); in vpe_run()
112 /* Set up the XTC bit in vpeconf0 to point at our tc */ in vpe_run()
146 void cleanup_tc(struct tc *tc) in cleanup_tc() argument
158 settc(tc->index); in cleanup_tc()
208 struct tc * in vpe_stop()
332 int tc, err; vpe_module_init() local
[all...]

Completed in 24 milliseconds

12345678910>>...38