/linux/drivers/usb/common/ |
H A D | usb-otg-fsm.c | 19 #include <linux/usb/otg-fsm.h> 29 static int otg_set_protocol(struct otg_fsm *fsm, int protocol) in otg_set_protocol() argument 33 if (fsm->protocol != protocol) { in otg_set_protocol() 34 VDBG("Changing role fsm->protocol= %d; new protocol= %d\n", in otg_set_protocol() 35 fsm->protocol, protocol); in otg_set_protocol() 37 if (fsm->protocol == PROTO_HOST) in otg_set_protocol() 38 ret = otg_start_host(fsm, 0); in otg_set_protocol() 39 else if (fsm->protocol == PROTO_GADGET) in otg_set_protocol() 40 ret = otg_start_gadget(fsm, 0); in otg_set_protocol() 46 ret = otg_start_host(fsm, in otg_set_protocol() 60 otg_leave_state(struct otg_fsm * fsm,enum usb_otg_state old_state) otg_leave_state() argument 122 struct otg_fsm *fsm = container_of(to_delayed_work(work), otg_hnp_polling_work() local 187 otg_start_hnp_polling(struct otg_fsm * fsm) otg_start_hnp_polling() argument 206 otg_set_state(struct otg_fsm * fsm,enum usb_otg_state new_state) otg_set_state() argument 328 otg_statemachine(struct otg_fsm * fsm) otg_statemachine() argument [all...] |
H A D | Makefile | 12 obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
|
/linux/include/linux/usb/ |
H A D | otg-fsm.h | 115 * Unused as OTG fsm uses otg->host->b_hnp_enable instead 119 * Unused as OTG fsm uses otg->gadget->b_hnp_enable instead 191 void (*chrg_vbus)(struct otg_fsm *fsm, int on); 192 void (*drv_vbus)(struct otg_fsm *fsm, int on); 193 void (*loc_conn)(struct otg_fsm *fsm, int on); 194 void (*loc_sof)(struct otg_fsm *fsm, int on); 195 void (*start_pulse)(struct otg_fsm *fsm); 196 void (*start_adp_prb)(struct otg_fsm *fsm); 197 void (*start_adp_sns)(struct otg_fsm *fsm); 198 void (*add_timer)(struct otg_fsm *fsm, enu 205 otg_chrg_vbus(struct otg_fsm * fsm,int on) otg_chrg_vbus() argument 213 otg_drv_vbus(struct otg_fsm * fsm,int on) otg_drv_vbus() argument 224 otg_loc_conn(struct otg_fsm * fsm,int on) otg_loc_conn() argument 235 otg_loc_sof(struct otg_fsm * fsm,int on) otg_loc_sof() argument 246 otg_start_pulse(struct otg_fsm * fsm) otg_start_pulse() argument 257 otg_start_adp_prb(struct otg_fsm * fsm) otg_start_adp_prb() argument 269 otg_start_adp_sns(struct otg_fsm * fsm) otg_start_adp_sns() argument 280 otg_add_timer(struct otg_fsm * fsm,enum otg_fsm_timer timer) otg_add_timer() argument 288 otg_del_timer(struct otg_fsm * fsm,enum otg_fsm_timer timer) otg_del_timer() argument 296 otg_start_host(struct otg_fsm * fsm,int on) otg_start_host() argument 303 otg_start_gadget(struct otg_fsm * fsm,int on) otg_start_gadget() argument [all...] |
/linux/drivers/mtd/devices/ |
H A D | st_spi_fsm.c | 311 static int stfsm_n25q_config(struct stfsm *fsm); 312 static int stfsm_mx25_config(struct stfsm *fsm); 313 static int stfsm_s25fl_config(struct stfsm *fsm); 314 static int stfsm_w25q_config(struct stfsm *fsm); 702 static inline int stfsm_is_idle(struct stfsm *fsm) in stfsm_is_idle() argument 704 return readl(fsm->base + SPI_FAST_SEQ_STA) & 0x10; in stfsm_is_idle() 707 static inline uint32_t stfsm_fifo_available(struct stfsm *fsm) in stfsm_fifo_available() argument 709 return (readl(fsm->base + SPI_FAST_SEQ_STA) >> 5) & 0x7f; in stfsm_fifo_available() 712 static inline void stfsm_load_seq(struct stfsm *fsm, in stfsm_load_seq() argument 715 void __iomem *dst = fsm in stfsm_load_seq() 728 stfsm_wait_seq(struct stfsm * fsm) stfsm_wait_seq() argument 748 stfsm_read_fifo(struct stfsm * fsm,uint32_t * buf,uint32_t size) stfsm_read_fifo() argument 799 stfsm_clear_fifo(struct stfsm * fsm) stfsm_clear_fifo() argument 835 stfsm_write_fifo(struct stfsm * fsm,const uint32_t * buf,uint32_t size) stfsm_write_fifo() argument 849 stfsm_enter_32bit_addr(struct stfsm * fsm,int enter) stfsm_enter_32bit_addr() argument 866 stfsm_wait_busy(struct stfsm * fsm) stfsm_wait_busy() argument 913 stfsm_read_status(struct stfsm * fsm,uint8_t cmd,uint8_t * data,int bytes) stfsm_read_status() argument 941 stfsm_write_status(struct stfsm * fsm,uint8_t cmd,uint16_t data,int bytes,int wait_busy) stfsm_write_status() argument 988 stfsm_can_handle_soc_reset(struct stfsm * fsm) stfsm_can_handle_soc_reset() argument 1003 stfsm_prepare_erasesec_seq(struct stfsm * fsm,struct stfsm_seq * seq) stfsm_prepare_erasesec_seq() argument 1017 stfsm_search_seq_rw_configs(struct stfsm * fsm,struct seq_rw_config cfgs[]) stfsm_search_seq_rw_configs() argument 1031 stfsm_prepare_rw_seq(struct stfsm * fsm,struct stfsm_seq * seq,struct seq_rw_config * cfg) stfsm_prepare_rw_seq() argument 1099 stfsm_search_prepare_rw_seq(struct stfsm * fsm,struct stfsm_seq * seq,struct seq_rw_config * cfgs) stfsm_search_prepare_rw_seq() argument 1117 stfsm_prepare_rwe_seqs_default(struct stfsm * fsm) stfsm_prepare_rwe_seqs_default() argument 1148 stfsm_mx25_config(struct stfsm * fsm) stfsm_mx25_config() argument 1206 stfsm_n25q_config(struct stfsm * fsm) stfsm_n25q_config() argument 1284 stfsm_s25fl_read_dyb(struct stfsm * fsm,uint32_t offs,uint8_t * dby) stfsm_s25fl_read_dyb() argument 1320 stfsm_s25fl_write_dyb(struct stfsm * fsm,uint32_t offs,uint8_t dby) stfsm_s25fl_write_dyb() argument 1355 stfsm_s25fl_clear_status_reg(struct stfsm * fsm) stfsm_s25fl_clear_status_reg() argument 1386 stfsm_s25fl_config(struct stfsm * fsm) stfsm_s25fl_config() argument 1475 stfsm_w25q_config(struct stfsm * fsm) stfsm_w25q_config() argument 1513 stfsm_read(struct stfsm * fsm,uint8_t * buf,uint32_t size,uint32_t offset) stfsm_read() argument 1574 stfsm_write(struct stfsm * fsm,const uint8_t * buf,uint32_t size,uint32_t offset) stfsm_write() argument 1672 struct stfsm *fsm = dev_get_drvdata(mtd->dev.parent); stfsm_mtd_read() local 1697 stfsm_erase_sector(struct stfsm * fsm,uint32_t offset) stfsm_erase_sector() argument 1727 stfsm_erase_chip(struct stfsm * fsm) stfsm_erase_chip() argument 1748 struct stfsm *fsm = dev_get_drvdata(mtd->dev.parent); stfsm_mtd_write() local 1793 struct stfsm *fsm = dev_get_drvdata(mtd->dev.parent); stfsm_mtd_erase() local 1831 stfsm_read_jedec(struct stfsm * fsm,uint8_t * jedec) stfsm_read_jedec() argument 1845 stfsm_jedec_probe(struct stfsm * fsm) stfsm_jedec_probe() argument 1876 stfsm_set_mode(struct stfsm * fsm,uint32_t mode) stfsm_set_mode() argument 1896 stfsm_set_freq(struct stfsm * fsm,uint32_t spi_freq) stfsm_set_freq() argument 1932 stfsm_init(struct stfsm * fsm) stfsm_init() argument 1972 struct stfsm *fsm = platform_get_drvdata(pdev); stfsm_fetch_platform_configs() local 2019 struct stfsm *fsm; stfsm_probe() local 2102 struct stfsm *fsm = platform_get_drvdata(pdev); stfsm_remove() local 2109 struct stfsm *fsm = dev_get_drvdata(dev); stfsmfsm_suspend() local 2118 struct stfsm *fsm = dev_get_drvdata(dev); stfsmfsm_resume() local [all...] |
/linux/drivers/usb/chipidea/ |
H A D | otg_fsm.c | 11 * This file mainly handles OTG fsm, it includes OTG fsm operations 40 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_req); in a_bus_req_show() 56 mutex_lock(&ci->fsm.lock); in a_bus_req_store() 58 ci->fsm.a_bus_req = 0; in a_bus_req_store() 61 if (ci->fsm.a_bus_drop) { in a_bus_req_store() 62 mutex_unlock(&ci->fsm.lock); in a_bus_req_store() 65 ci->fsm.a_bus_req = 1; in a_bus_req_store() 66 if (ci->fsm.otg->state == OTG_STATE_A_PERIPHERAL) { in a_bus_req_store() 68 mutex_unlock(&ci->fsm in a_bus_req_store() 435 ci_otg_fsm_add_timer(struct otg_fsm * fsm,enum otg_fsm_timer t) ci_otg_fsm_add_timer() argument 444 ci_otg_fsm_del_timer(struct otg_fsm * fsm,enum otg_fsm_timer t) ci_otg_fsm_del_timer() argument 457 ci_otg_drv_vbus(struct otg_fsm * fsm,int on) ci_otg_drv_vbus() argument 499 ci_otg_loc_conn(struct otg_fsm * fsm,int on) ci_otg_loc_conn() argument 518 ci_otg_loc_sof(struct otg_fsm * fsm,int on) ci_otg_loc_sof() argument 541 ci_otg_start_pulse(struct otg_fsm * fsm) ci_otg_start_pulse() argument 552 ci_otg_start_host(struct otg_fsm * fsm,int on) ci_otg_start_host() argument 566 ci_otg_start_gadget(struct otg_fsm * fsm,int on) ci_otg_start_gadget() argument 648 struct otg_fsm *fsm = &ci->fsm; ci_otg_fsm_event() local 744 struct otg_fsm *fsm = &ci->fsm; ci_otg_fsm_irq() local [all...] |
H A D | debug.c | 13 #include <linux/usb/otg-fsm.h> 190 struct otg_fsm *fsm; in ci_otg_show() local 195 fsm = &ci->fsm; in ci_otg_show() 202 seq_printf(s, "a_bus_drop: %d\n", fsm->a_bus_drop); in ci_otg_show() 204 seq_printf(s, "a_bus_req: %d\n", fsm->a_bus_req); in ci_otg_show() 206 seq_printf(s, "a_srp_det: %d\n", fsm->a_srp_det); in ci_otg_show() 208 seq_printf(s, "a_vbus_vld: %d\n", fsm->a_vbus_vld); in ci_otg_show() 210 seq_printf(s, "b_conn: %d\n", fsm->b_conn); in ci_otg_show() 212 seq_printf(s, "adp_change: %d\n", fsm in ci_otg_show() [all...] |
/linux/drivers/usb/phy/ |
H A D | phy-fsl-usb.c | 118 void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on) in fsl_otg_chrg_vbus() argument 154 void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on) in fsl_otg_drv_vbus() argument 172 void fsl_otg_loc_conn(struct otg_fsm *fsm, int on) in fsl_otg_loc_conn() argument 191 void fsl_otg_loc_sof(struct otg_fsm *fsm, int on) in fsl_otg_loc_sof() argument 206 void fsl_otg_start_pulse(struct otg_fsm *fsm) in fsl_otg_start_pulse() argument 219 fsl_otg_add_timer(fsm, b_data_pulse_tmr); in fsl_otg_start_pulse() 236 fsl_otg_chrg_vbus(&fsl_otg_dev->fsm, 1); in fsl_otg_pulse_vbus() 238 fsl_otg_add_timer(&fsl_otg_dev->fsm, b_vbus_pulse_tmr); in fsl_otg_pulse_vbus() 243 fsl_otg_chrg_vbus(&fsl_otg_dev->fsm, 0); in b_vbus_pulse_end() 251 fsl_otg_add_timer(&fsl_otg_dev->fsm, b_srp_wait_tm in b_vbus_pulse_end() 285 fsl_otg_init_timers(struct otg_fsm * fsm) fsl_otg_init_timers() argument 394 fsl_otg_add_timer(struct otg_fsm * fsm,void * gtimer) fsl_otg_add_timer() argument 412 fsl_otg_fsm_add_timer(struct otg_fsm * fsm,enum otg_fsm_timer t) fsl_otg_fsm_add_timer() argument 424 fsl_otg_del_timer(struct otg_fsm * fsm,void * gtimer) fsl_otg_del_timer() argument 434 fsl_otg_fsm_del_timer(struct otg_fsm * fsm,enum otg_fsm_timer t) fsl_otg_fsm_del_timer() argument 458 fsl_otg_start_host(struct otg_fsm * fsm,int on) fsl_otg_start_host() argument 525 fsl_otg_start_gadget(struct otg_fsm * fsm,int on) fsl_otg_start_gadget() argument 585 struct otg_fsm *fsm = &otg_dev->fsm; fsl_otg_set_host() local 653 struct otg_fsm *fsm = &og->fsm; fsl_otg_event() local 709 struct otg_fsm *fsm = &((struct fsl_otg *)dev_id)->fsm; fsl_otg_isr() local 837 struct otg_fsm *fsm; usb_otg_start() local [all...] |
H A D | phy-fsl-usb.h | 4 #include <linux/usb/otg-fsm.h> 359 struct otg_fsm fsm; member 376 void fsl_otg_add_timer(struct otg_fsm *fsm, void *timer); 377 void fsl_otg_del_timer(struct otg_fsm *fsm, void *timer);
|
/linux/drivers/isdn/mISDN/ |
H A D | fsm.c | 16 #include "fsm.h" 21 mISDN_FsmNew(struct Fsm *fsm, in mISDN_FsmNew() argument 26 fsm->jumpmatrix = in mISDN_FsmNew() 27 kzalloc(array3_size(sizeof(FSMFNPTR), fsm->state_count, in mISDN_FsmNew() 28 fsm->event_count), in mISDN_FsmNew() 30 if (fsm->jumpmatrix == NULL) in mISDN_FsmNew() 34 if ((fnlist[i].state >= fsm->state_count) || in mISDN_FsmNew() 35 (fnlist[i].event >= fsm->event_count)) { in mISDN_FsmNew() 38 i, (long)fnlist[i].state, (long)fsm->state_count, in mISDN_FsmNew() 39 (long)fnlist[i].event, (long)fsm in mISDN_FsmNew() 48 mISDN_FsmFree(struct Fsm * fsm) mISDN_FsmFree() argument [all...] |
H A D | fsm.h | 29 struct Fsm *fsm; member
|
/linux/drivers/s390/net/ |
H A D | ctcm_main.c | 192 fsm_newstate(ch->fsm, CTC_STATE_IDLE); in channel_free() 219 kfree_fsm(ch->fsm); in channel_remove() 271 fsm_newstate(ch->fsm, CTC_STATE_STOPPED); in channel_get() 323 fsm_event(ch->fsm, CTC_EVENT_UC_RCRESET, ch); in ccw_unit_check() 331 fsm_event(ch->fsm, CTC_EVENT_UC_RSRESET, ch); in ccw_unit_check() 341 fsm_event(ch->fsm, CTC_EVENT_UC_HWFAIL, ch); in ccw_unit_check() 349 fsm_event(ch->fsm, CTC_EVENT_UC_RXPARITY, ch); in ccw_unit_check() 359 fsm_event(ch->fsm, CTC_EVENT_UC_TXTIMEOUT, ch); in ccw_unit_check() 361 fsm_event(ch->fsm, CTC_EVENT_UC_TXPARITY, ch); in ccw_unit_check() 373 fsm_event(ch->fsm, CTC_EVENT_UC_ZER in ccw_unit_check() [all...] |
H A D | ctcm_fsms.c | 45 #include "fsm.h" 180 static void ctcmpc_chx_attn(fsm_instance *fsm, int event, void *arg); 183 static void ctcmpc_chx_send_sweep(fsm_instance *fsm, int event, void *arg); 200 fsm_event(ch->fsm, CTC_EVENT_IO_EBUSY, ch); in ctcm_ccw_check_rc() 205 fsm_event(ch->fsm, CTC_EVENT_IO_ENODEV, ch); in ctcm_ccw_check_rc() 210 fsm_event(ch->fsm, CTC_EVENT_IO_UNKNOWN, ch); in ctcm_ccw_check_rc() 344 fsm_event(priv->fsm, DEV_EVENT_TXUP, ch->netdev); in ctcm_chx_txidle() 461 fsm_event(priv->fsm, DEV_EVENT_TXUP, dev); in chx_firstio() 496 fsm_event(priv->fsm, DEV_EVENT_RXUP, dev); in chx_firstio() 532 fsm_event(priv->fsm, DEV_EVENT_RXU in chx_rxidle() 1582 ctcmpc_chx_attn(fsm_instance * fsm,int event,void * arg) ctcmpc_chx_attn() argument 1641 ctcmpc_chx_attnbusy(fsm_instance * fsm,int event,void * arg) ctcmpc_chx_attnbusy() argument 1727 ctcmpc_chx_resend(fsm_instance * fsm,int event,void * arg) ctcmpc_chx_resend() argument 1743 ctcmpc_chx_send_sweep(fsm_instance * fsm,int event,void * arg) ctcmpc_chx_send_sweep() argument [all...] |
H A D | ctcm_sysfs.c | 90 fsm_getstate_str(priv->fsm)); in ctcm_print_statistics() 92 fsm_getstate_str(priv->channel[CTCM_READ]->fsm)); in ctcm_print_statistics() 94 fsm_getstate_str(priv->channel[CTCM_WRITE]->fsm)); in ctcm_print_statistics()
|
H A D | fsm.h | 49 } fsm; typedef 65 fsm *f; 151 printk(KERN_ERR "fsm(%s): Invalid state st(%ld/%ld) ev(%d/%ld)\n", in fsm_event() 162 printk(KERN_DEBUG "fsm(%s): state %s event %s\n", in fsm_event() 173 printk(KERN_DEBUG "fsm(%s): no function for event %s in state %s\n", in fsm_event() 199 printk(KERN_DEBUG "fsm(%s): New state %s\n", fi->name, in fsm_newstate()
|
H A D | ctcm_main.h | 17 #include "fsm.h" 195 fsm_instance *fsm; /* finite state machine of this channel */ member 212 fsm_instance *fsm; member
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_cs.h | 60 typedef void (*bfa_fsm_t)(void *fsm, int event); 68 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 69 static void oc ## _sm_ ## st ## _entry(otype * fsm) 72 (_fsm)->fsm = (_state); \ 76 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) 77 #define bfa_fsm_cmp_state(_fsm, _state) ((_fsm)->fsm == (_state))
|
H A D | bna_types.h | 318 void (*fsm)(struct bna_ioceth *s, enum bna_ioceth_event e); member 342 void (*fsm)(struct bna_enet *s, enum bna_enet_event e); member 370 void (*fsm)(struct bna_ethport *s, enum bna_ethport_event e); member 472 void (*fsm)(struct bna_tx *s, enum bna_tx_event e); member 714 void (*fsm)(struct bna_rxf *s, enum bna_rxf_event e); member 793 void (*fsm)(struct bna_rx *s, enum bna_rx_event e); member
|
H A D | bfa_msgq.h | 61 void (*fsm)(struct bfa_msgq_cmdq *s, enum cmdq_event e); member 89 void (*fsm)(struct bfa_msgq_rspq *s, enum rspq_event e); member
|
/linux/lib/ |
H A D | ts_fsm.c | 136 struct ts_fsm *fsm = ts_config_priv(conf); in fsm_find() local 160 strict = fsm->tokens[0].recur != TS_FSM_HEAD_IGNORE; in fsm_find() 165 for (tok_idx = 0; tok_idx < fsm->ntokens; tok_idx++) { in fsm_find() 166 cur = &fsm->tokens[tok_idx]; in fsm_find() 168 if (likely(tok_idx < (fsm->ntokens - 1))) in fsm_find() 169 next = &fsm->tokens[tok_idx + 1]; in fsm_find() 260 struct ts_fsm *fsm; in fsm_init() local 263 size_t priv_size = sizeof(*fsm) + len; in fsm_init() 287 fsm = ts_config_priv(conf); in fsm_init() 288 fsm in fsm_init() 304 struct ts_fsm *fsm = ts_config_priv(conf); fsm_get_pattern() local 310 struct ts_fsm *fsm = ts_config_priv(conf); fsm_get_pattern_len() local [all...] |
/linux/drivers/leds/ |
H A D | leds-cht-wcove.c | 54 u16 fsm; member 64 unsigned int fsm; member 85 .fsm = CHT_WC_LED1_FSM, 93 .fsm = CHT_WC_LED2_FSM, 123 ret = regmap_update_bits(led->regmap, led->regs->fsm, in cht_wc_leds_brightness_set() 237 ret = regmap_update_bits(led->regmap, led->regs->fsm, in cht_wc_leds_set_effect() 248 ret = regmap_update_bits(led->regmap, led->regs->fsm, in cht_wc_leds_set_effect() 322 ret = regmap_read(led->regmap, led->regs->fsm, &saved_regs->fsm); in cht_wc_led_save_regs() 333 regmap_write(led->regmap, led->regs->fsm, saved_reg in cht_wc_led_restore_regs() [all...] |
/linux/Documentation/devicetree/bindings/mtd/ |
H A D | st-fsm.txt | 4 - compatible : Should be "st,spi-fsm" 6 - reg-names : Should contain the reg names "spi-fsm" 17 compatible = "st,spi-fsm"; 19 reg-names = "spi-fsm";
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 188 static void oc ## _sm_ ## st(otype * fsm, etype event) 208 typedef void (*bfa_fsm_t)(void *fsm, int event); 217 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 218 static void oc ## _sm_ ## st ## _entry(otype * fsm) 221 (_fsm)->fsm = (_state); \ 225 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) 226 #define bfa_fsm_get_state(_fsm) ((_fsm)->fsm) 227 #define bfa_fsm_cmp_state(_fsm, _state) ((_fsm)->fsm == (_state))
|
H A D | bfa_fcs.h | 66 typedef void (*bfa_fcs_lport_ns_sm_t)(struct bfa_fcs_lport_ns_s *fsm, enum vport_ns_event); 91 typedef void (*bfa_fcs_lport_scn_sm_t)(struct bfa_fcs_lport_scn_s *fsm, enum port_scn_event); 117 typedef void (*bfa_fcs_lport_fdmi_sm_t)(struct bfa_fcs_lport_fdmi_s *fsm, enum port_fdmi_event); 142 typedef void (*bfa_fcs_lport_ms_sm_t)(struct bfa_fcs_lport_ms_s *fsm, enum port_ms_event); 199 typedef void (*bfa_fcs_lport_sm_t)(struct bfa_fcs_lport_s *fsm, enum bfa_fcs_lport_event); 266 typedef void (*bfa_fcs_fabric_sm_t)(struct bfa_fcs_fabric_s *fsm, enum bfa_fcs_fabric_event); 456 typedef void (*bfa_fcs_vport_sm_t)(struct bfa_fcs_vport_s *fsm, enum bfa_fcs_vport_event);
|
/linux/fs/ext4/ |
H A D | fsmap.c | 345 struct ext4_fsmap *fsm; in ext4_getfsmap_fill() local 347 fsm = kmalloc(sizeof(*fsm), GFP_NOFS); in ext4_getfsmap_fill() 348 if (!fsm) in ext4_getfsmap_fill() 350 fsm->fmr_device = 0; in ext4_getfsmap_fill() 351 fsm->fmr_flags = 0; in ext4_getfsmap_fill() 352 fsm->fmr_physical = fsb; in ext4_getfsmap_fill() 353 fsm->fmr_owner = owner; in ext4_getfsmap_fill() 354 fsm->fmr_length = len; in ext4_getfsmap_fill() 355 list_add_tail(&fsm->fmr_list, meta_list); in ext4_getfsmap_fill()
|
/linux/drivers/mmc/host/ |
H A D | bcm2835.c | 296 u32 edm, fsm; in bcm2835_wait_transfer_complete() local 299 fsm = edm & SDEDM_FSM_MASK; in bcm2835_wait_transfer_complete() 301 if ((fsm == SDEDM_FSM_IDENTMODE) || in bcm2835_wait_transfer_complete() 302 (fsm == SDEDM_FSM_DATAMODE)) in bcm2835_wait_transfer_complete() 304 if (fsm == alternate_idle) { in bcm2835_wait_transfer_complete() 387 dev_err(dev, "fsm %x, hsts %08x\n", in bcm2835_transfer_block_pio() 762 u32 edm, fsm; in bcm2835_finish_command() local 773 fsm = edm & SDEDM_FSM_MASK; in bcm2835_finish_command() 774 if (fsm == SDEDM_FSM_READWAIT || in bcm2835_finish_command() 775 fsm in bcm2835_finish_command() 1158 u32 edm, fsm; bcm2835_request() local [all...] |