/drivers/net/wireless/zd1211rw/ |
D | zd_chip.c | 35 void zd_chip_init(struct zd_chip *chip, in zd_chip_init() 45 void zd_chip_clear(struct zd_chip *chip) in zd_chip_clear() 54 static int scnprint_mac_oui(struct zd_chip *chip, char *buffer, size_t size) in scnprint_mac_oui() 62 static int scnprint_id(struct zd_chip *chip, char *buffer, size_t size) in scnprint_id() 82 static void print_id(struct zd_chip *chip) in print_id() 106 int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr, in zd_ioread32v_locked() 145 static int _zd_iowrite32v_async_locked(struct zd_chip *chip, in _zd_iowrite32v_async_locked() 184 int _zd_iowrite32v_locked(struct zd_chip *chip, const struct zd_ioreq32 *ioreqs, in _zd_iowrite32v_locked() 198 int zd_iowrite16a_locked(struct zd_chip *chip, in zd_iowrite16a_locked() 236 int zd_iowrite32a_locked(struct zd_chip *chip, in zd_iowrite32a_locked() [all …]
|
/drivers/staging/rts5139/ |
D | rts51x.c | 111 static void rts51x_try_to_enter_ss(struct rts51x_chip *chip) in rts51x_try_to_enter_ss() 117 void rts51x_try_to_exit_ss(struct rts51x_chip *chip) in rts51x_try_to_exit_ss() 125 struct rts51x_chip *chip = usb_get_intfdata(iface); in rts51x_suspend() local 153 struct rts51x_chip *chip = usb_get_intfdata(iface); in rts51x_resume() local 181 struct rts51x_chip *chip = usb_get_intfdata(iface); in rts51x_reset_resume() local 204 static void rts51x_try_to_enter_ss(struct rts51x_chip *chip) in rts51x_try_to_enter_ss() 208 void rts51x_try_to_exit_ss(struct rts51x_chip *chip) in rts51x_try_to_exit_ss() 221 struct rts51x_chip *chip = usb_get_intfdata(iface); in rts51x_pre_reset() local 232 struct rts51x_chip *chip = usb_get_intfdata(iface); in rts51x_post_reset() local 248 struct rts51x_chip *chip = (struct rts51x_chip *)__chip; in rts51x_control_thread() local [all …]
|
D | rts51x_chip.c | 57 int rts51x_reset_chip(struct rts51x_chip *chip) in rts51x_reset_chip() 142 int rts51x_init_chip(struct rts51x_chip *chip) in rts51x_init_chip() 213 int rts51x_release_chip(struct rts51x_chip *chip) in rts51x_release_chip() 221 static inline void rts51x_blink_led(struct rts51x_chip *chip) in rts51x_blink_led() 235 static void rts51x_auto_delink_cmd(struct rts51x_chip *chip) in rts51x_auto_delink_cmd() 241 static void rts51x_auto_delink_force_cmd(struct rts51x_chip *chip) in rts51x_auto_delink_force_cmd() 250 static void rts51x_auto_delink_polling_cycle(struct rts51x_chip *chip) in rts51x_auto_delink_polling_cycle() 283 static void rts51x_auto_delink(struct rts51x_chip *chip) in rts51x_auto_delink() 289 static void rts51x_auto_delink(struct rts51x_chip *chip) in rts51x_auto_delink() 294 void rts51x_polling_func(struct rts51x_chip *chip) in rts51x_polling_func() [all …]
|
D | sd.c | 38 static inline void sd_set_reset_fail(struct rts51x_chip *chip, u8 err_code) in sd_set_reset_fail() 45 static inline void sd_clear_reset_fail(struct rts51x_chip *chip) in sd_clear_reset_fail() 52 static inline int sd_check_reset_fail(struct rts51x_chip *chip, u8 err_code) in sd_check_reset_fail() 59 static inline void sd_set_err_code(struct rts51x_chip *chip, u8 err_code) in sd_set_err_code() 66 static inline void sd_clr_err_code(struct rts51x_chip *chip) in sd_clr_err_code() 73 static inline int sd_check_err_code(struct rts51x_chip *chip, u8 err_code) in sd_check_err_code() 80 static int sd_parse_err_code(struct rts51x_chip *chip) in sd_parse_err_code() 85 int sd_check_data0_status(struct rts51x_chip *chip) in sd_check_data0_status() 101 static int sd_send_cmd_get_rsp(struct rts51x_chip *chip, u8 cmd_idx, in sd_send_cmd_get_rsp() 276 static inline void sd_print_debug_reg(struct rts51x_chip *chip) in sd_print_debug_reg() [all …]
|
D | rts51x_card.c | 44 void rts51x_do_remaining_work(struct rts51x_chip *chip) in rts51x_do_remaining_work() 96 static void do_rts51x_reset_xd_card(struct rts51x_chip *chip) in do_rts51x_reset_xd_card() 123 void rts51x_do_rts51x_reset_sd_card(struct rts51x_chip *chip) in rts51x_do_rts51x_reset_sd_card() 150 static void do_rts51x_reset_ms_card(struct rts51x_chip *chip) in do_rts51x_reset_ms_card() 177 static void card_cd_debounce(struct rts51x_chip *chip, u8 *need_reset, in card_cd_debounce() 279 void rts51x_init_cards(struct rts51x_chip *chip) in rts51x_init_cards() 353 void rts51x_release_cards(struct rts51x_chip *chip) in rts51x_release_cards() 379 int rts51x_switch_ssc_clock(struct rts51x_chip *chip, int clk) in rts51x_switch_ssc_clock() 516 int rts51x_switch_normal_clock(struct rts51x_chip *chip, int clk) in rts51x_switch_normal_clock() 656 int rts51x_card_rw(struct scsi_cmnd *srb, struct rts51x_chip *chip, u32 sec_addr, in rts51x_card_rw() [all …]
|
D | rts51x_scsi.c | 336 void rts51x_set_sense_type(struct rts51x_chip *chip, unsigned int lun, int sense_type) in rts51x_set_sense_type() 401 void rts51x_set_sense_data(struct rts51x_chip *chip, unsigned int lun, u8 err_code, in rts51x_set_sense_data() 424 static int test_unit_ready(struct scsi_cmnd *srb, struct rts51x_chip *chip) in test_unit_ready() 453 static int inquiry(struct scsi_cmnd *srb, struct rts51x_chip *chip) in inquiry() 518 static int start_stop_unit(struct scsi_cmnd *srb, struct rts51x_chip *chip) in start_stop_unit() 553 static int allow_medium_removal(struct scsi_cmnd *srb, struct rts51x_chip *chip) in allow_medium_removal() 570 static void ms_mode_sense(struct rts51x_chip *chip, u8 cmd, in ms_mode_sense() 659 static int mode_sense(struct scsi_cmnd *srb, struct rts51x_chip *chip) in mode_sense() 743 static int request_sense(struct scsi_cmnd *srb, struct rts51x_chip *chip) in request_sense() 773 static int read_write(struct scsi_cmnd *srb, struct rts51x_chip *chip) in read_write() [all …]
|
D | ms.c | 40 static inline void ms_set_err_code(struct rts51x_chip *chip, u8 err_code) in ms_set_err_code() 47 static inline int ms_check_err_code(struct rts51x_chip *chip, u8 err_code) in ms_check_err_code() 54 static int ms_parse_err_code(struct rts51x_chip *chip) in ms_parse_err_code() 59 static int ms_transfer_tpc(struct rts51x_chip *chip, u8 trans_mode, u8 tpc, in ms_transfer_tpc() 118 int ms_transfer_data(struct rts51x_chip *chip, u8 trans_mode, u8 tpc, in ms_transfer_data() 197 int ms_write_bytes(struct rts51x_chip *chip, u8 tpc, u8 cnt, u8 cfg, u8 *data, in ms_write_bytes() 269 int ms_read_bytes(struct rts51x_chip *chip, u8 tpc, u8 cnt, u8 cfg, u8 *data, in ms_read_bytes() 345 int ms_set_rw_reg_addr(struct rts51x_chip *chip, in ms_set_rw_reg_addr() 368 static int ms_send_cmd(struct rts51x_chip *chip, u8 cmd, u8 cfg) in ms_send_cmd() 378 static int ms_set_cmd(struct rts51x_chip *chip, in ms_set_cmd() [all …]
|
D | xd.c | 43 static inline void xd_set_err_code(struct rts51x_chip *chip, u8 err_code) in xd_set_err_code() 50 static int xd_set_init_para(struct rts51x_chip *chip) in xd_set_init_para() 67 static int xd_switch_clock(struct rts51x_chip *chip) in xd_switch_clock() 83 static int xd_read_id(struct rts51x_chip *chip, u8 id_cmd, u8 *id_buf, in xd_read_id() 121 static void xd_assign_phy_addr(struct rts51x_chip *chip, u32 addr, u8 mode) in xd_assign_phy_addr() 156 static int xd_read_redundant(struct rts51x_chip *chip, u32 page_addr, u8 *buf, in xd_read_redundant() 200 static int xd_read_data_from_ppb(struct rts51x_chip *chip, int offset, u8 *buf, in xd_read_data_from_ppb() 228 static int xd_read_cis(struct rts51x_chip *chip, u32 page_addr, u8 *buf, in xd_read_cis() 322 static void xd_pull_ctl_disable(struct rts51x_chip *chip) in xd_pull_ctl_disable() 341 static void xd_pull_ctl_enable(struct rts51x_chip *chip) in xd_pull_ctl_enable() [all …]
|
/drivers/ssb/ |
D | driver_gpio.c | 17 static struct ssb_bus *ssb_gpio_get_bus(struct gpio_chip *chip) in ssb_gpio_get_bus() 22 static int ssb_gpio_chipco_get_value(struct gpio_chip *chip, unsigned gpio) in ssb_gpio_chipco_get_value() 29 static void ssb_gpio_chipco_set_value(struct gpio_chip *chip, unsigned gpio, in ssb_gpio_chipco_set_value() 37 static int ssb_gpio_chipco_direction_input(struct gpio_chip *chip, in ssb_gpio_chipco_direction_input() 46 static int ssb_gpio_chipco_direction_output(struct gpio_chip *chip, in ssb_gpio_chipco_direction_output() 56 static int ssb_gpio_chipco_request(struct gpio_chip *chip, unsigned gpio) in ssb_gpio_chipco_request() 69 static void ssb_gpio_chipco_free(struct gpio_chip *chip, unsigned gpio) in ssb_gpio_chipco_free() 77 static int ssb_gpio_chipco_to_irq(struct gpio_chip *chip, unsigned gpio) in ssb_gpio_chipco_to_irq() 89 struct gpio_chip *chip = &bus->gpio; in ssb_gpio_chipco_init() local 114 static int ssb_gpio_extif_get_value(struct gpio_chip *chip, unsigned gpio) in ssb_gpio_extif_get_value() [all …]
|
/drivers/gpio/ |
D | gpio-samsung.c | 43 int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip, in samsung_gpio_setpull_updown() 58 samsung_gpio_pull_t samsung_gpio_getpull_updown(struct samsung_gpio_chip *chip, in samsung_gpio_getpull_updown() 71 int s3c2443_gpio_setpull(struct samsung_gpio_chip *chip, in s3c2443_gpio_setpull() 88 samsung_gpio_pull_t s3c2443_gpio_getpull(struct samsung_gpio_chip *chip, in s3c2443_gpio_getpull() 111 static int s3c24xx_gpio_setpull_1(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1() 129 static samsung_gpio_pull_t s3c24xx_gpio_getpull_1(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1() 140 samsung_gpio_pull_t s3c24xx_gpio_getpull_1up(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1up() 146 int s3c24xx_gpio_setpull_1up(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1up() 152 samsung_gpio_pull_t s3c24xx_gpio_getpull_1down(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1down() 158 int s3c24xx_gpio_setpull_1down(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1down() [all …]
|
D | gpio-sx150x.c | 125 static inline bool offset_is_oscio(struct sx150x_chip *chip, unsigned offset) in offset_is_oscio() 158 static s32 sx150x_write_cfg(struct sx150x_chip *chip, in sx150x_write_cfg() 176 static int sx150x_get_io(struct sx150x_chip *chip, unsigned offset) in sx150x_get_io() 192 static void sx150x_set_oscio(struct sx150x_chip *chip, int val) in sx150x_set_oscio() 199 static void sx150x_set_io(struct sx150x_chip *chip, unsigned offset, int val) in sx150x_set_io() 208 static int sx150x_io_input(struct sx150x_chip *chip, unsigned offset) in sx150x_io_input() 217 static int sx150x_io_output(struct sx150x_chip *chip, unsigned offset, int val) in sx150x_io_output() 237 struct sx150x_chip *chip; in sx150x_gpio_get() local 253 struct sx150x_chip *chip; in sx150x_gpio_set() local 267 struct sx150x_chip *chip; in sx150x_gpio_direction_input() local [all …]
|
D | gpio-max732x.c | 145 static int max732x_writeb(struct max732x_chip *chip, int group_a, uint8_t val) in max732x_writeb() 160 static int max732x_readb(struct max732x_chip *chip, int group_a, uint8_t *val) in max732x_readb() 176 static inline int is_group_a(struct max732x_chip *chip, unsigned off) in is_group_a() 183 struct max732x_chip *chip; in max732x_gpio_get_value() local 198 struct max732x_chip *chip; in max732x_gpio_set_value() local 224 struct max732x_chip *chip; in max732x_gpio_direction_input() local 248 struct max732x_chip *chip; in max732x_gpio_direction_output() local 264 static int max732x_writew(struct max732x_chip *chip, uint16_t val) in max732x_writew() 279 static int max732x_readw(struct max732x_chip *chip, uint16_t *val) in max732x_readw() 293 static void max732x_irq_update_mask(struct max732x_chip *chip) in max732x_irq_update_mask() [all …]
|
D | gpio-pca953x.c | 78 #define NBANK(chip) (chip->gpio_chip.ngpio / BANK_SZ) argument 101 static int pca953x_read_single(struct pca953x_chip *chip, int reg, u32 *val, in pca953x_read_single() 120 static int pca953x_write_single(struct pca953x_chip *chip, int reg, u32 val, in pca953x_write_single() 138 static int pca953x_write_regs(struct pca953x_chip *chip, int reg, u8 *val) in pca953x_write_regs() 175 static int pca953x_read_regs(struct pca953x_chip *chip, int reg, u8 *val) in pca953x_read_regs() 203 struct pca953x_chip *chip; in pca953x_gpio_direction_input() local 234 struct pca953x_chip *chip; in pca953x_gpio_direction_output() local 286 struct pca953x_chip *chip; in pca953x_gpio_get_value() local 316 struct pca953x_chip *chip; in pca953x_gpio_set_value() local 347 static void pca953x_setup_gpio(struct pca953x_chip *chip, int gpios) in pca953x_setup_gpio() [all …]
|
/drivers/leds/ |
D | leds-lp55xx-common.c | 38 static void lp55xx_reset_device(struct lp55xx_chip *chip) in lp55xx_reset_device() 48 static int lp55xx_detect_device(struct lp55xx_chip *chip) in lp55xx_detect_device() 71 static int lp55xx_post_init_device(struct lp55xx_chip *chip) in lp55xx_post_init_device() 95 struct lp55xx_chip *chip = led->chip; in lp55xx_store_current() local 147 struct lp55xx_chip *chip, int chan) in lp55xx_init_led() 207 struct lp55xx_chip *chip = context; in lp55xx_firmware_loaded() local 229 static int lp55xx_request_firmware(struct lp55xx_chip *chip) in lp55xx_request_firmware() 243 struct lp55xx_chip *chip = led->chip; in lp55xx_show_engine_select() local 253 struct lp55xx_chip *chip = led->chip; in lp55xx_store_engine_select() local 284 static inline void lp55xx_run_engine(struct lp55xx_chip *chip, bool start) in lp55xx_run_engine() [all …]
|
/drivers/misc/ |
D | bh1770glc.c | 196 static inline int bh1770_lux_interrupt_control(struct bh1770_chip *chip, in bh1770_lux_interrupt_control() 206 static inline int bh1770_prox_interrupt_control(struct bh1770_chip *chip, in bh1770_prox_interrupt_control() 216 static int bh1770_lux_rate(struct bh1770_chip *chip, int rate_index) in bh1770_lux_rate() 231 static int bh1770_prox_rate(struct bh1770_chip *chip, int mode) in bh1770_prox_rate() 244 static inline int bh1770_led_cfg(struct bh1770_chip *chip) in bh1770_led_cfg() 260 static inline u8 bh1770_psraw_to_adjusted(struct bh1770_chip *chip, u8 psraw) in bh1770_psraw_to_adjusted() 270 static inline u8 bh1770_psadjusted_to_raw(struct bh1770_chip *chip, u8 ps) in bh1770_psadjusted_to_raw() 288 static int bh1770_prox_set_threshold(struct bh1770_chip *chip) in bh1770_prox_set_threshold() 303 static inline u16 bh1770_lux_raw_to_adjusted(struct bh1770_chip *chip, u16 raw) in bh1770_lux_raw_to_adjusted() 310 static inline u16 bh1770_lux_adjusted_to_raw(struct bh1770_chip *chip, in bh1770_lux_adjusted_to_raw() [all …]
|
D | apds990x.c | 201 static int apds990x_read_byte(struct apds990x_chip *chip, u8 reg, u8 *data) in apds990x_read_byte() 214 static int apds990x_read_word(struct apds990x_chip *chip, u8 reg, u16 *data) in apds990x_read_word() 227 static int apds990x_write_byte(struct apds990x_chip *chip, u8 reg, u8 data) in apds990x_write_byte() 239 static int apds990x_write_word(struct apds990x_chip *chip, u8 reg, u16 data) in apds990x_write_word() 251 static int apds990x_mode_on(struct apds990x_chip *chip) in apds990x_mode_on() 263 static u16 apds990x_lux_to_threshold(struct apds990x_chip *chip, u32 lux) in apds990x_lux_to_threshold() 321 static inline int apds990x_set_atime(struct apds990x_chip *chip, u32 time_ms) in apds990x_set_atime() 334 static int apds990x_refresh_pthres(struct apds990x_chip *chip, int data) in apds990x_refresh_pthres() 359 static int apds990x_refresh_athres(struct apds990x_chip *chip) in apds990x_refresh_athres() 375 static void apds990x_force_a_refresh(struct apds990x_chip *chip) in apds990x_force_a_refresh() [all …]
|
/drivers/staging/iio/addac/ |
D | adt7316.c | 224 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_enabled() local 229 static ssize_t _adt7316_store_enabled(struct adt7316_chip_info *chip, in _adt7316_store_enabled() 256 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_enabled() local 280 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_select_ex_temp() local 294 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_select_ex_temp() local 324 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_mode() local 338 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_mode() local 374 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_ad_channel() local 413 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_ad_channel() local 459 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_all_ad_channels() local [all …]
|
/drivers/char/tpm/ |
D | tpm.c | 317 struct tpm_chip *chip = (struct tpm_chip *) ptr; in user_reader_timeout() local 324 struct tpm_chip *chip = container_of(work, struct tpm_chip, work); in timeout_work() local 335 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, in tpm_calc_ordinal_duration() 358 static ssize_t tpm_transmit(struct tpm_chip *chip, const char *buf, in tpm_transmit() 442 static ssize_t transmit_cmd(struct tpm_chip *chip, struct tpm_cmd_t *cmd, in transmit_cmd() 476 struct tpm_chip *chip = dev_get_drvdata(dev); in tpm_getcap() local 499 void tpm_gen_interrupt(struct tpm_chip *chip) in tpm_gen_interrupt() 524 static int tpm_startup(struct tpm_chip *chip, __be16 startup_type) in tpm_startup() 533 int tpm_get_timeouts(struct tpm_chip *chip) in tpm_get_timeouts() 650 static int tpm_continue_selftest(struct tpm_chip *chip) in tpm_continue_selftest() [all …]
|
D | tpm_tis.c | 108 static int wait_startup(struct tpm_chip *chip, int l) in wait_startup() 120 static int check_locality(struct tpm_chip *chip, int l) in check_locality() 130 static void release_locality(struct tpm_chip *chip, int l, int force) in release_locality() 139 static int request_locality(struct tpm_chip *chip, int l) in request_locality() 179 static u8 tpm_tis_status(struct tpm_chip *chip) in tpm_tis_status() 185 static void tpm_tis_ready(struct tpm_chip *chip) in tpm_tis_ready() 192 static int get_burstcount(struct tpm_chip *chip) in get_burstcount() 213 static int recv_data(struct tpm_chip *chip, u8 *buf, size_t count) in recv_data() 231 static int tpm_tis_recv(struct tpm_chip *chip, u8 *buf, size_t count) in tpm_tis_recv() 286 static int tpm_tis_send_data(struct tpm_chip *chip, u8 *buf, size_t len) in tpm_tis_send_data() [all …]
|
/drivers/usb/storage/ |
D | realtek_cr.c | 71 #define rts51x_set_stat(chip, stat) \ argument 73 #define rts51x_get_stat(chip) ((chip)->state) argument 75 #define SET_LUN_READY(chip, lun) ((chip)->lun_ready |= ((u8)1 << (lun))) argument 76 #define CLR_LUN_READY(chip, lun) ((chip)->lun_ready &= ~((u8)1 << (lun))) argument 77 #define TST_LUN_READY(chip, lun) ((chip)->lun_ready & ((u8)1 << (lun))) argument 132 #define SET_AUTO_DELINK(chip) ((chip)->flag |= FLIDX_AUTO_DELINK) argument 133 #define CLR_AUTO_DELINK(chip) ((chip)->flag &= ~FLIDX_AUTO_DELINK) argument 134 #define CHK_AUTO_DELINK(chip) ((chip)->flag & FLIDX_AUTO_DELINK) argument 136 #define RTS51X_GET_VID(chip) ((chip)->vendor_id) argument 137 #define RTS51X_GET_PID(chip) ((chip)->product_id) argument [all …]
|
/drivers/mfd/ |
D | 88pm860x-core.c | 461 struct pm860x_chip *chip = data; in pm860x_irq() local 482 struct pm860x_chip *chip = irq_data_get_irq_chip_data(data); in pm860x_irq_lock() local 489 struct pm860x_chip *chip = irq_data_get_irq_chip_data(data); in pm860x_irq_sync_unlock() local 568 static int device_irq_init(struct pm860x_chip *chip, in device_irq_init() 647 static void device_irq_exit(struct pm860x_chip *chip) in device_irq_exit() 653 int pm8606_osc_enable(struct pm860x_chip *chip, unsigned short client) in pm8606_osc_enable() 694 int pm8606_osc_disable(struct pm860x_chip *chip, unsigned short client) in pm8606_osc_disable() 735 struct pm860x_chip *chip = i2c_get_clientdata(i2c); in device_osc_init() local 748 static void device_bk_init(struct pm860x_chip *chip, in device_bk_init() 768 static void device_led_init(struct pm860x_chip *chip, in device_led_init() [all …]
|
/drivers/bcma/ |
D | driver_gpio.c | 17 static inline struct bcma_drv_cc *bcma_gpio_get_cc(struct gpio_chip *chip) in bcma_gpio_get_cc() 22 static int bcma_gpio_get_value(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_get_value() 29 static void bcma_gpio_set_value(struct gpio_chip *chip, unsigned gpio, in bcma_gpio_set_value() 37 static int bcma_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_direction_input() 45 static int bcma_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in bcma_gpio_direction_output() 55 static int bcma_gpio_request(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_request() 68 static void bcma_gpio_free(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_free() 76 static int bcma_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_to_irq() 88 struct gpio_chip *chip = &cc->gpio; in bcma_gpio_init() local
|
/drivers/mtd/nand/ |
D | nand_base.c | 107 struct nand_chip *chip = mtd->priv; in check_offs_len() local 133 struct nand_chip *chip = mtd->priv; in nand_release_device() local 151 struct nand_chip *chip = mtd->priv; in nand_read_byte() local 165 struct nand_chip *chip = mtd->priv; in nand_read_byte16() local 177 struct nand_chip *chip = mtd->priv; in nand_read_word() local 190 struct nand_chip *chip = mtd->priv; in nand_select_chip() local 215 struct nand_chip *chip = mtd->priv; in nand_write_buf() local 232 struct nand_chip *chip = mtd->priv; in nand_read_buf() local 249 struct nand_chip *chip = mtd->priv; in nand_write_buf16() local 269 struct nand_chip *chip = mtd->priv; in nand_read_buf16() local [all …]
|
/drivers/rtc/ |
D | rtc-v3020.c | 71 static int v3020_mmio_map(struct v3020 *chip, struct platform_device *pdev, in v3020_mmio_map() 88 static void v3020_mmio_unmap(struct v3020 *chip) in v3020_mmio_unmap() 93 static void v3020_mmio_write_bit(struct v3020 *chip, unsigned char bit) in v3020_mmio_write_bit() 98 static unsigned char v3020_mmio_read_bit(struct v3020 *chip) in v3020_mmio_read_bit() 117 static int v3020_gpio_map(struct v3020 *chip, struct platform_device *pdev, in v3020_gpio_map() 146 static void v3020_gpio_unmap(struct v3020 *chip) in v3020_gpio_unmap() 154 static void v3020_gpio_write_bit(struct v3020 *chip, unsigned char bit) in v3020_gpio_write_bit() 164 static unsigned char v3020_gpio_read_bit(struct v3020 *chip) in v3020_gpio_read_bit() 187 static void v3020_set_reg(struct v3020 *chip, unsigned char address, in v3020_set_reg() 210 static unsigned char v3020_get_reg(struct v3020 *chip, unsigned char address) in v3020_get_reg() [all …]
|
/drivers/media/usb/tm6000/ |
D | tm6000-alsa.c | 76 static int _tm6000_start_audio_dma(struct snd_tm6000_card *chip) in _tm6000_start_audio_dma() 93 static int _tm6000_stop_audio_dma(struct snd_tm6000_card *chip) in _tm6000_stop_audio_dma() 107 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in dsp_buffer_free() local 118 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in dsp_buffer_alloc() local 173 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in snd_tm6000_pcm_open() local 198 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in snd_tm6000_close() local 211 struct snd_tm6000_card *chip = core->adev; in tm6000_fillbuf() local 301 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in snd_tm6000_hw_free() local 318 struct snd_tm6000_card *chip = snd_pcm_substream_chip(substream); in snd_tm6000_prepare() local 334 struct snd_tm6000_card *chip = core->adev; in audio_trigger() local [all …]
|