/drivers/ide/ |
H A D | ide-ioctls.c | 23 const struct ide_devset *ds; local 26 for (; (ds = s->setting); s++) { 27 if (ds->get && s->get_ioctl == cmd) 29 else if (ds->set && s->set_ioctl == cmd) 37 err = ds->get(drive); 49 err = ide_devset_execute(drive, ds, arg);
|
H A D | ide-proc.c | 195 const struct ide_devset *ds = setting->setting; local 198 if (ds->get) 199 val = ds->get(drive); 225 const struct ide_devset *ds = setting->setting; local 229 if (!ds->set) 231 if ((ds->flags & DS_SYNC) 234 return ide_devset_execute(drive, ds, val); 284 const struct ide_devset *ds; local 315 ds = setting->setting; 316 if (ds [all...] |
/drivers/net/dsa/ |
H A D | mv88e6123_61_65.c | 49 static int mv88e6123_61_65_switch_reset(struct dsa_switch *ds) argument 88 static int mv88e6123_61_65_setup_global(struct dsa_switch *ds) argument 110 ret = mv88e6xxx_config_prio(ds); 119 REG_WRITE(REG_GLOBAL, 0x1a, (dsa_upstream_port(ds) * 0x1110)); 125 REG_WRITE(REG_GLOBAL, 0x1c, ds->index & 0x1f); 156 if (i != ds->index && i < ds->dst->pd->nr_chips) 157 nexthop = ds->pd->rtable[i] & 0x1f; 197 static int mv88e6123_61_65_setup_port(struct dsa_switch *ds, int p) argument 208 if (dsa_is_cpu_port(ds, 333 mv88e6123_61_65_setup(struct dsa_switch *ds) argument 369 mv88e6123_61_65_phy_read(struct dsa_switch *ds, int port, int regnum) argument 376 mv88e6123_61_65_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val) argument 417 mv88e6123_61_65_get_strings(struct dsa_switch *ds, int port, uint8_t *data) argument 424 mv88e6123_61_65_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) argument 431 mv88e6123_61_65_get_sset_count(struct dsa_switch *ds) argument [all...] |
H A D | mv88e6060.c | 20 static int reg_read(struct dsa_switch *ds, int addr, int reg) argument 22 return mdiobus_read(ds->master_mii_bus, ds->pd->sw_addr + addr, reg); 29 __ret = reg_read(ds, addr, reg); \ 36 static int reg_write(struct dsa_switch *ds, int addr, int reg, u16 val) argument 38 return mdiobus_write(ds->master_mii_bus, ds->pd->sw_addr + addr, 46 __ret = reg_write(ds, addr, reg, val); \ 65 static int mv88e6060_switch_reset(struct dsa_switch *ds) argument 104 static int mv88e6060_setup_global(struct dsa_switch *ds) argument 123 mv88e6060_setup_port(struct dsa_switch *ds, int p) argument 158 mv88e6060_setup(struct dsa_switch *ds) argument 182 mv88e6060_set_addr(struct dsa_switch *ds, u8 *addr) argument 198 mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum) argument 210 mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val) argument 221 mv88e6060_poll_link(struct dsa_switch *ds) argument [all...] |
H A D | mv88e6131.c | 43 static int mv88e6131_switch_reset(struct dsa_switch *ds) argument 82 static int mv88e6131_setup_global(struct dsa_switch *ds) argument 105 ret = mv88e6xxx_config_prio(ds); 119 REG_WRITE(REG_GLOBAL, 0x1a, (dsa_upstream_port(ds) * 0x1100) | 0x00f0); 126 if (ds->dst->pd->nr_chips > 1) 127 REG_WRITE(REG_GLOBAL, 0x1c, 0xf000 | (ds->index & 0x1f)); 129 REG_WRITE(REG_GLOBAL, 0x1c, 0xe000 | (ds->index & 0x1f)); 152 if (i != ds->index && i < ds->dst->pd->nr_chips) 153 nexthop = ds 179 mv88e6131_setup_port(struct dsa_switch *ds, int p) argument 313 mv88e6131_setup(struct dsa_switch *ds) argument 352 mv88e6131_phy_read(struct dsa_switch *ds, int port, int regnum) argument 359 mv88e6131_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val) argument 400 mv88e6131_get_strings(struct dsa_switch *ds, int port, uint8_t *data) argument 407 mv88e6131_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) argument 414 mv88e6131_get_sset_count(struct dsa_switch *ds) argument [all...] |
H A D | mv88e6xxx.c | 82 int mv88e6xxx_reg_read(struct dsa_switch *ds, int addr, int reg) argument 84 struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); 88 ret = __mv88e6xxx_reg_read(ds->master_mii_bus, 89 ds->pd->sw_addr, addr, reg); 134 int mv88e6xxx_reg_write(struct dsa_switch *ds, int addr, int reg, u16 val) argument 136 struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); 140 ret = __mv88e6xxx_reg_write(ds->master_mii_bus, 141 ds->pd->sw_addr, addr, reg, val); 147 int mv88e6xxx_config_prio(struct dsa_switch *ds) argument 169 int mv88e6xxx_set_addr_direct(struct dsa_switch *ds, u argument 178 mv88e6xxx_set_addr_indirect(struct dsa_switch *ds, u8 *addr) argument 206 mv88e6xxx_phy_read(struct dsa_switch *ds, int addr, int regnum) argument 213 mv88e6xxx_phy_write(struct dsa_switch *ds, int addr, int regnum, u16 val) argument 221 mv88e6xxx_ppu_disable(struct dsa_switch *ds) argument 239 mv88e6xxx_ppu_enable(struct dsa_switch *ds) argument 263 struct dsa_switch *ds = ((struct dsa_switch *)ps) - 1; local 278 mv88e6xxx_ppu_access_get(struct dsa_switch *ds) argument 306 mv88e6xxx_ppu_access_put(struct dsa_switch *ds) argument 317 mv88e6xxx_ppu_state_init(struct dsa_switch *ds) argument 328 mv88e6xxx_phy_read_ppu(struct dsa_switch *ds, int addr, int regnum) argument 341 mv88e6xxx_phy_write_ppu(struct dsa_switch *ds, int addr, int regnum, u16 val) argument 356 mv88e6xxx_poll_link(struct dsa_switch *ds) argument 416 mv88e6xxx_stats_wait(struct dsa_switch *ds) argument 430 mv88e6xxx_stats_snapshot(struct dsa_switch *ds, int port) argument 449 mv88e6xxx_stats_read(struct dsa_switch *ds, int stat, u32 *val) argument 477 mv88e6xxx_get_strings(struct dsa_switch *ds, int nr_stats, struct mv88e6xxx_hw_stat *stats, int port, uint8_t *data) argument 489 mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int nr_stats, struct mv88e6xxx_hw_stat *stats, int port, uint64_t *data) argument [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_mac.c | 27 static void ar9002_hw_set_desc_link(void *ds, u32 ds_link) argument 29 ((struct ath_desc*) ds)->ds_link = ds_link; 175 ar9002_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) argument 177 struct ar5416_desc *ads = AR5416DESC(ds); 274 static int ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds, argument 277 struct ar5416_desc *ads = AR5416DESC(ds); 346 void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds, argument 349 struct ar5416_desc *ads = AR5416DESC(ds);
|
H A D | ar9003_mac.c | 27 ar9003_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) argument 29 struct ar9003_txc *ads = ds; 169 static void ar9003_hw_set_desc_link(void *ds, u32 ds_link) argument 171 struct ar9003_txc *ads = ds; 326 static int ar9003_hw_proc_txdesc(struct ath_hw *ah, void *ds, argument
|
H A D | hw-ops.h | 38 static inline void ath9k_hw_set_desc_link(struct ath_hw *ah, void *ds, argument 41 ath9k_hw_ops(ah)->set_desc_link(ds, link); 57 static inline void ath9k_hw_set_txdesc(struct ath_hw *ah, void *ds, argument 60 return ath9k_hw_ops(ah)->set_txdesc(ah, ds, i); 63 static inline int ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds, argument 66 return ath9k_hw_ops(ah)->proc_txdesc(ah, ds, ts);
|
H A D | init.c | 327 u8 *ds; local 376 ds = (u8 *) dd->dd_desc; 378 name, ds, (u32) dd->dd_desc_len, 390 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { 391 bf->bf_desc = ds; 392 bf->bf_daddr = DS2PHYS(dd, ds); 406 ds += (desc_len * ndesc); 407 bf->bf_desc = ds; 408 bf->bf_daddr = DS2PHYS(dd, ds);
|
H A D | mac.c | 528 int ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds, argument 532 struct ar5416_desc *adsp = AR5416DESC(ds);
|
H A D | recv.c | 78 struct ath_desc *ds; local 83 ds = bf->bf_desc; 84 ds->ds_link = 0; /* link to null */ 85 ds->ds_data = bf->bf_buf_addr; 90 ds->ds_vdata = skb->data; 97 ath9k_hw_setuprxdesc(ah, ds, 106 sc->rx.rxlink = &ds->ds_link; 727 struct ath_desc *ds; local 737 ds = bf->bf_desc; 750 ret = ath9k_hw_rxprocdesc(ah, ds, r [all...] |
/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 239 int ds; local 243 ds = crypto_ahash_digestsize( 245 sa->sa_command_0.bf.digest_len = ds >> 2;
|
/drivers/input/misc/ |
H A D | gpio_input.c | 37 struct gpio_input_state *ds; member in struct:gpio_key_state 56 struct gpio_input_state *ds = local 58 unsigned gpio_flags = ds->info->flags; 60 int nkeys = ds->info->keymap_size; 74 key_entry = ds->info->keymap; 75 key_state = ds->key_state; 77 spin_lock_irqsave(&ds->irq_lock, irqflags); 88 ds->info->type, key_entry->code, 95 ds->debounce_count++; 100 ds 166 struct gpio_input_state *ds = ks->ds; local 212 gpio_event_input_request_irqs(struct gpio_input_state *ds) argument 264 struct gpio_input_state *ds = *data; local [all...] |
/drivers/infiniband/hw/mthca/ |
H A D | mthca_srq.c | 203 int ds; local 220 ds = max(64UL, 224 if (!mthca_is_memfree(dev) && (ds > dev->limits.max_desc_sz)) 227 srq->wqe_shift = ilog2(ds);
|
/drivers/isdn/divert/ |
H A D | isdn_divert.c | 277 { struct deflect_struc *ds, *ds1 = NULL; local 280 if (!(ds = kmalloc(sizeof(struct deflect_struc), 284 ds->rule = *newrule; /* set rule */ 298 { ds->prev = table_tail; /* previous entry */ 299 ds->next = NULL; /* end of chain */ 300 if (ds->prev) 301 ds->prev->next = ds; /* last forward */ 303 table_head = ds; /* is first entry */ 304 table_tail = ds; /* en 322 { struct deflect_struc *ds, *ds1; local 372 { struct deflect_struc *ds = table_head; local [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | debug.c | 972 struct ath5k_desc *ds = bf->desc; local 973 struct ath5k_hw_all_rx_desc *rd = &ds->ud.ds_rx; 976 ds, (unsigned long long)bf->daddr, 977 ds->ds_link, ds->ds_data, 986 struct ath5k_desc *ds; local 999 ds = bf->desc; 1000 status = ah->ah_proc_rx_desc(ah, ds, &rs); 1010 struct ath5k_desc *ds = bf->desc; local 1011 struct ath5k_hw_5212_tx_desc *td = &ds [all...] |
/drivers/s390/scsi/ |
H A D | zfcp_fc.h | 195 * @ds: FC directory service 201 struct zfcp_fc_wka_port ds; member in struct:zfcp_fc_wka_ports
|
/drivers/acpi/ |
H A D | dock.c | 97 * @ds: The dock station 103 add_dock_dependent_device(struct dock_station *ds, acpi_handle handle) argument 115 spin_lock(&ds->dd_lock); 116 list_add_tail(&dd->list, &ds->dependent_devices); 117 spin_unlock(&ds->dd_lock); 124 * @ds: The dock station 130 dock_add_hotplug_device(struct dock_station *ds, argument 133 mutex_lock(&ds->hp_lock); 134 list_add_tail(&dd->hotplug_list, &ds->hotplug_devices); 135 mutex_unlock(&ds 146 dock_del_hotplug_device(struct dock_station *ds, struct dock_dependent_device *dd) argument 163 find_dock_dependent_device(struct dock_station *ds, acpi_handle handle) argument 285 dock_present(struct dock_station *ds) argument 364 hotplug_dock_devices(struct dock_station *ds, u32 event) argument 392 dock_event(struct dock_station *ds, u32 event, int num) argument 426 eject_dock(struct dock_station *ds) argument 457 handle_dock(struct dock_station *ds, int dock) argument 484 dock(struct dock_station *ds) argument 489 undock(struct dock_station *ds) argument 494 begin_dock(struct dock_station *ds) argument 499 complete_dock(struct dock_station *ds) argument 505 begin_undock(struct dock_station *ds) argument 510 complete_undock(struct dock_station *ds) argument 515 dock_lock(struct dock_station *ds, int lock) argument 542 dock_in_progress(struct dock_station *ds) argument 651 handle_eject_request(struct dock_station *ds, u32 event) argument 689 struct dock_station *ds = data; local 753 struct dock_station *ds; member in struct:dock_data 810 struct dock_station *ds = context; local 936 struct dock_station ds, *dock_station; local 997 dock_remove(struct dock_station *ds) argument [all...] |
/drivers/net/fddi/skfp/ |
H A D | hwmtm.c | 357 struct s_smt_fp_txd volatile *ds ; local 364 ds = (struct s_smt_fp_txd volatile *) ((char *)smc->os.hwm.descr_p + 368 (void)init_descr_ring(smc,(union s_fp_descr volatile *)ds, 370 phys = le32_to_cpu(ds->txd_ntdadr) ; 371 ds++ ; 372 queue->tx_curr_put = queue->tx_curr_get = ds ; 373 ds-- ; 378 ds = (struct s_smt_fp_txd volatile *) ((char *)ds + 382 (void)init_descr_ring(smc,(union s_fp_descr volatile *)ds, 394 struct s_smt_fp_rxd volatile *ds ; local [all...] |
/drivers/scsi/ |
H A D | qlogicpti.c | 890 struct dataseg *ds; local 902 ds = cmd->dataseg; 910 ds[i].d_base = sg_dma_address(s); 911 ds[i].d_count = sg_dma_len(s); 929 ds = cont->dataseg; 934 ds[i].d_base = sg_dma_address(s); 935 ds[i].d_count = sg_dma_len(s);
|
/drivers/sh/maple/ |
H A D | maple.c | 409 struct maple_device_specify *ds; local 412 ds = portptr; 414 if (mdev->port == ds->port && mdev->unit == ds->unit) 496 struct maple_device_specify ds; local 498 ds.port = mdev->port; 500 ds.unit = k + 1; 502 bus_for_each_dev(&maple_bus_type, NULL, &ds,
|
/drivers/crypto/ |
H A D | mv_cesa.c | 752 int bs, ds, ss; local 764 ds = crypto_shash_digestsize(ctx->base_hash); 788 keylen = ds;
|
/drivers/dma/ |
H A D | txx9dmac.c | 337 struct txx9dmac_slave *ds = dc->chan.private; local 354 if (ds) { 355 if (ds->tx_reg) { 356 sai = ds->reg_width; 360 dai = ds->reg_width; 375 if (ds) { 376 if (ds->tx_reg) { 377 sai = ds->reg_width; 381 dai = ds->reg_width; 409 struct txx9dmac_slave *ds local 840 struct txx9dmac_slave *ds = chan->private; local 1025 struct txx9dmac_slave *ds = chan->private; local [all...] |
/drivers/mtd/nand/ |
H A D | diskonchip.c | 147 uint16_t ds[4], s[5], tmp, errval[8], syn[4]; local 151 ds[0] = ((ecc[4] & 0xff) >> 0) | ((ecc[5] & 0x03) << 8); 152 ds[1] = ((ecc[5] & 0xfc) >> 2) | ((ecc[2] & 0x0f) << 6); 153 ds[2] = ((ecc[2] & 0xf0) >> 4) | ((ecc[3] & 0x3f) << 4); 154 ds[3] = ((ecc[3] & 0xc0) >> 6) | ((ecc[0] & 0xff) << 2); 159 s[i] = ds[0]; 162 * s[i] = ds[3]x^3 + ds[2]x^2 + ds[1]x^1 + ds[ [all...] |