Home
last modified time | relevance | path

Searched defs:sm (Results 1 – 25 of 48) sorted by relevance

12

/drivers/mfd/
Dsm501.c134 static void sm501_dump_clk(struct sm501_devdata *sm) in sm501_dump_clk()
191 static void sm501_dump_regs(struct sm501_devdata *sm) in sm501_dump_regs()
211 static void sm501_dump_gate(struct sm501_devdata *sm) in sm501_dump_gate()
222 static inline void sm501_dump_gate(struct sm501_devdata *sm) { } in sm501_dump_gate()
223 static inline void sm501_dump_regs(struct sm501_devdata *sm) { } in sm501_dump_regs()
224 static inline void sm501_dump_clk(struct sm501_devdata *sm) { } in sm501_dump_clk()
232 static void sm501_sync_regs(struct sm501_devdata *sm) in sm501_sync_regs()
237 static inline void sm501_mdelay(struct sm501_devdata *sm, unsigned int delay) in sm501_mdelay()
257 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_misc_control() local
291 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_modify_reg() local
[all …]
/drivers/md/persistent-data/
Ddm-space-map.h77 static inline void dm_sm_destroy(struct dm_space_map *sm) in dm_sm_destroy()
82 static inline int dm_sm_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in dm_sm_extend()
87 static inline int dm_sm_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_blocks()
92 static inline int dm_sm_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_free()
97 static inline int dm_sm_get_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_get_count()
103 static inline int dm_sm_count_is_more_than_one(struct dm_space_map *sm, in dm_sm_count_is_more_than_one()
109 static inline int dm_sm_set_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_set_count()
115 static inline int dm_sm_commit(struct dm_space_map *sm) in dm_sm_commit()
120 static inline int dm_sm_inc_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_inc_block()
125 static inline int dm_sm_dec_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_dec_block()
[all …]
Ddm-space-map-metadata.c166 struct dm_space_map sm; member
273 static void sm_metadata_destroy(struct dm_space_map *sm) in sm_metadata_destroy()
280 static int sm_metadata_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_blocks()
289 static int sm_metadata_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_free()
299 static int sm_metadata_get_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_get_count()
339 static int sm_metadata_count_is_more_than_one(struct dm_space_map *sm, in sm_metadata_count_is_more_than_one()
391 static int sm_metadata_set_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_set_count()
410 static int sm_metadata_inc_block(struct dm_space_map *sm, dm_block_t b) in sm_metadata_inc_block()
427 static int sm_metadata_dec_block(struct dm_space_map *sm, dm_block_t b) in sm_metadata_dec_block()
444 static int sm_metadata_new_block_(struct dm_space_map *sm, dm_block_t *b) in sm_metadata_new_block_()
[all …]
Ddm-space-map-disk.c25 struct dm_space_map sm; member
34 static void sm_disk_destroy(struct dm_space_map *sm) in sm_disk_destroy()
41 static int sm_disk_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in sm_disk_extend()
48 static int sm_disk_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_disk_get_nr_blocks()
56 static int sm_disk_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_disk_get_nr_free()
64 static int sm_disk_get_count(struct dm_space_map *sm, dm_block_t b, in sm_disk_get_count()
71 static int sm_disk_count_is_more_than_one(struct dm_space_map *sm, dm_block_t b, in sm_disk_count_is_more_than_one()
86 static int sm_disk_set_count(struct dm_space_map *sm, dm_block_t b, in sm_disk_set_count()
126 static int sm_disk_inc_block(struct dm_space_map *sm, dm_block_t b) in sm_disk_inc_block()
143 static int sm_disk_dec_block(struct dm_space_map *sm, dm_block_t b) in sm_disk_dec_block()
[all …]
Ddm-transaction-manager.c93 struct dm_space_map *sm; member
161 struct dm_space_map *sm) in dm_tm_create()
398 struct dm_space_map **sm, in dm_tm_create_internal()
440 struct dm_space_map **sm) in dm_tm_create_with_sm()
449 struct dm_space_map **sm) in dm_tm_open_with_sm()
/drivers/scsi/isci/
Dremote_device.c340 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_stop() local
396 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_reset() local
426 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_reset_complete() local
442 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_frame_handler() local
537 struct sci_base_state_machine *sm = &idev->sm; in is_remote_device_ready() local
571 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_event_handler() local
657 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_start_io() local
793 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_complete_io() local
875 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_start_task() local
993 static void sci_remote_device_initial_state_enter(struct sci_base_state_machine *sm) in sci_remote_device_initial_state_enter()
[all …]
Dphy.c1065 static void sci_phy_starting_initial_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_initial_substate_enter()
1073 static void sci_phy_starting_await_sas_power_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_await_sas_power_substate_enter()
1081 static void sci_phy_starting_await_sas_power_substate_exit(struct sci_base_state_machine *sm) in sci_phy_starting_await_sas_power_substate_exit()
1089 static void sci_phy_starting_await_sata_power_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_power_substate_enter()
1097 static void sci_phy_starting_await_sata_power_substate_exit(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_power_substate_exit()
1105 static void sci_phy_starting_await_sata_phy_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_phy_substate_enter()
1112 static void sci_phy_starting_await_sata_phy_substate_exit(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_phy_substate_exit()
1119 static void sci_phy_starting_await_sata_speed_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_speed_substate_enter()
1126 static void sci_phy_starting_await_sata_speed_substate_exit(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_speed_substate_exit()
1133 static void sci_phy_starting_await_sig_fis_uf_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_await_sig_fis_uf_substate_enter()
[all …]
Dremote_node_context.c275 static void sci_remote_node_context_initial_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_initial_state_enter()
293 static void sci_remote_node_context_posting_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_posting_state_enter()
300 static void sci_remote_node_context_invalidating_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_invalidating_state_enter()
309 static void sci_remote_node_context_resuming_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_resuming_state_enter()
330 static void sci_remote_node_context_ready_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_ready_state_enter()
352 static void sci_remote_node_context_tx_suspended_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_tx_suspended_state_enter()
359 static void sci_remote_node_context_tx_rx_suspended_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_tx_rx_suspended_state_enter()
380 struct sci_base_state_machine *sm) in sci_remote_node_context_await_suspend_state_exit()
Dport.c297 struct sci_base_state_machine *sm = &iport->sm; in port_state_machine_change() local
706 struct sci_base_state_machine *sm = &iport->sm; in sci_port_general_link_up_handler() local
940 static void sci_port_ready_substate_waiting_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_waiting_enter()
956 struct sci_base_state_machine *sm) in scic_sds_port_ready_substate_waiting_exit()
962 static void sci_port_ready_substate_operational_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_operational_enter()
1023 static void sci_port_ready_substate_operational_exit(struct sci_base_state_machine *sm) in sci_port_ready_substate_operational_exit()
1042 static void sci_port_ready_substate_configuring_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_configuring_enter()
1486 static void sci_port_stopped_state_enter(struct sci_base_state_machine *sm) in sci_port_stopped_state_enter()
1499 static void sci_port_stopped_state_exit(struct sci_base_state_machine *sm) in sci_port_stopped_state_exit()
1507 static void sci_port_ready_state_enter(struct sci_base_state_machine *sm) in sci_port_ready_state_enter()
[all …]
Dhost.c149 void sci_init_sm(struct sci_base_state_machine *sm, in sci_init_sm()
165 void sci_change_state(struct sci_base_state_machine *sm, u32 next_state) in sci_change_state()
1310 static void sci_controller_initial_state_enter(struct sci_base_state_machine *sm) in sci_controller_initial_state_enter()
1317 static inline void sci_controller_starting_state_exit(struct sci_base_state_machine *sm) in sci_controller_starting_state_exit()
1444 static void sci_controller_ready_state_enter(struct sci_base_state_machine *sm) in sci_controller_ready_state_enter()
1461 static void sci_controller_ready_state_exit(struct sci_base_state_machine *sm) in sci_controller_ready_state_exit()
1524 static void sci_controller_stopping_state_enter(struct sci_base_state_machine *sm) in sci_controller_stopping_state_enter()
1535 static void sci_controller_stopping_state_exit(struct sci_base_state_machine *sm) in sci_controller_stopping_state_exit()
1563 static void sci_controller_resetting_state_enter(struct sci_base_state_machine *sm) in sci_controller_resetting_state_enter()
1599 struct sci_base_state_machine *sm = &ihost->sm; in controller_timeout() local
[all …]
Drequest.c2962 static void sci_request_started_state_enter(struct sci_base_state_machine *sm) in sci_request_started_state_enter()
3000 static void sci_request_completed_state_enter(struct sci_base_state_machine *sm) in sci_request_completed_state_enter()
3013 static void sci_request_aborting_state_enter(struct sci_base_state_machine *sm) in sci_request_aborting_state_enter()
3021 …void sci_stp_request_started_non_data_await_h2d_completion_enter(struct sci_base_state_machine *sm) in sci_stp_request_started_non_data_await_h2d_completion_enter()
3028 …atic void sci_stp_request_started_pio_await_h2d_completion_enter(struct sci_base_state_machine *sm) in sci_stp_request_started_pio_await_h2d_completion_enter()
Dremote_node_context.h197 struct sci_base_state_machine sm; member
Dremote_device.h96 struct sci_base_state_machine sm; member
Dport.h103 struct sci_base_state_machine sm; member
/drivers/net/fddi/skfp/
Dsmt.c472 struct smt_header *sm ; in smt_received_pack() local
837 struct smt_header *sm ; in smt_send_frame() local
863 struct smt_header *sm ; /* header of offending frame */ in smt_send_rdf() local
1650 int smt_check_para(struct s_smc *smc, struct smt_header *sm, in smt_check_para()
1664 void *sm_to_para(struct s_smc *smc, struct smt_header *sm, int para) in sm_to_para()
1826 void smt_swap_para(struct smt_header *sm, int len, int direction) in smt_swap_para()
1924 void smt_swap_para(struct smt_header *sm, int len, int direction) in smt_swap_para()
Dpmf.c283 struct smt_header *sm ; in smt_pmf_received_pack() local
499 static int smt_authorize(struct s_smc *smc, struct smt_header *sm) in smt_authorize()
534 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm) in smt_check_set_count()
1560 void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text) in dump_smt()
Dess.c117 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack()
474 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, in ess_send_response()
/drivers/net/ethernet/brocade/bna/
Dbfa_cs.h33 bfa_sm_t sm; /*!< state machine function */ member
61 bfa_sm_to_state(const struct bfa_sm_table *smt, bfa_sm_t sm) in bfa_sm_to_state()
/drivers/scsi/bfa/
Dbfa_fcs.h71 bfa_sm_t sm; /* state machine */ member
82 bfa_sm_t sm; /* state machine */ member
91 bfa_sm_t sm; /* state machine */ member
102 bfa_sm_t sm; /* state machine */ member
145 bfa_sm_t sm; /* state machine */ member
185 bfa_sm_t sm; /* state machine */ member
360 bfa_sm_t sm; /* state machine */ member
413 bfa_sm_t sm; /* state machine */ member
444 bfa_sm_t sm; /* state machine */ member
507 bfa_sm_t sm; /* state machine */ member
Dbfa_svc.h165 bfa_sm_t sm; /* state machine */ member
300 bfa_sm_t sm; /* state machine */ member
394 bfa_sm_t sm; /* finite state machine */ member
455 bfa_sm_t sm; member
469 bfa_sm_t sm; /* port state machine */ member
719 bfa_sm_t sm; /* finite state machine */ member
Dbfa_fcpim.h170 bfa_sm_t sm; /* BFA ioim state machine */ member
202 bfa_sm_t sm; member
224 bfa_sm_t sm; /* i-t-n im BFA state machine */ member
Dbfa_cs.h207 bfa_sm_t sm; /* state machine function */ member
239 bfa_sm_to_state(struct bfa_sm_table_s *smt, bfa_sm_t sm) in bfa_sm_to_state()
/drivers/staging/slicoss/
Dslicoss.c925 struct slic_shmemory *sm = &adapter->shmem; in slic_link_upr_complete() local
1005 struct slic_shmemory *sm = &adapter->shmem; in slic_upr_request_complete() local
1659 struct slic_shmemory *sm = &adapter->shmem; in slic_link_event_handler() local
1681 struct slic_shmemory *sm = &adapter->shmem; in slic_init_cleanup() local
2070 struct slic_shmemory *sm = &adapter->shmem; in slic_interrupt() local
2213 struct slic_shmemory *sm = &adapter->shmem; in slic_if_init() local
2586 struct slic_shmemory *sm = &adapter->shmem; in slic_card_init() local
2824 struct slic_shmemory *sm = &adapter->shmem; in slic_init_adapter() local
/drivers/scsi/csiostor/
Dcsio_rnode.h89 struct csio_sm sm; /* State machine - member
/drivers/power/supply/
Dwm8350_power.c55 u16 sm, ov, co, chrg; in wm8350_get_supplies() local

12