Home
last modified time | relevance | path

Searched defs:sl (Results 1 – 25 of 127) sorted by relevance

123456

/Linux-v5.4/drivers/net/slip/
Dslip.c129 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 = tty->disc_data; local
462 struct slip *sl = netdev_priv(dev); local
[all …]
/Linux-v5.4/drivers/net/wan/
Dx25_asy.c55 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()
218 static void x25_asy_encaps(struct x25_asy *sl, unsigned char *icp, int len) in x25_asy_encaps()
259 struct x25_asy *sl = tty->disc_data; in x25_asy_write_wakeup() local
281 struct x25_asy *sl = netdev_priv(dev); in x25_asy_timeout() local
303 struct x25_asy *sl = netdev_priv(dev); in x25_asy_xmit() local
[all …]
/Linux-v5.4/include/linux/
Dseqlock.h431 static inline unsigned read_seqbegin(const seqlock_t *sl) in read_seqbegin()
436 static inline unsigned read_seqretry(const seqlock_t *sl, unsigned start) in read_seqretry()
446 static inline void write_seqlock(seqlock_t *sl) in write_seqlock()
452 static inline void write_sequnlock(seqlock_t *sl) in write_sequnlock()
458 static inline void write_seqlock_bh(seqlock_t *sl) in write_seqlock_bh()
464 static inline void write_sequnlock_bh(seqlock_t *sl) in write_sequnlock_bh()
470 static inline void write_seqlock_irq(seqlock_t *sl) in write_seqlock_irq()
476 static inline void write_sequnlock_irq(seqlock_t *sl) in write_sequnlock_irq()
482 static inline unsigned long __write_seqlock_irqsave(seqlock_t *sl) in __write_seqlock_irqsave()
495 write_sequnlock_irqrestore(seqlock_t *sl, unsigned long flags) in write_sequnlock_irqrestore()
[all …]
/Linux-v5.4/drivers/net/can/
Dslcan.c143 static void slc_bump(struct slcan *sl) in slc_bump()
228 static void slcan_unesc(struct slcan *sl, unsigned char s) in slcan_unesc()
254 static void slc_encaps(struct slcan *sl, struct can_frame *cf) in slc_encaps()
315 struct slcan *sl = container_of(work, struct slcan, tx_work); in slcan_transmit() local
347 struct slcan *sl = tty->disc_data; in slcan_write_wakeup() local
355 struct slcan *sl = netdev_priv(dev); in slc_xmit() local
388 struct slcan *sl = netdev_priv(dev); in slc_close() local
406 struct slcan *sl = netdev_priv(dev); in slc_open() local
470 struct slcan *sl = (struct slcan *) tty->disc_data; in slcan_receive_buf() local
496 struct slcan *sl; in slc_sync() local
[all …]
/Linux-v5.4/drivers/w1/slaves/
Dw1_ds28e17.c85 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 …]
Dw1_ds2438.c52 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 …]
Dw1_ds28e04.c71 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
393 static int w1_f1C_add_slave(struct w1_slave *sl) in w1_f1C_add_slave()
407 static void w1_f1C_remove_slave(struct w1_slave *sl) in w1_f1C_remove_slave()
Dw1_ds2780.c29 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()
Dw1_ds2781.c26 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()
Dw1_ds2405.c26 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
Dw1_ds2433.c61 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()
Dw1_ds2805.c61 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()
Dw1_ds2406.c31 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()
Dw1_ds2408.c38 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()
Dw1_therm.c59 static int w1_therm_add_slave(struct w1_slave *sl) in w1_therm_add_slave()
69 static void w1_therm_remove_slave(struct w1_slave *sl) in w1_therm_remove_slave()
251 struct w1_slave *sl = dev_to_w1_slave(device); in w1_therm_eeprom() local
330 struct w1_slave *sl = dev_to_w1_slave(device); in w1_DS18B20_precision() local
453 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_store() local
474 struct w1_slave *sl, struct therm_info *info) in read_therm()
570 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_show() local
604 struct w1_slave *sl = dev_get_drvdata(device); in w1_read_temp() local
645 struct w1_slave *sl = dev_to_w1_slave(device); in w1_seq_show() local
Dw1_ds2431.c64 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
Dw1_ds250x.c46 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()
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpsw_sl.c189 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()
/Linux-v5.4/drivers/w1/
Dw1.c80 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 …]
Dw1_netlink.c43 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
/Linux-v5.4/drivers/base/regmap/
Dregmap-w1.c24 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
/Linux-v5.4/drivers/power/supply/
Dbq27xxx_battery_hdq.c35 static int w1_bq27000_read(struct w1_slave *sl, unsigned int reg) in w1_bq27000_read()
50 struct w1_slave *sl = dev_to_w1_slave(di->dev); in bq27xxx_battery_hdq_read() local
82 static int bq27xxx_battery_hdq_add_slave(struct w1_slave *sl) in bq27xxx_battery_hdq_add_slave()
100 static void bq27xxx_battery_hdq_remove_slave(struct w1_slave *sl) in bq27xxx_battery_hdq_remove_slave()
/Linux-v5.4/lib/mpi/
Dlonglong.h114 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
123 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
176 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
185 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
263 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
272 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
300 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
309 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
397 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
406 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
[all …]
/Linux-v5.4/drivers/media/dvb-core/
Ddvb_ca_en50221.c224 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_check_camstatus() local
322 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_link_init() local
452 struct dvb_ca_slot *sl; in dvb_ca_en50221_parse_attributes() local
597 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_set_configoption() local
634 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_read_data() local
787 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_write_data() local
935 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_camchange_irq() local
963 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_camready_irq() local
983 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_frda_irq() local
1038 struct dvb_ca_slot *sl = &ca->slot_info[slot]; in dvb_ca_en50221_thread_update_delay() local
[all …]
/Linux-v5.4/drivers/pci/hotplug/
Dibmphp_core.c28 #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()

123456