• Home
  • Raw
  • Download

Lines Matching refs:payload

379 static int fm_send_cmd(struct fmdev *fmdev, u8 fm_op, u16 type,	void *payload,  in fm_send_cmd()  argument
390 if (test_bit(FM_FW_DW_INPROGRESS, &fmdev->flag) && payload == NULL) { in fm_send_cmd()
396 FM_CMD_MSG_HDR_SIZE + ((payload == NULL) ? 0 : payload_len); in fm_send_cmd()
416 hdr->len = ((payload == NULL) ? 0 : payload_len) + 3; in fm_send_cmd()
431 if (payload != NULL) in fm_send_cmd()
432 *(__be16 *)payload = cpu_to_be16(*(u16 *)payload); in fm_send_cmd()
434 } else if (payload != NULL) { in fm_send_cmd()
435 fm_cb(skb)->fm_op = *((u8 *)payload + 2); in fm_send_cmd()
437 if (payload != NULL) in fm_send_cmd()
438 skb_put_data(skb, payload, payload_len); in fm_send_cmd()
448 int fmc_send_cmd(struct fmdev *fmdev, u8 fm_op, u16 type, void *payload, in fmc_send_cmd() argument
457 ret = fm_send_cmd(fmdev, fm_op, type, payload, payload_len, in fmc_send_cmd()
872 u16 payload; in fm_irq_afjump_set_pi() local
875 payload = fmdev->rx.stat_info.picode; in fm_irq_afjump_set_pi()
876 if (!fm_send_cmd(fmdev, RDS_PI_SET, REG_WR, &payload, sizeof(payload), NULL)) in fm_irq_afjump_set_pi()
892 u16 payload; in fm_irq_afjump_set_pimask() local
894 payload = 0x0000; in fm_irq_afjump_set_pimask()
895 if (!fm_send_cmd(fmdev, RDS_PI_MASK_SET, REG_WR, &payload, sizeof(payload), NULL)) in fm_irq_afjump_set_pimask()
907 u16 payload; in fm_irq_afjump_setfreq() local
913 payload = frq_index; in fm_irq_afjump_setfreq()
914 if (!fm_send_cmd(fmdev, AF_FREQ_SET, REG_WR, &payload, sizeof(payload), NULL)) in fm_irq_afjump_setfreq()
925 u16 payload; in fm_irq_afjump_enableint() local
928 payload = FM_FR_EVENT; in fm_irq_afjump_enableint()
929 if (!fm_send_cmd(fmdev, INT_MASK_SET, REG_WR, &payload, sizeof(payload), NULL)) in fm_irq_afjump_enableint()
940 u16 payload; in fm_irq_start_afjump() local
942 payload = FM_TUNER_AF_JUMP_MODE; in fm_irq_start_afjump()
943 if (!fm_send_cmd(fmdev, TUNER_MODE_SET, REG_WR, &payload, in fm_irq_start_afjump()
944 sizeof(payload), NULL)) in fm_irq_start_afjump()
962 u16 payload; in fm_irq_afjump_rd_freq() local
964 if (!fm_send_cmd(fmdev, FREQ_SET, REG_RD, NULL, sizeof(payload), NULL)) in fm_irq_afjump_rd_freq()
1019 u16 payload; in fm_irq_send_intmsk_cmd() local
1022 payload = fmdev->irq_info.mask; in fm_irq_send_intmsk_cmd()
1024 if (!fm_send_cmd(fmdev, INT_MASK_SET, REG_WR, &payload, in fm_irq_send_intmsk_cmd()
1025 sizeof(payload), NULL)) in fm_irq_send_intmsk_cmd()
1207 u16 payload; in fm_power_down() local
1219 payload = 0x0; in fm_power_down()
1220 ret = fmc_send_cmd(fmdev, FM_POWER_MODE, REG_WR, &payload, in fm_power_down()
1221 sizeof(payload), NULL, NULL); in fm_power_down()
1309 u16 payload; in fm_power_up() local
1329 payload = FM_ENABLE; in fm_power_up()
1330 if (fmc_send_cmd(fmdev, FM_POWER_MODE, REG_WR, &payload, in fm_power_up()
1331 sizeof(payload), NULL, NULL)) in fm_power_up()