/drivers/firewire/ |
D | core-cdev.c | 58 struct client { struct 59 u32 version; 83 static inline void client_get(struct client *client) in client_get() 90 struct client *client = container_of(kref, struct client, kref); in client_release() local 96 static void client_put(struct client *client) in client_put() 113 struct client *client; member 137 struct client *client; member 180 struct client *client; member 210 struct client *client; member 251 struct client *client; in fw_device_op_open() local [all …]
|
/drivers/misc/ |
D | isl29003.c | 64 struct i2c_client *client; member 78 static int __isl29003_read_reg(struct i2c_client *client, in __isl29003_read_reg() 85 static int __isl29003_write_reg(struct i2c_client *client, in __isl29003_write_reg() 114 static int isl29003_get_range(struct i2c_client *client) in isl29003_get_range() 120 static int isl29003_set_range(struct i2c_client *client, int range) in isl29003_set_range() 127 static int isl29003_get_resolution(struct i2c_client *client) in isl29003_get_resolution() 133 static int isl29003_set_resolution(struct i2c_client *client, int res) in isl29003_set_resolution() 140 static int isl29003_get_mode(struct i2c_client *client) in isl29003_get_mode() 146 static int isl29003_set_mode(struct i2c_client *client, int mode) in isl29003_set_mode() 153 static int isl29003_set_power_state(struct i2c_client *client, int state) in isl29003_set_power_state() [all …]
|
D | ad525x_dpot-i2c.c | 15 static int write_d8(void *client, u8 val) in write_d8() 20 static int write_r8d8(void *client, u8 reg, u8 val) in write_r8d8() 25 static int write_r8d16(void *client, u8 reg, u16 val) in write_r8d16() 30 static int read_d8(void *client) in read_d8() 35 static int read_r8d8(void *client, u8 reg) in read_r8d8() 40 static int read_r8d16(void *client, u8 reg) in read_r8d16() 54 static int ad_dpot_i2c_probe(struct i2c_client *client, in ad_dpot_i2c_probe() 71 static int ad_dpot_i2c_remove(struct i2c_client *client) in ad_dpot_i2c_remove()
|
D | isl29020.c | 39 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_show() local 53 struct i2c_client *client = to_i2c_client(dev); in als_lux_input_data_show() local 89 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_store() local 121 static void als_set_power_state(struct i2c_client *client, int enable) in als_set_power_state() 152 static int als_set_default_config(struct i2c_client *client) in als_set_default_config() 164 static int isl29020_probe(struct i2c_client *client, in isl29020_probe() 184 static int isl29020_remove(struct i2c_client *client) in isl29020_remove() 201 struct i2c_client *client = to_i2c_client(dev); in isl29020_runtime_suspend() local 208 struct i2c_client *client = to_i2c_client(dev); in isl29020_runtime_resume() local
|
D | apds9802als.c | 48 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_show() local 62 struct i2c_client *client = to_i2c_client(dev); in als_wait_for_data_ready() local 82 struct i2c_client *client = to_i2c_client(dev); in als_lux0_input_data_show() local 124 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_store() local 171 static int als_set_power_state(struct i2c_client *client, bool on_off) in als_set_power_state() 205 static int als_set_default_config(struct i2c_client *client) in als_set_default_config() 227 static int apds9802als_probe(struct i2c_client *client, in apds9802als_probe() 257 static int apds9802als_remove(struct i2c_client *client) in apds9802als_remove() 278 struct i2c_client *client = to_i2c_client(dev); in apds9802als_suspend() local 286 struct i2c_client *client = to_i2c_client(dev); in apds9802als_resume() local
|
/drivers/media/i2c/soc_camera/ |
D | mt9t112.c | 58 #define mt9t112_reg_write(ret, client, a, b) \ argument 60 #define mt9t112_mcu_write(ret, client, a, b) \ argument 63 #define mt9t112_reg_mask_set(ret, client, a, b, c) \ argument 65 #define mt9t112_mcu_mask_set(ret, client, a, b, c) \ argument 68 #define mt9t112_reg_read(ret, client, a) \ argument 91 struct i2c_client *client; member 143 static struct mt9t112_priv *to_mt9t112(const struct i2c_client *client) in to_mt9t112() 150 static int __mt9t112_reg_read(const struct i2c_client *client, u16 command) in __mt9t112_reg_read() 181 static int __mt9t112_reg_write(const struct i2c_client *client, in __mt9t112_reg_write() 210 static int __mt9t112_reg_mask_set(const struct i2c_client *client, in __mt9t112_reg_mask_set() [all …]
|
D | mt9t031.c | 86 static struct mt9t031 *to_mt9t031(const struct i2c_client *client) in to_mt9t031() 91 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read() 96 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write() 102 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set() 113 static int reg_clear(struct i2c_client *client, const u8 reg, in reg_clear() 124 static int set_shutter(struct i2c_client *client, const u32 data) in set_shutter() 136 static int get_shutter(struct i2c_client *client, u32 *data) in get_shutter() 150 static int mt9t031_idle(struct i2c_client *client) in mt9t031_idle() 166 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9t031_s_stream() local 201 static int mt9t031_set_params(struct i2c_client *client, in mt9t031_set_params() [all …]
|
D | mt9m001.c | 105 static struct mt9m001 *to_mt9m001(const struct i2c_client *client) in to_mt9m001() 110 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read() 115 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write() 121 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set() 132 static int reg_clear(struct i2c_client *client, const u8 reg, in reg_clear() 143 static int mt9m001_init(struct i2c_client *client) in mt9m001_init() 166 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_s_stream() local 176 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_s_crop() local 230 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_g_crop() local 256 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_g_fmt() local [all …]
|
D | mt9v022.c | 162 static struct mt9v022 *to_mt9v022(const struct i2c_client *client) in to_mt9v022() 167 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read() 172 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write() 178 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set() 189 static int reg_clear(struct i2c_client *client, const u8 reg, in reg_clear() 200 static int mt9v022_init(struct i2c_client *client) in mt9v022_init() 238 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_s_stream() local 275 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_s_crop() local 349 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_g_crop() local 375 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_g_fmt() local [all …]
|
D | ov5642.c | 623 static struct ov5642 *to_ov5642(const struct i2c_client *client) in to_ov5642() 641 static int reg_read(struct i2c_client *client, u16 reg, u8 *val) in reg_read() 663 static int reg_write(struct i2c_client *client, u16 reg, u8 val) in reg_write() 682 static int reg_write16(struct i2c_client *client, u16 reg, u16 val16) in reg_write16() 695 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_get_register() local 713 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_set_register() local 722 static int ov5642_write_array(struct i2c_client *client, in ov5642_write_array() 737 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_set_resolution() local 791 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_try_fmt() local 811 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_s_fmt() local [all …]
|
/drivers/media/i2c/ |
D | msp3400-driver.c | 114 int msp_reset(struct i2c_client *client) in msp_reset() 159 static int msp_read(struct i2c_client *client, int dev, int addr) in msp_read() 200 int msp_read_dem(struct i2c_client *client, int addr) in msp_read_dem() 205 int msp_read_dsp(struct i2c_client *client, int addr) in msp_read_dsp() 210 static int msp_write(struct i2c_client *client, int dev, int addr, int val) in msp_write() 238 int msp_write_dem(struct i2c_client *client, int addr, int val) in msp_write_dem() 243 int msp_write_dsp(struct i2c_client *client, int addr, int val) in msp_write_dsp() 289 void msp_set_scart(struct i2c_client *client, int in, int out) in msp_set_scart() 315 static void msp_wake_thread(struct i2c_client *client) in msp_wake_thread() 351 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in msp_s_ctrl() local [all …]
|
D | msp3400-kthreads.c | 189 static void msp_set_source(struct i2c_client *client, u16 src) in msp_set_source() 207 void msp3400c_set_carrier(struct i2c_client *client, int cdo1, int cdo2) in msp3400c_set_carrier() 216 void msp3400c_set_mode(struct i2c_client *client, int mode) in msp3400c_set_mode() 254 static void msp3400c_set_audmode(struct i2c_client *client) in msp3400c_set_audmode() 386 static void msp3400c_print_mode(struct i2c_client *client) in msp3400c_print_mode() 415 static int msp3400c_detect_stereo(struct i2c_client *client) in msp3400c_detect_stereo() 493 static void watch_stereo(struct i2c_client *client) in watch_stereo() 506 struct i2c_client *client = data; in msp3400c_thread() local 697 struct i2c_client *client = data; in msp3410d_thread() local 865 static int msp34xxg_modus(struct i2c_client *client) in msp34xxg_modus() [all …]
|
D | ak881x.c | 40 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read() 45 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write() 51 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set() 60 static struct ak881x *to_ak881x(const struct i2c_client *client) in to_ak881x() 68 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_g_chip_ident() local 87 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_g_register() local 106 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_register() local 124 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_try_g_mbus_fmt() local 158 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_cropcap() local 175 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_std_output() local [all …]
|
/drivers/media/i2c/cx25840/ |
D | cx25840-core.c | 89 int cx25840_write(struct i2c_client *client, u16 addr, u8 value) in cx25840_write() 98 int cx25840_write4(struct i2c_client *client, u16 addr, u32 value) in cx25840_write4() 110 u8 cx25840_read(struct i2c_client * client, u16 addr) in cx25840_read() 135 u32 cx25840_read4(struct i2c_client * client, u16 addr) in cx25840_read4() 161 int cx25840_and_or(struct i2c_client *client, u16 addr, unsigned and_mask, in cx25840_and_or() 169 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask, in cx25840_and_or4() 187 struct i2c_client *client = v4l2_get_subdevdata(sd); in cx23885_s_io_pin_config() local 336 static void init_dll1(struct i2c_client *client) in init_dll1() 352 static void init_dll2(struct i2c_client *client) in init_dll2() 365 static void cx25836_initialize(struct i2c_client *client) in cx25836_initialize() [all …]
|
D | cx25840-audio.c | 44 static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25840_set_audclk_freq() 294 static inline int cx25836_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25836_set_audclk_freq() 299 static int cx23885_set_audclk_freq(struct i2c_client *client, u32 freq) in cx23885_set_audclk_freq() 341 static int cx231xx_set_audclk_freq(struct i2c_client *client, u32 freq) in cx231xx_set_audclk_freq() 417 static int set_audclk_freq(struct i2c_client *client, u32 freq) in set_audclk_freq() 436 void cx25840_audio_set_path(struct i2c_client *client) in cx25840_audio_set_path() 481 static void set_volume(struct i2c_client *client, int volume) in set_volume() 501 static void set_balance(struct i2c_client *client, int balance) in set_balance() 519 struct i2c_client *client = v4l2_get_subdevdata(sd); in cx25840_s_clock_freq() local 541 struct i2c_client *client = v4l2_get_subdevdata(sd); in cx25840_audio_s_ctrl() local
|
/drivers/media/common/siano/ |
D | smsdvb-main.c | 79 static void sms_board_dvb3_event(struct smsdvb_client_t *client, in sms_board_dvb3_event() 133 struct smsdvb_client_t *client = in smsdvb_stats_not_ready() local 226 static void smsdvb_update_tx_params(struct smsdvb_client_t *client, in smsdvb_update_tx_params() 243 static void smsdvb_update_per_slices(struct smsdvb_client_t *client, in smsdvb_update_per_slices() 282 static void smsdvb_update_dvb_stats(struct smsdvb_client_t *client, in smsdvb_update_dvb_stats() 334 static void smsdvb_update_isdbt_stats(struct smsdvb_client_t *client, in smsdvb_update_isdbt_stats() 430 static void smsdvb_update_isdbt_stats_ex(struct smsdvb_client_t *client, in smsdvb_update_isdbt_stats_ex() 520 struct smsdvb_client_t *client = (struct smsdvb_client_t *) context; in smsdvb_onresponse() local 614 static void smsdvb_unregister_client(struct smsdvb_client_t *client) in smsdvb_unregister_client() 640 struct smsdvb_client_t *client = in smsdvb_start_feed() local [all …]
|
/drivers/media/platform/s5p-tv/ |
D | sii9234_drv.c | 34 struct i2c_client *client; member 45 static inline int sii9234_readb(struct i2c_client *client, int addr) in sii9234_readb() 50 static inline int sii9234_writeb(struct i2c_client *client, int addr, int value) in sii9234_writeb() 55 static inline int sii9234_writeb_mask(struct i2c_client *client, int addr, in sii9234_writeb_mask() 67 static inline int sii9234_readb_idx(struct i2c_client *client, int addr) in sii9234_readb_idx() 79 static inline int sii9234_writeb_idx(struct i2c_client *client, int addr, in sii9234_writeb_idx() 93 static inline int sii9234_writeb_idx_mask(struct i2c_client *client, int addr, in sii9234_writeb_idx_mask() 107 struct i2c_client *client = ctx->client; in sii9234_reset() local 142 static int sii9234_verify_version(struct i2c_client *client) in sii9234_verify_version() 218 struct i2c_client *client = ctx->client; in sii9234_set_internal() local [all …]
|
/drivers/rtc/ |
D | rtc-ds1374.c | 53 struct i2c_client *client; member 67 static int ds1374_read_rtc(struct i2c_client *client, u32 *time, in ds1374_read_rtc() 92 static int ds1374_write_rtc(struct i2c_client *client, u32 time, in ds1374_write_rtc() 111 static int ds1374_check_rtc_status(struct i2c_client *client) in ds1374_check_rtc_status() 146 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_time() local 159 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_time() local 172 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_alarm() local 210 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_alarm() local 270 struct i2c_client *client = dev_id; in ds1374_irq() local 281 struct i2c_client *client = ds1374->client; in ds1374_work() local [all …]
|
D | rtc-pcf8523.c | 42 static int pcf8523_read(struct i2c_client *client, u8 reg, u8 *valuep) in pcf8523_read() 67 static int pcf8523_write(struct i2c_client *client, u8 reg, u8 value) in pcf8523_write() 85 static int pcf8523_select_capacitance(struct i2c_client *client, bool high) in pcf8523_select_capacitance() 106 static int pcf8523_set_pm(struct i2c_client *client, u8 pm) in pcf8523_set_pm() 124 static int pcf8523_stop_rtc(struct i2c_client *client) in pcf8523_stop_rtc() 142 static int pcf8523_start_rtc(struct i2c_client *client) in pcf8523_start_rtc() 162 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_read_time() local 217 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_set_time() local 258 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_ioctl() local 289 static int pcf8523_probe(struct i2c_client *client, in pcf8523_probe() [all …]
|
/drivers/char/tpm/ |
D | tpm_i2c_stm_st33.c | 94 static int write8_reg(struct i2c_client *client, u8 tpm_register, in write8_reg() 115 static int read8_reg(struct i2c_client *client, u8 tpm_register, in read8_reg() 137 #define I2C_WRITE_DATA(client, tpm_register, tpm_data, tpm_size) \ argument 150 #define I2C_READ_DATA(client, tpm_register, tpm_data, tpm_size) \ argument 158 static void clear_interruption(struct i2c_client *client) in clear_interruption() 176 struct i2c_client *client; in _wait_for_interrupt_serirq_timeout() local 196 struct i2c_client *client; in wait_for_serirq_timeout() local 217 struct i2c_client *client; in tpm_stm_i2c_cancel() local 235 struct i2c_client *client; in tpm_stm_i2c_status() local 251 struct i2c_client *client; in check_locality() local [all …]
|
/drivers/power/ |
D | max17040_battery.c | 41 struct i2c_client *client; member 82 static int max17040_write_reg(struct i2c_client *client, int reg, u8 value) in max17040_write_reg() 94 static int max17040_read_reg(struct i2c_client *client, int reg) in max17040_read_reg() 106 static void max17040_reset(struct i2c_client *client) in max17040_reset() 112 static void max17040_get_vcell(struct i2c_client *client) in max17040_get_vcell() 124 static void max17040_get_soc(struct i2c_client *client) in max17040_get_soc() 136 static void max17040_get_version(struct i2c_client *client) in max17040_get_version() 147 static void max17040_get_online(struct i2c_client *client) in max17040_get_online() 157 static void max17040_get_status(struct i2c_client *client) in max17040_get_status() 200 static int max17040_probe(struct i2c_client *client, in max17040_probe() [all …]
|
/drivers/input/misc/ |
D | adxl34x-i2c.c | 19 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_read() local 27 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_write() local 36 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_read_block() local 45 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_read_block() local 76 static int adxl34x_i2c_probe(struct i2c_client *client, in adxl34x_i2c_probe() 101 static int adxl34x_i2c_remove(struct i2c_client *client) in adxl34x_i2c_remove() 111 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_suspend() local 121 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_resume() local
|
/drivers/gpu/vga/ |
D | vga_switcheroo.c | 83 struct vga_switcheroo_client *client; in vga_switcheroo_enable() local 137 struct vga_switcheroo_client *client; in register_client() local 181 struct vga_switcheroo_client *client; in find_client_from_pci() local 191 struct vga_switcheroo_client *client; in find_client_from_id() local 201 struct vga_switcheroo_client *client; in find_active_client() local 210 struct vga_switcheroo_client *client; in vga_switcheroo_get_client_state() local 223 struct vga_switcheroo_client *client; in vga_switcheroo_unregister_client() local 245 struct vga_switcheroo_client *client; in vga_switcheroo_client_fb_set() local 257 struct vga_switcheroo_client *client; in vga_switcheroo_show() local 278 static int vga_switchon(struct vga_switcheroo_client *client) in vga_switchon() [all …]
|
/drivers/hwmon/ |
D | lm95234.c | 75 static int lm95234_read_temp(struct i2c_client *client, int index, int *t) in lm95234_read_temp() 117 static int lm95234_fill_cache(struct i2c_client *client) in lm95234_fill_cache() 160 static int lm95234_update_device(struct i2c_client *client, in lm95234_update_device() 212 struct i2c_client *client = to_i2c_client(dev); in show_temp() local 227 struct i2c_client *client = to_i2c_client(dev); in show_alarm() local 241 struct i2c_client *client = to_i2c_client(dev); in show_type() local 255 struct i2c_client *client = to_i2c_client(dev); in set_type() local 287 struct i2c_client *client = to_i2c_client(dev); in show_tcrit2() local 301 struct i2c_client *client = to_i2c_client(dev); in set_tcrit2() local 327 struct i2c_client *client = to_i2c_client(dev); in show_tcrit2_hyst() local [all …]
|
/drivers/i2c/ |
D | i2c-core.c | 62 const struct i2c_client *client) in i2c_match_id() 74 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_match() local 100 struct i2c_client *client = to_i2c_client(dev); in i2c_device_uevent() local 235 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_probe() local 261 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_remove() local 285 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_shutdown() local 298 struct i2c_client *client = i2c_verify_client(dev); in i2c_legacy_suspend() local 311 struct i2c_client *client = i2c_verify_client(dev); in i2c_legacy_resume() local 405 struct i2c_client *client = to_i2c_client(dev); in show_modalias() local 479 static int i2c_check_client_addr_validity(const struct i2c_client *client) in i2c_check_client_addr_validity() [all …]
|