/drivers/net/slip/ |
D | slip.c | 129 static int sl_alloc_bufs(struct slip *sl, int mtu) in sl_alloc_bufs() 205 static void sl_free_bufs(struct slip *sl) in sl_free_bufs() 220 static int sl_realloc_bufs(struct slip *sl, int mtu) 306 static inline void sl_lock(struct slip *sl) 313 static inline void sl_unlock(struct slip *sl) 319 static void sl_bump(struct slip *sl) 375 static void sl_encaps(struct slip *sl, unsigned char *icp, int len) 423 struct slip *sl = container_of(work, struct slip, tx_work); local 455 struct slip *sl; local 466 struct slip *sl = netdev_priv(dev); local [all …]
|
/drivers/net/wan/ |
D | x25_asy.c | 55 struct x25_asy *sl; in x25_asy_alloc() local 109 static void x25_asy_free(struct x25_asy *sl) in x25_asy_free() 123 struct x25_asy *sl = netdev_priv(dev); in x25_asy_change_mtu() local 173 static inline void x25_asy_lock(struct x25_asy *sl) in x25_asy_lock() 181 static inline void x25_asy_unlock(struct x25_asy *sl) in x25_asy_unlock() 188 static void x25_asy_bump(struct x25_asy *sl) in x25_asy_bump() 215 static void x25_asy_encaps(struct x25_asy *sl, unsigned char *icp, int len) in x25_asy_encaps() 254 struct x25_asy *sl = tty->disc_data; in x25_asy_write_wakeup() local 276 struct x25_asy *sl = netdev_priv(dev); in x25_asy_timeout() local 298 struct x25_asy *sl = netdev_priv(dev); in x25_asy_xmit() local [all …]
|
/drivers/w1/slaves/ |
D | w1_therm.c | 101 #define SLAVE_SPECIFIC_FUNC(sl) \ argument 108 #define SLAVE_POWERMODE(sl) \ argument 115 #define SLAVE_RESOLUTION(sl) \ argument 122 #define SLAVE_CONV_TIME_OVERRIDE(sl) \ argument 129 #define SLAVE_FEATURES(sl) \ argument 138 #define SLAVE_CONVERT_TRIGGERED(sl) \ argument 528 static inline int w1_DS18B20_convert_time(struct w1_slave *sl) in w1_DS18B20_convert_time() 566 static inline int w1_DS18S20_convert_time(struct w1_slave *sl) in w1_DS18S20_convert_time() 577 static inline int w1_DS18B20_write_data(struct w1_slave *sl, in w1_DS18B20_write_data() 583 static inline int w1_DS18S20_write_data(struct w1_slave *sl, in w1_DS18S20_write_data() [all …]
|
D | w1_ds28e17.c | 85 static int w1_f19_i2c_busy_wait(struct w1_slave *sl, size_t count) in w1_f19_i2c_busy_wait() 122 static size_t w1_f19_error(struct w1_slave *sl, u8 w1_buf[]) in w1_f19_error() 149 static int __w1_f19_i2c_write(struct w1_slave *sl, in __w1_f19_i2c_write() 190 static int w1_f19_i2c_write(struct w1_slave *sl, u16 i2c_address, in w1_f19_i2c_write() 262 static int w1_f19_i2c_read(struct w1_slave *sl, u16 i2c_address, in w1_f19_i2c_read() 301 static int w1_f19_i2c_write_read(struct w1_slave *sl, u16 i2c_address, in w1_f19_i2c_write_read() 349 struct w1_slave *sl = (struct w1_slave *) adapter->algo_data; in w1_f19_i2c_master_transfer() local 500 static int w1_f19_get_i2c_speed(struct w1_slave *sl) in w1_f19_get_i2c_speed() 532 static int __w1_f19_set_i2c_speed(struct w1_slave *sl, u8 speed) in __w1_f19_set_i2c_speed() 554 static int w1_f19_set_i2c_speed(struct w1_slave *sl, u8 speed) in w1_f19_set_i2c_speed() [all …]
|
D | w1_ds2438.c | 52 static int w1_ds2438_get_page(struct w1_slave *sl, int pageno, u8 *buf) in w1_ds2438_get_page() 86 static int w1_ds2438_get_temperature(struct w1_slave *sl, int16_t *temperature) in w1_ds2438_get_temperature() 128 static int w1_ds2438_change_config_bit(struct w1_slave *sl, u8 mask, u8 value) in w1_ds2438_change_config_bit() 187 static int w1_ds2438_get_voltage(struct w1_slave *sl, in w1_ds2438_get_voltage() 236 static int w1_ds2438_get_current(struct w1_slave *sl, int16_t *voltage) in w1_ds2438_get_current() 259 struct w1_slave *sl = kobj_to_w1_slave(kobj); in iad_write() local 281 struct w1_slave *sl = kobj_to_w1_slave(kobj); in iad_read() local 302 struct w1_slave *sl = kobj_to_w1_slave(kobj); in page0_read() local 332 struct w1_slave *sl = kobj_to_w1_slave(kobj); in temperature_read() local 353 struct w1_slave *sl = kobj_to_w1_slave(kobj); in vad_read() local [all …]
|
D | w1_ds28e04.c | 71 static int w1_f1C_refresh_block(struct w1_slave *sl, struct w1_f1C_data *data, in w1_f1C_refresh_block() 98 static int w1_f1C_read(struct w1_slave *sl, int addr, int len, char *data) in w1_f1C_read() 118 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_read() local 160 static int w1_f1C_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f1C_write() 227 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write() local 283 struct w1_slave *sl = kobj_to_w1_slave(kobj); in pio_read() local 302 struct w1_slave *sl = kobj_to_w1_slave(kobj); in pio_write() local 379 static int w1_f1C_add_slave(struct w1_slave *sl) in w1_f1C_add_slave() 393 static void w1_f1C_remove_slave(struct w1_slave *sl) in w1_f1C_remove_slave()
|
D | w1_ds2781.c | 26 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2781_do_io() local 51 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2781_io() local 69 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2781_eeprom_cmd() local 110 static int w1_ds2781_add_slave(struct w1_slave *sl) in w1_ds2781_add_slave() 134 static void w1_ds2781_remove_slave(struct w1_slave *sl) in w1_ds2781_remove_slave()
|
D | w1_ds2780.c | 29 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_do_io() local 54 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_io() local 72 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_eeprom_cmd() local 113 static int w1_ds2780_add_slave(struct w1_slave *sl) in w1_ds2780_add_slave() 137 static void w1_ds2780_remove_slave(struct w1_slave *sl) in w1_ds2780_remove_slave()
|
D | w1_ds2405.c | 26 static int w1_ds2405_select(struct w1_slave *sl, bool only_active) in w1_ds2405_select() 60 static int w1_ds2405_read_pio(struct w1_slave *sl) in w1_ds2405_read_pio() 74 struct w1_slave *sl = dev_to_w1_slave(device); in state_show() local 111 struct w1_slave *sl = dev_to_w1_slave(device); in output_show() local 141 struct w1_slave *sl = dev_to_w1_slave(device); in output_store() local
|
D | w1_ds2805.c | 61 static int w1_f0d_readblock(struct w1_slave *sl, int off, int count, char *buf) in w1_f0d_readblock() 98 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f0d_read_bin() local 144 static int w1_f0d_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f0d_write() 206 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f0d_write_bin() local 274 static int w1_f0d_add_slave(struct w1_slave *sl) in w1_f0d_add_slave() 279 static void w1_f0d_remove_slave(struct w1_slave *sl) in w1_f0d_remove_slave()
|
D | w1_ds2433.c | 61 static int w1_f23_refresh_block(struct w1_slave *sl, struct w1_f23_data *data, in w1_f23_refresh_block() 93 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_read() local 152 static int w1_f23_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f23_write() 207 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write() local 269 static int w1_f23_add_slave(struct w1_slave *sl) in w1_f23_add_slave() 283 static void w1_f23_remove_slave(struct w1_slave *sl) in w1_f23_remove_slave()
|
D | w1_ds2408.c | 38 static int _read_reg(struct w1_slave *sl, u8 address, unsigned char* buf) in _read_reg() 140 static bool optional_read_back_valid(struct w1_slave *sl, u8 expected) in optional_read_back_valid() 156 static bool optional_read_back_valid(struct w1_slave *sl, u8 expected) in optional_read_back_valid() 166 struct w1_slave *sl = kobj_to_w1_slave(kobj); in output_write() local 216 struct w1_slave *sl = kobj_to_w1_slave(kobj); in activity_write() local 246 struct w1_slave *sl = kobj_to_w1_slave(kobj); in status_control_write() local 291 static int w1_f29_disable_test_mode(struct w1_slave *sl) in w1_f29_disable_test_mode()
|
D | w1_ds2406.c | 31 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f12_read_state() local 67 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f12_write_output() local 117 static int w1_f12_add_slave(struct w1_slave *sl) in w1_f12_add_slave() 133 static void w1_f12_remove_slave(struct w1_slave *sl) in w1_f12_remove_slave()
|
D | w1_ds2431.c | 64 static int w1_f2d_readblock(struct w1_slave *sl, int off, int count, char *buf) in w1_f2d_readblock() 101 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_read() local 145 static int w1_f2d_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f2d_write() 207 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write() local
|
D | w1_ds250x.c | 46 static int w1_ds2502_read_page(struct w1_slave *sl, int pageno) in w1_ds2502_read_page() 84 static int w1_ds2505_read_page(struct w1_slave *sl, int pageno) in w1_ds2505_read_page() 142 struct w1_slave *sl = priv; in w1_nvmem_read() local 165 static int w1_eprom_add_slave(struct w1_slave *sl) in w1_eprom_add_slave()
|
D | w1_ds2430.c | 65 static int w1_f14_readblock(struct w1_slave *sl, int off, int count, char *buf) in w1_f14_readblock() 101 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_read() local 145 static int w1_f14_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f14_write() 208 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write() local
|
D | w1_ds2413.c | 31 struct w1_slave *sl = kobj_to_w1_slave(kobj); in state_read() local 87 struct w1_slave *sl = kobj_to_w1_slave(kobj); in output_write() local
|
/drivers/net/can/ |
D | slcan.c | 143 static void slc_bump(struct slcan *sl) in slc_bump() 226 static void slcan_unesc(struct slcan *sl, unsigned char s) in slcan_unesc() 252 static void slc_encaps(struct slcan *sl, struct can_frame *cf) in slc_encaps() 313 struct slcan *sl = container_of(work, struct slcan, tx_work); in slcan_transmit() local 345 struct slcan *sl; in slcan_write_wakeup() local 357 struct slcan *sl = netdev_priv(dev); in slc_xmit() local 390 struct slcan *sl = netdev_priv(dev); in slc_close() local 408 struct slcan *sl = netdev_priv(dev); in slc_open() local 472 struct slcan *sl = (struct slcan *) tty->disc_data; in slcan_receive_buf() local 498 struct slcan *sl; in slc_sync() local [all …]
|
/drivers/net/ethernet/ti/ |
D | cpsw_sl.c | 189 u32 cpsw_sl_reg_read(struct cpsw_sl *sl, enum cpsw_sl_regs reg) in cpsw_sl_reg_read() 204 void cpsw_sl_reg_write(struct cpsw_sl *sl, enum cpsw_sl_regs reg, u32 val) in cpsw_sl_reg_write() 235 struct cpsw_sl *sl; in cpsw_sl_get() local 256 void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo) in cpsw_sl_reset() 274 u32 cpsw_sl_ctl_set(struct cpsw_sl *sl, u32 ctl_funcs) in cpsw_sl_ctl_set() 291 u32 cpsw_sl_ctl_clr(struct cpsw_sl *sl, u32 ctl_funcs) in cpsw_sl_ctl_clr() 308 void cpsw_sl_ctl_reset(struct cpsw_sl *sl) in cpsw_sl_ctl_reset() 313 int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo) in cpsw_sl_wait_for_idle()
|
/drivers/w1/ |
D | w1.c | 80 struct w1_slave *sl = dev_to_w1_slave(dev); in w1_slave_release() local 90 struct w1_slave *sl = dev_to_w1_slave(dev); in name_show() local 99 struct w1_slave *sl = dev_to_w1_slave(dev); in id_show() local 120 struct w1_slave *sl = kobj_to_w1_slave(kobj); in rw_write() local 139 struct w1_slave *sl = kobj_to_w1_slave(kobj); in rw_read() local 372 struct w1_slave *sl = NULL; in w1_master_attribute_show_slaves() local 443 struct w1_slave *sl; in w1_slave_search_device() local 463 struct w1_slave *sl; in w1_master_attribute_store_add() local 501 struct w1_slave *sl; in w1_master_attribute_store_remove() local 581 struct w1_slave *sl = NULL; in w1_uevent() local [all …]
|
D | w1_netlink.c | 43 struct w1_slave *sl; member 267 struct w1_slave *sl; in w1_get_slaves() local 316 struct w1_slave *sl; in w1_process_command_addremove() local 387 static int w1_process_command_slave(struct w1_slave *sl, in w1_process_command_slave() 449 struct w1_slave *sl = node->sl; in w1_process_cb() local 538 struct w1_slave *sl; in w1_cn_callback() local
|
/drivers/media/dvb-core/ |
D | dvb_ca_en50221.c | 230 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_check_camstatus() local 328 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_link_init() local 458 struct dvb_ca_slot *sl; in dvb_ca_en50221_parse_attributes() local 603 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_set_configoption() local 640 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_read_data() local 795 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_write_data() local 943 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_camchange_irq() local 971 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_camready_irq() local 991 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_frda_irq() local 1046 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_thread_update_delay() local [all …]
|
/drivers/base/regmap/ |
D | regmap-w1.c | 24 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v8_read() local 46 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v8_write() local 73 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v16_read() local 97 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v16_write() local 125 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a16_v16_read() local 150 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a16_v16_write() local
|
/drivers/power/supply/ |
D | bq27xxx_battery_hdq.c | 28 static int w1_bq27000_read(struct w1_slave *sl, unsigned int reg) in w1_bq27000_read() 43 struct w1_slave *sl = dev_to_w1_slave(di->dev); in bq27xxx_battery_hdq_read() local 75 static int bq27xxx_battery_hdq_add_slave(struct w1_slave *sl) in bq27xxx_battery_hdq_add_slave() 93 static void bq27xxx_battery_hdq_remove_slave(struct w1_slave *sl) in bq27xxx_battery_hdq_remove_slave()
|
/drivers/pci/hotplug/ |
D | ibmphp_core.c | 28 #define attn_on(sl) ibmphp_hpc_writeslot(sl, HPC_SLOT_ATTNON) argument 29 #define attn_off(sl) ibmphp_hpc_writeslot(sl, HPC_SLOT_ATTNOFF) argument 30 #define attn_LED_blink(sl) ibmphp_hpc_writeslot(sl, HPC_SLOT_BLINKLED) argument 31 #define get_ctrl_revision(sl, rev) ibmphp_hpc_readslot(sl, READ_REVLEVEL, rev) argument 32 #define get_hpc_options(sl, opt) ibmphp_hpc_readslot(sl, READ_HPCOPTIONS, opt) argument 61 static inline int get_cur_bus_info(struct slot **sl) in get_cur_bus_info() 91 static inline int slot_update(struct slot **sl) in slot_update()
|