Searched refs:ks (Results 1 - 10 of 10) sorted by relevance

/drivers/net/ethernet/micrel/
H A Dks8851.c154 * @ks: The chip state
160 static void ks8851_wrreg16(struct ks8851_net *ks, unsigned reg, unsigned val) argument
162 struct spi_transfer *xfer = &ks->spi_xfer1;
163 struct spi_message *msg = &ks->spi_msg1;
174 ret = spi_sync(ks->spidev, msg);
176 netdev_err(ks->netdev, "spi_sync() failed\n");
181 * @ks: The chip state
187 static void ks8851_wrreg8(struct ks8851_net *ks, unsigned reg, unsigned val) argument
189 struct spi_transfer *xfer = &ks->spi_xfer1;
190 struct spi_message *msg = &ks
223 ks8851_rx_1msg(struct ks8851_net *ks) argument
238 ks8851_rdreg(struct ks8851_net *ks, unsigned op, u8 *rxb, unsigned rxl) argument
286 ks8851_rdreg8(struct ks8851_net *ks, unsigned reg) argument
301 ks8851_rdreg16(struct ks8851_net *ks, unsigned reg) argument
318 ks8851_rdreg32(struct ks8851_net *ks, unsigned reg) argument
341 ks8851_soft_reset(struct ks8851_net *ks, unsigned op) argument
356 ks8851_set_powermode(struct ks8851_net *ks, unsigned pwrmode) argument
380 struct ks8851_net *ks = netdev_priv(dev); local
408 struct ks8851_net *ks = netdev_priv(dev); local
428 ks8851_init_mac(struct ks8851_net *ks) argument
456 struct ks8851_net *ks = pw; local
472 ks8851_rdfifo(struct ks8851_net *ks, u8 *buff, unsigned len) argument
506 ks8851_dbg_dumpkkt(struct ks8851_net *ks, u8 *rxpkt) argument
523 ks8851_rx_pkts(struct ks8851_net *ks) argument
610 struct ks8851_net *ks = container_of(work, struct ks8851_net, irq_work); local
716 ks8851_wrpkt(struct ks8851_net *ks, struct sk_buff *txp, bool irq) argument
756 ks8851_done_tx(struct ks8851_net *ks, struct sk_buff *txb) argument
775 struct ks8851_net *ks = container_of(work, struct ks8851_net, tx_work); local
807 struct ks8851_net *ks = netdev_priv(dev); local
885 struct ks8851_net *ks = netdev_priv(dev); local
941 struct ks8851_net *ks = netdev_priv(dev); local
979 struct ks8851_net *ks = container_of(work, struct ks8851_net, rxctrl_work); local
991 struct ks8851_net *ks = netdev_priv(dev); local
1059 struct ks8851_net *ks = netdev_priv(dev); local
1090 struct ks8851_net *ks = netdev_priv(dev); local
1096 struct ks8851_net *ks = netdev_priv(dev); local
1102 struct ks8851_net *ks = netdev_priv(dev); local
1108 struct ks8851_net *ks = netdev_priv(dev); local
1114 struct ks8851_net *ks = netdev_priv(dev); local
1120 struct ks8851_net *ks = netdev_priv(dev); local
1128 struct ks8851_net *ks = ee->data; local
1140 struct ks8851_net *ks = ee->data; local
1162 ks8851_eeprom_claim(struct ks8851_net *ks) argument
1180 ks8851_eeprom_release(struct ks8851_net *ks) argument
1193 struct ks8851_net *ks = netdev_priv(dev); local
1234 struct ks8851_net *ks = netdev_priv(dev); local
1255 struct ks8851_net *ks = netdev_priv(dev); local
1321 struct ks8851_net *ks = netdev_priv(dev); local
1339 struct ks8851_net *ks = netdev_priv(dev); local
1356 ks8851_read_selftest(struct ks8851_net *ks) argument
1387 struct ks8851_net *ks = dev_get_drvdata(&spi->dev); local
1400 struct ks8851_net *ks = dev_get_drvdata(&spi->dev); local
1418 struct ks8851_net *ks; local
[all...]
H A Dks8851_mll.c478 * @ks : The chip information
483 static u8 ks_rdreg8(struct ks_net *ks, int offset) argument
488 ks->cmd_reg_cache = (u16) offset | (u16)(BE0 << shift_bit);
489 iowrite16(ks->cmd_reg_cache, ks->hw_addr_cmd);
490 data = ioread16(ks->hw_addr);
496 * @ks : The chip information
502 static u16 ks_rdreg16(struct ks_net *ks, int offset) argument
504 ks->cmd_reg_cache = (u16)offset | ((BE1 | BE0) << (offset & 0x02));
505 iowrite16(ks
516 ks_wrreg8(struct ks_net *ks, int offset, u8 value) argument
533 ks_wrreg16(struct ks_net *ks, int offset, u16 value) argument
547 ks_inblk(struct ks_net *ks, u16 *wptr, u32 len) argument
561 ks_outblk(struct ks_net *ks, u16 *wptr, u32 len) argument
568 ks_disable_int(struct ks_net *ks) argument
573 ks_enable_int(struct ks_net *ks) argument
583 ks_tx_fifo_space(struct ks_net *ks) argument
593 ks_save_cmd_reg(struct ks_net *ks) argument
607 ks_restore_cmd_reg(struct ks_net *ks) argument
620 ks_set_powermode(struct ks_net *ks, unsigned pwrmode) argument
639 ks_read_config(struct ks_net *ks) argument
679 ks_soft_reset(struct ks_net *ks, unsigned op) argument
690 ks_enable_qmu(struct ks_net *ks) argument
712 ks_disable_qmu(struct ks_net *ks) argument
742 ks_read_qmu(struct ks_net *ks, u16 *buf, u32 len) argument
778 ks_rcv(struct ks_net *ks, struct net_device *netdev) argument
823 ks_update_link_status(struct net_device *netdev, struct ks_net *ks) argument
852 struct ks_net *ks = netdev_priv(netdev); local
897 struct ks_net *ks = netdev_priv(netdev); local
939 struct ks_net *ks = netdev_priv(netdev); local
975 ks_write_qmu(struct ks_net *ks, u8 *pdata, u16 len) argument
1008 struct ks_net *ks = netdev_priv(netdev); local
1034 ks_start_rx(struct ks_net *ks) argument
1049 ks_stop_rx(struct ks_net *ks) argument
1083 ks_set_grpaddr(struct ks_net *ks) argument
1113 ks_clear_mcast(struct ks_net *ks) argument
1124 ks_set_promis(struct ks_net *ks, u16 promiscuous_mode) argument
1146 ks_set_mcast(struct ks_net *ks, u16 mcast) argument
1172 struct ks_net *ks = netdev_priv(netdev); local
1211 ks_set_mac(struct ks_net *ks, u8 *data) argument
1238 struct ks_net *ks = netdev_priv(netdev); local
1252 struct ks_net *ks = netdev_priv(netdev); local
1284 struct ks_net *ks = netdev_priv(netdev); local
1290 struct ks_net *ks = netdev_priv(netdev); local
1296 struct ks_net *ks = netdev_priv(netdev); local
1302 struct ks_net *ks = netdev_priv(netdev); local
1308 struct ks_net *ks = netdev_priv(netdev); local
1314 struct ks_net *ks = netdev_priv(netdev); local
1375 struct ks_net *ks = netdev_priv(netdev); local
1393 struct ks_net *ks = netdev_priv(netdev); local
1410 ks_read_selftest(struct ks_net *ks) argument
1437 ks_setup(struct ks_net *ks) argument
1484 ks_setup_int(struct ks_net *ks) argument
1494 ks_hw_init(struct ks_net *ks) argument
1517 struct ks_net *ks; local
1637 struct ks_net *ks = netdev_priv(netdev); local
[all...]
/drivers/net/phy/
H A Dspi_ks8995.c109 static int ks8995_read(struct ks8995_switch *ks, char *buf, argument
132 mutex_lock(&ks->lock);
133 err = spi_sync(ks->spi, &m);
134 mutex_unlock(&ks->lock);
140 static int ks8995_write(struct ks8995_switch *ks, char *buf, argument
163 mutex_lock(&ks->lock);
164 err = spi_sync(ks->spi, &m);
165 mutex_unlock(&ks->lock);
170 static inline int ks8995_read_reg(struct ks8995_switch *ks, u8 addr, u8 *buf) argument
172 return (ks8995_read(ks, bu
175 ks8995_write_reg(struct ks8995_switch *ks, u8 addr, u8 val) argument
184 ks8995_stop(struct ks8995_switch *ks) argument
189 ks8995_start(struct ks8995_switch *ks) argument
194 ks8995_reset(struct ks8995_switch *ks) argument
267 struct ks8995_switch *ks; local
[all...]
/drivers/media/video/
H A Dks0127.c338 struct ks0127 *ks = to_ks0127(sd); local
344 ks->regs[reg] = val;
351 struct ks0127 *ks = to_ks0127(sd); local
353 u8 val = ks->regs[reg];
365 struct ks0127 *ks = to_ks0127(sd); local
369 ks->ident = V4L2_IDENT_KS0127;
391 ks->ident = V4L2_IDENT_KS0122S;
402 ks->ident = V4L2_IDENT_KS0127B;
415 struct ks0127 *ks = to_ks0127(sd); local
491 if (ks
547 struct ks0127 *ks = to_ks0127(sd); local
643 struct ks0127 *ks = to_ks0127(sd); local
672 struct ks0127 *ks; local
[all...]
/drivers/staging/wlags49_h2/
H A Dwl_util.h72 void key_string2key( char *ks, KEY_STRCT *key );
H A Dwl_util.c272 * ks - the valid key string
281 void key_string2key( char *ks, KEY_STRCT *key ) argument
288 l = strlen( ks );
291 if( ks[0] == '0' && ( ks[1] == 'x' || ks[1] == 'X' )) {
296 *p++ = (hex_to_bin(ks[i]) << 4) + hex_to_bin(ks[i+1]);
307 strcpy( (char *)key->key, ks );
/drivers/input/misc/
H A Dgpio_input.c165 struct gpio_key_state *ks = dev_id; local
166 struct gpio_input_state *ds = ks->ds;
167 int keymap_index = ks - ds->key_state;
179 if (ks->debounce & DEBOUNCE_WAIT_IRQ) {
180 ks->debounce = DEBOUNCE_UNKNOWN;
194 ks->debounce = DEBOUNCE_UNSTABLE;
/drivers/media/rc/keymaps/
H A DMakefile14 rc-avermedia-rm-ks.o \
/drivers/s390/cio/
H A Dqdio_thinint.c235 scssc_area->ks = PAGE_DEFAULT_KEY >> 4;
H A Dqdio.h167 u32 ks:4; member in struct:scssc_area

Completed in 270 milliseconds