Home
last modified time | relevance | path

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

123456

/linux-6.6.21/drivers/net/slip/
Dslip.c130 static int sl_alloc_bufs(struct slip *sl, int mtu) in sl_alloc_bufs()
206 static void sl_free_bufs(struct slip *sl) in sl_free_bufs()
221 static int sl_realloc_bufs(struct slip *sl, int mtu)
307 static inline void sl_lock(struct slip *sl)
314 static inline void sl_unlock(struct slip *sl)
320 static void sl_bump(struct slip *sl)
376 static void sl_encaps(struct slip *sl, unsigned char *icp, int len)
424 struct slip *sl = container_of(work, struct slip, tx_work); local
456 struct slip *sl; local
467 struct slip *sl = netdev_priv(dev); local
[all …]
/linux-6.6.21/drivers/w1/slaves/
Dw1_therm.c101 #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_DS1825_convert_time(struct w1_slave *sl) in w1_DS1825_convert_time()
612 static inline int w1_DS18B20_write_data(struct w1_slave *sl, in w1_DS18B20_write_data()
[all …]
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.c61 static int w1_ds2438_get_page(struct w1_slave *sl, int pageno, u8 *buf) in w1_ds2438_get_page()
93 static int w1_ds2438_get_temperature(struct w1_slave *sl, int16_t *temperature) in w1_ds2438_get_temperature()
135 static int w1_ds2438_change_config_bit(struct w1_slave *sl, u8 mask, u8 value) in w1_ds2438_change_config_bit()
194 static int w1_ds2438_change_offset_register(struct w1_slave *sl, u8 *value) in w1_ds2438_change_offset_register()
222 static int w1_ds2438_get_voltage(struct w1_slave *sl, in w1_ds2438_get_voltage()
271 static int w1_ds2438_get_current(struct w1_slave *sl, int16_t *voltage) in w1_ds2438_get_current()
294 struct w1_slave *sl = kobj_to_w1_slave(kobj); in iad_write() local
316 struct w1_slave *sl = kobj_to_w1_slave(kobj); in iad_read() local
337 struct w1_slave *sl = kobj_to_w1_slave(kobj); in page0_read() local
367 struct w1_slave *sl = kobj_to_w1_slave(kobj); in page1_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
161 static int w1_f1C_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f1C_write()
230 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write() local
286 struct w1_slave *sl = kobj_to_w1_slave(kobj); in pio_read() local
305 struct w1_slave *sl = kobj_to_w1_slave(kobj); in pio_write() local
382 static int w1_f1C_add_slave(struct w1_slave *sl) in w1_f1C_add_slave()
396 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
114 static int w1_ds2780_add_slave(struct w1_slave *sl) in w1_ds2780_add_slave()
138 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
111 static int w1_ds2781_add_slave(struct w1_slave *sl) in w1_ds2781_add_slave()
135 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_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_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
154 static int w1_f23_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f23_write()
209 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write() local
272 static int w1_f23_add_slave(struct w1_slave *sl) in w1_f23_add_slave()
286 static void w1_f23_remove_slave(struct w1_slave *sl) in w1_f23_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_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_ds2430.c65 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
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()
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
/linux-6.6.21/drivers/net/can/slcan/
Dslcan-core.c112 struct slcan *sl = netdev_priv(ndev); in slcan_err_rst_on_open() local
119 struct slcan *sl = netdev_priv(ndev); in slcan_enable_err_rst_on_open() local
171 static void slcan_bump_frame(struct slcan *sl) in slcan_bump_frame()
258 static void slcan_bump_state(struct slcan *sl) in slcan_bump_state()
322 static void slcan_bump_err(struct slcan *sl) in slcan_bump_err()
435 static void slcan_bump(struct slcan *sl) in slcan_bump()
456 static void slcan_unesc(struct slcan *sl, unsigned char s) in slcan_unesc()
482 static void slcan_encaps(struct slcan *sl, struct can_frame *cf) in slcan_encaps()
545 struct slcan *sl = container_of(work, struct slcan, tx_work); in slcan_transmit() local
586 struct slcan *sl = tty->disc_data; in slcan_write_wakeup() local
[all …]
/linux-6.6.21/include/linux/
Dseqlock.h816 #define seqlock_init(sl) \ argument
826 #define DEFINE_SEQLOCK(sl) \ argument
835 static inline unsigned read_seqbegin(const seqlock_t *sl) in read_seqbegin()
855 static inline unsigned read_seqretry(const seqlock_t *sl, unsigned start) in read_seqretry()
885 static inline void write_seqlock(seqlock_t *sl) in write_seqlock()
898 static inline void write_sequnlock(seqlock_t *sl) in write_sequnlock()
911 static inline void write_seqlock_bh(seqlock_t *sl) in write_seqlock_bh()
925 static inline void write_sequnlock_bh(seqlock_t *sl) in write_sequnlock_bh()
938 static inline void write_seqlock_irq(seqlock_t *sl) in write_seqlock_irq()
951 static inline void write_sequnlock_irq(seqlock_t *sl) in write_sequnlock_irq()
[all …]
/linux-6.6.21/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-6.6.21/drivers/w1/
Dw1.c77 struct w1_slave *sl = dev_to_w1_slave(dev); in w1_slave_release() local
87 struct w1_slave *sl = dev_to_w1_slave(dev); in name_show() local
96 struct w1_slave *sl = dev_to_w1_slave(dev); in id_show() local
117 struct w1_slave *sl = kobj_to_w1_slave(kobj); in rw_write() local
136 struct w1_slave *sl = kobj_to_w1_slave(kobj); in rw_read() local
364 struct w1_slave *sl = NULL; in w1_master_attribute_show_slaves() local
435 struct w1_slave *sl; in w1_slave_search_device() local
455 struct w1_slave *sl; in w1_master_attribute_store_add() local
493 struct w1_slave *sl; in w1_master_attribute_store_remove() local
573 const struct w1_slave *sl = NULL; in w1_uevent() local
[all …]
/linux-6.6.21/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-6.6.21/lib/crypto/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-6.6.21/tools/testing/selftests/bpf/progs/
Dcb_refs.c30 unsigned long sl = 0; in underflow_prog() local
42 unsigned long sl = 0; in cb2() local
74 unsigned long sl = 0; in cb3() local
89 unsigned long sl = 0; in nested_cb() local
104 unsigned long sl = 0; in non_cb_transfer_ref() local
/linux-6.6.21/drivers/media/dvb-core/
Ddvb_ca_en50221.c230 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 …]
/linux-6.6.21/drivers/power/supply/
Dbq27xxx_battery_hdq.c28 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()
/linux-6.6.21/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
53 static inline int get_cur_bus_info(struct slot **sl) in get_cur_bus_info()
83 static inline int slot_update(struct slot **sl) in slot_update()

123456