/drivers/scsi/ |
D | mesh.c | 185 static void mesh_done(struct mesh_state *ms, int start_next); 186 static void mesh_interrupt(struct mesh_state *ms); 187 static void cmd_complete(struct mesh_state *ms); 188 static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd); 189 static void halt_dma(struct mesh_state *ms); 190 static void phase_mismatch(struct mesh_state *ms); 212 static void dlog(struct mesh_state *ms, char *fmt, int a) in dlog() argument 214 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in dlog() 218 slp = &ms->log[ms->log_ix]; in dlog() 221 tlp->phase = (ms->msgphase << 4) + ms->phase; in dlog() [all …]
|
/drivers/spi/ |
D | spi-mpc52xx.c | 84 int (*state)(int irq, struct mpc52xx_spi *ms, u8 status, u8 data); 97 static void mpc52xx_spi_chipsel(struct mpc52xx_spi *ms, int value) in mpc52xx_spi_chipsel() argument 101 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_chipsel() 102 cs = ms->message->spi->chip_select; in mpc52xx_spi_chipsel() 103 gpio_set_value(ms->gpio_cs[cs], value ? 0 : 1); in mpc52xx_spi_chipsel() 105 out_8(ms->regs + SPI_PORTDATA, value ? 0 : 0x08); in mpc52xx_spi_chipsel() 113 static void mpc52xx_spi_start_transfer(struct mpc52xx_spi *ms) in mpc52xx_spi_start_transfer() argument 115 ms->rx_buf = ms->transfer->rx_buf; in mpc52xx_spi_start_transfer() 116 ms->tx_buf = ms->transfer->tx_buf; in mpc52xx_spi_start_transfer() 117 ms->len = ms->transfer->len; in mpc52xx_spi_start_transfer() [all …]
|
/drivers/md/ |
D | dm-raid1.c | 42 struct mirror_set *ms; member 90 struct mirror_set *ms = context; in wakeup_mirrord() local 92 queue_work(ms->kmirrord_wq, &ms->kmirrord_work); in wakeup_mirrord() 97 struct mirror_set *ms = (struct mirror_set *) data; in delayed_wake_fn() local 99 clear_bit(0, &ms->timer_pending); in delayed_wake_fn() 100 wakeup_mirrord(ms); in delayed_wake_fn() 103 static void delayed_wake(struct mirror_set *ms) in delayed_wake() argument 105 if (test_and_set_bit(0, &ms->timer_pending)) in delayed_wake() 108 ms->timer.expires = jiffies + HZ / 5; in delayed_wake() 109 ms->timer.data = (unsigned long) ms; in delayed_wake() [all …]
|
/drivers/scsi/bfa/ |
D | bfa_fcs_lport.c | 1453 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_offline() 1493 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_sending_rhba() 1518 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rhba() 1567 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rhba_retry() 1598 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_sending_rprt() 1623 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rprt() 1670 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rprt_retry() 1701 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_sending_rpa() 1726 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rpa() 1771 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rpa_retry() [all …]
|
D | bfa_fcs.h | 92 struct bfa_fcs_lport_ms_s *ms; /* parent ms */ member 115 struct bfa_fcs_lport_ms_s ms; /* MS component of port */ member 164 #define BFA_FCS_GET_MS_FROM_PORT(port) (&port->port_topo.pfab.ms) 165 #define BFA_FCS_GET_FDMI_FROM_PORT(port) (&port->port_topo.pfab.ms.fdmi) 319 void bfa_fcs_lport_fdmi_init(struct bfa_fcs_lport_ms_s *ms); 320 void bfa_fcs_lport_fdmi_offline(struct bfa_fcs_lport_ms_s *ms); 321 void bfa_fcs_lport_fdmi_online(struct bfa_fcs_lport_ms_s *ms);
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 1250 struct qlcnic_ms_reg_ctrl *ms) in qlcnic_set_ms_controls() argument 1252 ms->control = QLCNIC_MS_CTRL; in qlcnic_set_ms_controls() 1253 ms->low = QLCNIC_MS_ADDR_LO; in qlcnic_set_ms_controls() 1254 ms->hi = QLCNIC_MS_ADDR_HI; in qlcnic_set_ms_controls() 1256 ms->wd[0] = QLCNIC_MS_WRTDATA_LO; in qlcnic_set_ms_controls() 1257 ms->rd[0] = QLCNIC_MS_RDDATA_LO; in qlcnic_set_ms_controls() 1258 ms->wd[1] = QLCNIC_MS_WRTDATA_HI; in qlcnic_set_ms_controls() 1259 ms->rd[1] = QLCNIC_MS_RDDATA_HI; in qlcnic_set_ms_controls() 1260 ms->wd[2] = QLCNIC_MS_WRTDATA_ULO; in qlcnic_set_ms_controls() 1261 ms->wd[3] = QLCNIC_MS_WRTDATA_UHI; in qlcnic_set_ms_controls() [all …]
|
/drivers/mmc/core/ |
D | core.h | 51 static inline void mmc_delay(unsigned int ms) in mmc_delay() argument 53 if (ms < 1000 / HZ) { in mmc_delay() 55 mdelay(ms); in mmc_delay() 57 msleep(ms); in mmc_delay()
|
/drivers/scsi/aic94xx/ |
D | aic94xx_sds.c | 683 static int asd_validate_ms(struct asd_manuf_sec *ms) in asd_validate_ms() argument 685 if (ms->sig[0] != 'S' || ms->sig[1] != 'M') { in asd_validate_ms() 687 ms->sig[0], ms->sig[1]); in asd_validate_ms() 690 if (ms->maj != 0) { in asd_validate_ms() 692 ms->maj); in asd_validate_ms() 695 ms->offs_next = le16_to_cpu((__force __le16) ms->offs_next); in asd_validate_ms() 696 ms->chksum = le16_to_cpu((__force __le16) ms->chksum); in asd_validate_ms() 697 ms->size = le16_to_cpu((__force __le16) ms->size); in asd_validate_ms() 699 if (asd_calc_flash_chksum((u16 *)ms, ms->size/2)) { in asd_validate_ms() 707 struct asd_manuf_sec *ms) in asd_ms_get_sas_addr() argument [all …]
|
/drivers/md/bcache/ |
D | sysfs.c | 45 sysfs_time_stats_attribute(btree_gc, sec, ms); 47 sysfs_time_stats_attribute(btree_sort, ms, us); 48 sysfs_time_stats_attribute(btree_read, ms, us); 49 sysfs_time_stats_attribute(try_harder, ms, us); 450 sysfs_print_time_stats(&c->btree_gc_time, btree_gc, sec, ms); in SHOW() 452 sysfs_print_time_stats(&c->sort_time, btree_sort, ms, us); in SHOW() 453 sysfs_print_time_stats(&c->btree_read_time, btree_read, ms, us); in SHOW() 454 sysfs_print_time_stats(&c->try_harder_time, try_harder, ms, us); in SHOW() 610 sysfs_time_stats_attribute_list(btree_gc, sec, ms) 612 sysfs_time_stats_attribute_list(btree_sort, ms, us) [all …]
|
D | io.c | 377 int ms = us / 1024; in bch_bbio_count_io_errors() local 380 ms = min(ms, CONGESTED_MAX + congested); in bch_bbio_count_io_errors() 381 atomic_sub(ms, &c->congested); in bch_bbio_count_io_errors()
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
D | brcms_trace_events.h | 58 __field(uint, ms) 63 __entry->ms = t->ms; 69 __entry->ms, __entry->set, __entry->periodic
|
D | mac80211_if.h | 41 uint ms; member 107 extern void brcms_add_timer(struct brcms_timer *timer, uint ms, int periodic);
|
/drivers/staging/csr/ |
D | csr_wifi_fsm.h | 199 extern void CsrWifiFsmFastForward(CsrWifiFsmContext *context, u16 ms); 214 extern void CsrWifiFsmTestAdvanceTime(CsrWifiFsmContext *context, u32 ms);
|
/drivers/net/wimax/i2400m/ |
D | control.c | 388 const struct i2400m_tlv_media_status *ms) in i2400m_report_tlv_media_status() argument 393 enum i2400m_media_status status = le32_to_cpu(ms->media_status); in i2400m_report_tlv_media_status() 395 d_fnstart(3, dev, "(i2400m %p ms %p [%u])\n", i2400m, ms, status); in i2400m_report_tlv_media_status() 417 i2400m, ms, status); in i2400m_report_tlv_media_status() 437 const struct i2400m_tlv_media_status *ms; in i2400m_report_state_parse_tlv() local 458 if (0 == i2400m_tlv_match(tlv, I2400M_TLV_MEDIA_STATUS, sizeof(*ms))) { in i2400m_report_state_parse_tlv() 459 ms = container_of(tlv, typeof(*ms), hdr); in i2400m_report_state_parse_tlv() 461 tag, le32_to_cpu(ms->media_status)); in i2400m_report_state_parse_tlv() 462 i2400m_report_tlv_media_status(i2400m, ms); in i2400m_report_state_parse_tlv()
|
/drivers/staging/keucr/ |
D | scsiglue.c | 312 unsigned short ms; in store_max_sectors() local 315 if (sscanf(buf, "%hu", &ms) > 0 && ms <= SCSI_DEFAULT_MAX_SECTORS) { in store_max_sectors() 316 blk_queue_max_hw_sectors(sdev->request_queue, ms); in store_max_sectors()
|
/drivers/video/aty/ |
D | radeonfb.h | 380 static inline void _radeon_msleep(struct radeonfb_info *rinfo, unsigned long ms) in _radeon_msleep() argument 383 mdelay(ms); in _radeon_msleep() 385 msleep(ms); in _radeon_msleep() 591 #define radeon_msleep(ms) _radeon_msleep(rinfo,ms) argument
|
/drivers/input/serio/ |
D | i8042-sparcio.h | 70 struct platform_device *ms = of_find_device_by_node(dp); in sparc_i8042_probe() local 71 unsigned int irq = ms->archdata.irqs[0]; in sparc_i8042_probe()
|
/drivers/ssb/ |
D | ssb_private.h | 229 extern u32 ssb_chipco_watchdog_timer_set_ms(struct bcm47xx_wdt *wdt, u32 ms); 248 extern u32 ssb_extif_watchdog_timer_set_ms(struct bcm47xx_wdt *wdt, u32 ms); 256 u32 ms) in ssb_extif_watchdog_timer_set_ms() argument
|
/drivers/mtd/tests/ |
D | mtd_torturetest.c | 374 long ms; in tort_init() local 377 ms = (finish.tv_sec - start.tv_sec) * 1000 + in tort_init() 381 erase_cycles, ms, ms / 1000); in tort_init()
|
D | mtd_speedtest.c | 300 long ms; in calc_speed() local 302 ms = (finish.tv_sec - start.tv_sec) * 1000 + in calc_speed() 304 if (ms == 0) in calc_speed() 307 do_div(k, ms); in calc_speed()
|
/drivers/staging/rtl8712/ |
D | osdep_service.h | 158 static inline void sleep_schedulable(int ms) in sleep_schedulable() argument 162 delta = (ms * HZ) / 1000;/*(ms)*/ in sleep_schedulable()
|
/drivers/media/platform/ |
D | vivi.c | 243 unsigned ms; member 610 unsigned ms; in vivi_fillbuff() local 629 dev->ms += jiffies_to_msecs(jiffies - dev->jiffies); in vivi_fillbuff() 631 ms = dev->ms; in vivi_fillbuff() 633 (ms / (60 * 60 * 1000)) % 24, in vivi_fillbuff() 634 (ms / (60 * 1000)) % 60, in vivi_fillbuff() 635 (ms / 1000) % 60, in vivi_fillbuff() 636 ms % 1000); in vivi_fillbuff() 765 dev->ms = 0; in vivi_start_generating()
|
/drivers/clocksource/ |
D | tegra20_timer.c | 114 u32 ms = readl(rtc_base + RTC_MILLISECONDS); in tegra_rtc_read_ms() local 116 return (u64)s * MSEC_PER_SEC + ms; in tegra_rtc_read_ms()
|
/drivers/usb/storage/ |
D | scsiglue.c | 511 unsigned short ms; in store_max_sectors() local 513 if (sscanf(buf, "%hu", &ms) > 0) { in store_max_sectors() 514 blk_queue_max_hw_sectors(sdev->request_queue, ms); in store_max_sectors()
|
/drivers/leds/ |
D | leds-asic3.c | 29 #define MS_TO_CLK(ms) DIV_ROUND_CLOSEST(((ms)*1024), 32000) argument
|